Interface ITableElement
-
- All Known Implementing Classes:
InterfacesTable.InheritanceLine
public interface ITableElementInterface used by the abstract table to get the labels of it's items.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanModify(java.lang.String pProperty)Defines whether the column cell corresponding to the property can be modified.org.eclipse.swt.graphics.ImagegetImage(java.lang.String pProperty)Returns the column image corresponding to the property.java.lang.StringgetLabel(java.lang.String pProperty)Returns the column label corresponding to the property.java.lang.String[]getProperties()java.lang.ObjectgetValue(java.lang.String pProperty)Returns the column value corresponding to the property.voidsetValue(java.lang.String pProperty, java.lang.Object pValue)Sets the column value corresponding to the property.
-
-
-
Method Detail
-
getImage
org.eclipse.swt.graphics.Image getImage(java.lang.String pProperty)
Returns the column image corresponding to the property.- Parameters:
pProperty- the property designating the column- Returns:
- the image for the column
-
getLabel
java.lang.String getLabel(java.lang.String pProperty)
Returns the column label corresponding to the property.- Parameters:
pProperty- the property designating the column- Returns:
- the label for the column
-
getProperties
java.lang.String[] getProperties()
- Returns:
- the line properties in the columns order.
-
canModify
boolean canModify(java.lang.String pProperty)
Defines whether the column cell corresponding to the property can be modified.- Parameters:
pProperty- the property designating the column- Returns:
trueif the cell is editable.
-
getValue
java.lang.Object getValue(java.lang.String pProperty)
Returns the column value corresponding to the property.- Parameters:
pProperty- the property designating the column- Returns:
- the value for the column
-
setValue
void setValue(java.lang.String pProperty, java.lang.Object pValue)Sets the column value corresponding to the property.- Parameters:
pProperty- the property designating the columnpValue- the new value for the column
-
-