|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.gui.dockableView.DockableWindow
net.sourceforge.atunes.gui.dockableView.DockableFrame
public class DockableFrame
The Class DockableFrame.
Field Summary |
---|
Fields inherited from class net.sourceforge.atunes.gui.dockableView.DockableWindow |
---|
container, DOCKABLE_BOUNDS, eastPanel, frame, height, hidden, listener, location, menu, nePanel, northPanel, nwPanel, panel, pressed, RESIZABLE_BORDER, sePanel, southPanel, swPanel, title, titlePanel, topBar, westPanel |
Constructor Summary | |
---|---|
DockableFrame(int width,
int heigth,
java.awt.Dimension minSize,
DockFramePositionListener listener,
CloseListener closeListener)
Instantiates a new dockable frame. |
Method Summary | |
---|---|
protected void |
addNorthResizableBorder()
Adds the north resizable border. |
int |
getExtendedState()
Gets the extended state. |
javax.swing.JFrame |
getFrame()
Gets the frame. |
void |
setDefaultCloseOperation(int op)
Sets the default close operation. |
void |
setExtendedState(int state)
Sets the extended state. |
void |
setIcon(java.awt.Image i)
Sets an icon to window. |
void |
setLocationRelativeTo(java.awt.Component c)
Sets the location relative to. |
void |
setSize(java.awt.Dimension d)
Sets the size. |
void |
setTitle(java.lang.String s)
Sets the title. |
Methods inherited from class net.sourceforge.atunes.gui.dockableView.DockableWindow |
---|
addContent, addResizableBorders, getBounds, getInsideBounds, getLocation, getOutsideBounds, isHidden, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, setBackground, setHidden, setLocation, setMenu, setTitleBarBackground, setVisible, show |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DockableFrame(int width, int heigth, java.awt.Dimension minSize, DockFramePositionListener listener, CloseListener closeListener)
width
- the widthheigth
- the heigthminSize
- the min sizelistener
- the listenercloseListener
- the close listenerMethod Detail |
---|
protected void addNorthResizableBorder()
DockableWindow
addNorthResizableBorder
in class DockableWindow
public int getExtendedState()
public javax.swing.JFrame getFrame()
public void setDefaultCloseOperation(int op)
DockableWindow
setDefaultCloseOperation
in class DockableWindow
op
- the new default close operationpublic void setExtendedState(int state)
state
- the new extended statepublic void setIcon(java.awt.Image i)
DockableWindow
setIcon
in class DockableWindow
i
- the ipublic void setLocationRelativeTo(java.awt.Component c)
DockableWindow
setLocationRelativeTo
in class DockableWindow
c
- the new location relative topublic void setSize(java.awt.Dimension d)
d
- the new sizepublic void setTitle(java.lang.String s)
DockableWindow
setTitle
in class DockableWindow
s
- the new title
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |