Package docking.widgets.table
Class AddRemoveListItem<T>
- java.lang.Object
-
- docking.widgets.table.AddRemoveListItem<T>
-
- Type Parameters:
T
- the row type
public class AddRemoveListItem<T> extends java.lang.Object
An object that represents and add, remove or change operation for one row of a table
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddRemoveListItem.Type
-
Constructor Summary
Constructors Constructor Description AddRemoveListItem(AddRemoveListItem.Type type, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddRemoveListItem.Type
getType()
T
getValue()
boolean
isAdd()
boolean
isChange()
boolean
isRemove()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AddRemoveListItem
public AddRemoveListItem(AddRemoveListItem.Type type, T value)
-
-
Method Detail
-
isAdd
public boolean isAdd()
-
isRemove
public boolean isRemove()
-
isChange
public boolean isChange()
-
getType
public AddRemoveListItem.Type getType()
-
getValue
public T getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-