public interface CGroupingBehavior
CGroupingBehavior
allows clients to define how Dockable
s organize themselves
in groups. A CGroupingBehavior
is able to rewrite the location of Dockable
s,
hence every time the user changes the ExtendedMode
of a Dockable
the
grouping behavior can put the Dockable
at a new location.CGroupingBehavior
and CGroupBehavior
: this class
is all about bringing groups together, while CGroupBehavior
defines how groups of
Dockable
s move around together.Modifier and Type | Method and Description |
---|---|
DockableGrouping |
getGrouping(Dockable dockable)
Gets the grouping algorithm that should be used for
dockable . |
DockableGrouping getGrouping(Dockable dockable)
dockable
. This method
may be called multiple times for the same dockable
. It should either always
return the same DockableGrouping
, or it should return an object that does not
contains any state.dockable
- the element whose grouping information is requestednull
if there is no special behavior
defined for dockable