Package org.flexdock.docking.state
Interface FloatManager
- All Known Implementing Classes:
FloatManager.Stub
,Layout
public interface FloatManager
This interface defines the API used for floating and grouping
Sending a
Dockables
. Classes
implementing this interface will be responsible for sending Dockables
into
DockingFrames
and managing the grouping of floating Dockables
.
Sending a
Dockable
into a floating DockingFrame
is relatively straightforward
when supplied the Dockable
and a dialog owner. However, state must be maintained
for each FloatingGroup
to allow the system to track which Dockables
share the same floating dialog. If a floating Dockable
is closed and subsequently
restored to its previous floating state, the FloatManager
must be able to determine
whether an existing dialog is already present or a new dialog must be created into which the
Dockable
may be restored. FloatingGroups
are used to track which
dialogs contain which Dockables
. FloatManager
implementations must
manage the addition to and removal of Dockables
from appropriate FloatingGroups
and, in turn, use these FloatingGroups
to resolve or create the necessary
DockingFrames
during float-operations.- Author:
- Christopher Butler
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToGroup
(Dockable dockable, String groupId) floatDockable
(Dockable dockable, Component frameOwner) floatDockable
(Dockable dockable, Component frameOwner, Rectangle screenBounds) void
removeFromGroup
(Dockable dockable)
-
Field Details
-
DEFAULT_STUB
-
-
Method Details
-
getGroup
-
getGroup
-
addToGroup
-
removeFromGroup
-
floatDockable
-
floatDockable
-