Package | Description |
---|---|
bibliothek.gui.dock.common.group |
Contains the
CGroupBehavior and its implementations,
this interface allows to group Dockable s together. |
bibliothek.gui.dock.common.mode | |
bibliothek.gui.dock.common.mode.station |
Contains wrapper classes for various
DockStation s, implementing the interface
CLocationMode . |
bibliothek.gui.dock.facile.mode |
Contains an implementation of
ModeManager that links a mode to the location
of a Dockable . |
bibliothek.gui.dock.facile.mode.action | |
bibliothek.gui.dock.facile.mode.station |
Wrappers for
DockStation s, implementing StationModeArea . |
Modifier and Type | Method and Description |
---|---|
LocationModeManager<? extends LocationMode> |
CGroupBehaviorCallback.getManager()
Gets the
LocationModeManager which is handling this callback. |
Modifier and Type | Method and Description |
---|---|
Dockable |
CGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode mode)
Gets the element whose location or mode must be changed in order to apply
mode to dockable . |
Dockable |
StackGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode mode) |
Dockable |
TopMostGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode mode) |
Dockable |
CGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager,
Dockable old,
Dockable dockable,
ExtendedMode mode)
Gets the element which would replace
old if old is currently
in mode , and dockable is or will not be in mode . |
Dockable |
StackGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager,
Dockable old,
Dockable dockable,
ExtendedMode mode) |
Dockable |
TopMostGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager,
Dockable old,
Dockable dockable,
ExtendedMode mode) |
CGroupMovement |
CGroupBehavior.prepare(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode target)
Calculates how the mode of
dockable has to be changed such that it matches target . |
CGroupMovement |
StackGroupBehavior.prepare(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode target) |
CGroupMovement |
TopMostGroupBehavior.prepare(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode target) |
boolean |
CGroupBehavior.shouldForwardActions(LocationModeManager<? extends LocationMode> manager,
DockStation station,
Dockable dockable,
ExtendedMode mode)
Tells whether the actions of
dockable for mode mode should be
shown on station too. |
boolean |
StackGroupBehavior.shouldForwardActions(LocationModeManager<? extends LocationMode> manager,
DockStation station,
Dockable dockable,
ExtendedMode mode) |
boolean |
TopMostGroupBehavior.shouldForwardActions(LocationModeManager<? extends LocationMode> manager,
DockStation station,
Dockable dockable,
ExtendedMode mode) |
Modifier and Type | Interface and Description |
---|---|
interface |
CLocationMode
LocationMode offering methods to work with CLocation . |
Modifier and Type | Class and Description |
---|---|
class |
CExternalizedMode
Manages areas on which externalized dockables are shown.
|
class |
CMaximizedMode
Manages
CMaximizedModeArea s. |
class |
CMinimizedMode
Manages areas that show only a title of a minimized dockable.
|
class |
CNormalMode
A mode managing
CNormalModeArea s. |
Modifier and Type | Method and Description |
---|---|
protected LocationMode |
CSplitDockStationHandle.getNormalMode()
Gets the mode which should be used to unmaximize children.
|
protected LocationMode |
ExternalizedCSplitDockStationHandler.getNormalMode() |
LocationMode |
CScreenDockStationHandle.Maximal.getUnmaximizedMode() |
LocationMode |
CSplitDockStationHandle.Maximal.getUnmaximizedMode() |
Modifier and Type | Method and Description |
---|---|
void |
CScreenDockStationHandle.External.setMode(LocationMode mode) |
void |
CScreenDockStationHandle.Maximal.setMode(LocationMode mode) |
void |
CSplitDockStationHandle.Normal.setMode(LocationMode mode) |
void |
CSplitDockStationHandle.Maximal.setMode(LocationMode mode) |
void |
ExternalizedCSplitDockStationHandler.Externalized.setMode(LocationMode mode) |
Modifier and Type | Class and Description |
---|---|
class |
LocationModeManager<M extends LocationMode>
ModeManager for the location of a Dockable . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLocationMode<A extends ModeArea>
This abstract class offers various properties that may be useful for any implementation
of
LocationMode . |
class |
DefaultLocationMode<A extends StationModeArea>
|
class |
ExternalizedMode<M extends ExternalizedModeArea>
Represents a mode in which dockables are freely floating on the screen.
|
class |
MaximizedMode<M extends MaximizedModeArea>
Dockable s are maximized if they take up the whole space a frame
or a screen offers. |
class |
MinimizedMode<M extends MinimizedModeArea>
Only the title of a minimized
Dockable is visible. |
class |
NormalMode<M extends NormalModeArea>
|
Modifier and Type | Method and Description |
---|---|
LocationMode |
LocationModeEvent.getMode()
Gets the source of the event, the mode whose
apply method was called. |
LocationMode |
MaximizedModeArea.getUnmaximizedMode()
Tells which mode would be the preferred mode for unmaximization.
|
LocationMode |
MaximizedMode.getUnmaximizedMode(Dockable dockable)
Assuming
dockable is a maximized element, tells which
mode would be the preferred mode for unmaximization. |
Modifier and Type | Method and Description |
---|---|
void |
ModeArea.setMode(LocationMode mode)
Informs this area about the mode that uses it.
|
Constructor and Description |
---|
LocationModeEvent(LocationMode mode,
Location location,
Dockable dockable,
AffectedSet affected)
Creates a new event.
|
Constructor and Description |
---|
LocationModeAction(DockController controller,
LocationMode mode,
java.lang.String iconKey,
java.lang.String textKey,
java.lang.String tooltipKey,
PropertyKey<javax.swing.KeyStroke> gotoStroke)
Creates a new action.
|
Modifier and Type | Method and Description |
---|---|
void |
FlapDockStationHandle.setMode(LocationMode mode) |