Class DefaultCGroupingBehavior
java.lang.Object
bibliothek.gui.dock.common.grouping.DefaultCGroupingBehavior
- All Implemented Interfaces:
CGroupingBehavior
Default implementation of
CGroupingBehavior, just returns CDockable.getGrouping().- Author:
- Benjamin Sigg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGrouping(Dockable dockable) Gets the grouping algorithm that should be used fordockable.
-
Constructor Details
-
DefaultCGroupingBehavior
public DefaultCGroupingBehavior()
-
-
Method Details
-
getGrouping
Description copied from interface:CGroupingBehaviorGets the grouping algorithm that should be used fordockable. This method may be called multiple times for the samedockable. It should either always return the sameDockableGrouping, or it should return an object that does not contains any state.- Specified by:
getGroupingin interfaceCGroupingBehavior- Parameters:
dockable- the element whose grouping information is requested- Returns:
- the grouping information, or
nullif there is no special behavior defined fordockable
-