public interface CGroupBehaviorCallback
CGroupBehavior
.Modifier and Type | Method and Description |
---|---|
Location |
getLocation(Dockable dockable)
Gets the current location of
dockable . |
LocationModeManager<? extends LocationMode> |
getManager()
Gets the
LocationModeManager which is handling this callback. |
void |
setLocation(Dockable dockable,
Location location)
Sets the location of
dockable .Note: LocationMode s may decide that more than one Dockable must be moved
in order to accomplish the goal, any cached location information about Dockable s should be
considered invalid once this method has been executed. |
void |
setMode(Dockable dockable,
ExtendedMode mode)
Sets the
ExtendedMode of dockable using all available
history information.Note: LocationMode s may decide that more than one Dockable must be moved
in order to accomplish the goal, any cached location information about Dockable s should be
considered invalid once this method has been executed. |
LocationModeManager<? extends LocationMode> getManager()
LocationModeManager
which is handling this callback.null
void setMode(Dockable dockable, ExtendedMode mode)
ExtendedMode
of dockable
using all available
history information.LocationMode
s may decide that more than one Dockable
must be moved
in order to accomplish the goal, any cached location information about Dockable
s should be
considered invalid once this method has been executed.dockable
- the element whose mode is going to changemode
- the new modeLocation getLocation(Dockable dockable)
dockable
.dockable
- some item whose location is requestednull
void setLocation(Dockable dockable, Location location)
dockable
.LocationMode
s may decide that more than one Dockable
must be moved
in order to accomplish the goal, any cached location information about Dockable
s should be
considered invalid once this method has been executed.dockable
- the element whose location is going to be setlocation
- the new location