public class DefaultCGroupingBehavior extends java.lang.Object implements CGroupingBehavior
CGroupingBehavior
, just returns CDockable.getGrouping()
.Constructor and Description |
---|
DefaultCGroupingBehavior() |
Modifier and Type | Method and Description |
---|---|
DockableGrouping |
getGrouping(Dockable dockable)
Gets the grouping algorithm that should be used for
dockable . |
public DockableGrouping getGrouping(Dockable dockable)
CGroupingBehavior
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.getGrouping
in interface CGroupingBehavior
dockable
- the element whose grouping information is requestednull
if there is no special behavior
defined for dockable