Class TreeGridWithCheckBoxFieldsExample.Datum
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.examples.examples._100_Layers.TreeGridWithCheckBoxFieldsExample.Datum
-
- All Implemented Interfaces:
Comparable<TreeGridWithCheckBoxFieldsExample.Datum>
- Enclosing class:
- TreeGridWithCheckBoxFieldsExample
public class TreeGridWithCheckBoxFieldsExample.Datum extends Object implements Comparable<TreeGridWithCheckBoxFieldsExample.Datum>
-
-
Constructor Summary
Constructors Constructor Description Datum(TreeGridWithCheckBoxFieldsExample.Datum parent, String name, boolean on, int bar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(TreeGridWithCheckBoxFieldsExample.Datum child)
int
compareTo(TreeGridWithCheckBoxFieldsExample.Datum o)
Comparison is based on name onlyint
getBar()
CheckBoxStateEnum
getCheckBoxState()
List<TreeGridWithCheckBoxFieldsExample.Datum>
getChildren()
String
getName()
TreeGridWithCheckBoxFieldsExample.Datum
getParent()
TreeGridWithCheckBoxFieldsExample.Datum
getSelf()
boolean
isOn()
void
setOn(boolean on)
String
toString()
-
-
-
Constructor Detail
-
Datum
public Datum(TreeGridWithCheckBoxFieldsExample.Datum parent, String name, boolean on, int bar)
-
-
Method Detail
-
getParent
public TreeGridWithCheckBoxFieldsExample.Datum getParent()
-
addChild
public void addChild(TreeGridWithCheckBoxFieldsExample.Datum child)
-
getChildren
public List<TreeGridWithCheckBoxFieldsExample.Datum> getChildren()
-
getSelf
public TreeGridWithCheckBoxFieldsExample.Datum getSelf()
-
getName
public String getName()
-
isOn
public boolean isOn()
-
setOn
public void setOn(boolean on)
-
getBar
public int getBar()
-
getCheckBoxState
public CheckBoxStateEnum getCheckBoxState()
-
compareTo
public int compareTo(TreeGridWithCheckBoxFieldsExample.Datum o)
Comparison is based on name only- Specified by:
compareTo
in interfaceComparable<TreeGridWithCheckBoxFieldsExample.Datum>
-
-