harmonic.mz.gui
Class EmbededPanel
java.lang.Object
|
+--HWPanel
|
+--harmonic.mz.gui.EmbededPanel
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.MouseListener
- public class EmbededPanel
- extends HWPanel
- implements java.awt.event.MouseListener
This is a syalized frame that is put around a window dropped in the
docking side panels. It has a special look and the ability to be
floated or closed in response to the mouse.
- See Also:
- Serialized Form
|
Constructor Summary |
EmbededPanel(int type,
java.awt.Component wnd)
Constructs a EmbededPanel |
|
Method Summary |
void |
close()
Hides the frame and reformats its parent |
void |
floot()
Hides the frame and refomrats its parents, and floats contents
in a regular windowing system frame. |
java.awt.Dimension |
getPreferredSize()
|
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseDragged(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mouseMoved(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
paint(java.awt.Graphics g)
|
void |
setBounds(int x,
int y,
int w,
int h)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERTICAL
public static final int VERTICAL
- See Also:
- Constant Field Values
HORIZONTAL
public static final int HORIZONTAL
- See Also:
- Constant Field Values
EmbededPanel
public EmbededPanel(int type,
java.awt.Component wnd)
- Constructs a EmbededPanel
- Parameters:
type - VERTICAL or HORIZONTAL. Only HORIZONTAL will have a titlewnd - Window that goes in frame
setBounds
public void setBounds(int x,
int y,
int w,
int h)
getPreferredSize
public java.awt.Dimension getPreferredSize()
close
public void close()
- Hides the frame and reformats its parent
floot
public void floot()
- Hides the frame and refomrats its parents, and floats contents
in a regular windowing system frame.
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked in interface java.awt.event.MouseListener
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered in interface java.awt.event.MouseListener
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited in interface java.awt.event.MouseListener
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased in interface java.awt.event.MouseListener
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed in interface java.awt.event.MouseListener
paint
public void paint(java.awt.Graphics g)