Class HierarchicalWrapperTreeFormat
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.extension.glazedlists.hierarchical.HierarchicalWrapperTreeFormat
-
- All Implemented Interfaces:
ca.odell.glazedlists.TreeList.Format<HierarchicalWrapper>
public class HierarchicalWrapperTreeFormat extends Object implements ca.odell.glazedlists.TreeList.Format<HierarchicalWrapper>
TreeList.Format
implementation for dealing with HierarchicalWrapper objects.- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor Description HierarchicalWrapperTreeFormat(String... propertyNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowsChildren(HierarchicalWrapper element)
Comparator<? super HierarchicalWrapper>
getComparator(int depth)
void
getPath(List<HierarchicalWrapper> path, HierarchicalWrapper element)
-
-
-
Constructor Detail
-
HierarchicalWrapperTreeFormat
public HierarchicalWrapperTreeFormat(String... propertyNames)
-
-
Method Detail
-
getPath
public void getPath(List<HierarchicalWrapper> path, HierarchicalWrapper element)
- Specified by:
getPath
in interfaceca.odell.glazedlists.TreeList.Format<HierarchicalWrapper>
-
allowsChildren
public boolean allowsChildren(HierarchicalWrapper element)
- Specified by:
allowsChildren
in interfaceca.odell.glazedlists.TreeList.Format<HierarchicalWrapper>
-
getComparator
public Comparator<? super HierarchicalWrapper> getComparator(int depth)
- Specified by:
getComparator
in interfaceca.odell.glazedlists.TreeList.Format<HierarchicalWrapper>
-
-