|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.topcat.plot2.FloatManager
public abstract class FloatManager
Manages components which may either be contained in the same window, or one of which may be floated out into a separate dialogue.
Constructor Summary | |
---|---|
protected |
FloatManager(JComponent container,
JComponent fixedPanel,
JComponent floatablePanel)
Constructor. |
Method Summary | |
---|---|
protected void |
configureContainer(boolean floating)
Configures the container panel for floating or non-floating status. |
static FloatManager |
createFloatManager(JComponent container,
JComponent fixedPanel,
JComponent floatablePanel)
Returns an instance of this class. |
protected JComponent |
getFloatablePanel()
Returns the floatable panel. |
abstract ToggleButtonModel |
getFloatToggle()
Returns a toggle button model which can be used to control float status. |
abstract void |
init()
Called to initialise this manager when the components are populated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected FloatManager(JComponent container, JComponent fixedPanel, JComponent floatablePanel)
container
- containing panel which contains one or both of
the othersfixedPanel
- component which is always inside containerfloatablePanel
- component which may be inside container
or may be floated out of itMethod Detail |
---|
public abstract ToggleButtonModel getFloatToggle()
public abstract void init()
protected JComponent getFloatablePanel()
protected void configureContainer(boolean floating)
floating
- true for floating, false for notpublic static FloatManager createFloatManager(JComponent container, JComponent fixedPanel, JComponent floatablePanel)
container
- containing panel which contains one or both of
the othersfixedPanel
- component which is always inside containerfloatablePanel
- component which may be inside container
or may be floated out of it
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |