public abstract class FloatManager extends Object
Modifier | Constructor and Description |
---|---|
protected |
FloatManager(JComponent container,
JComponent fixedPanel,
JComponent floatablePanel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 itpublic 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 itCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.