ITEM - is the generic type of the contained item.SELF - is the generic type of this container itself.public interface ItemContainer<ITEM,SELF extends ItemContainer<ITEM,SELF>> extends AttributeWriteSelected, AttributeWriteSelectionMode, AttributeReadValue<ITEM>
data set widget. It can be implemented toolkit specific implementation that contains the raw widget to
render the item.| Modifier and Type | Method and Description |
|---|---|
ITEM |
getItem() |
ITEM |
getItemEdited() |
ITEM |
getItemOriginal() |
ITEM |
getValue()
This method does the same as
getItem(). |
boolean |
isContainerForItem(ITEM row) |
void |
setItemEdited(ITEM row) |
void |
setItemOriginal(ITEM row) |
setSelectedisSelectedsetSelectionModegetSelectionModeITEM getItemOriginal()
getItemEdited()void setItemOriginal(ITEM row)
row - is the original row to set.ITEM getItemEdited()
original row that is lazily created on first editing.
Will be null before the row has been edited.void setItemEdited(ITEM row)
row - is the edited row to set. Should to be a copy of the
original row. May be null to reset.ITEM getItem()
edited row if not null else the
original row.ITEM getValue()
getItem().
This method gets the value of this object.getValue in interface AttributeReadValue<ITEM>null unless otherwise stated.boolean isContainerForItem(ITEM row)
row - is the <ROW> to check.true if this is the ItemContainer responsible for the given row
false otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.