Interface ITableElement
- All Known Implementing Classes:
InterfacesTable.InheritanceLine
public interface ITableElement
Interface used by the abstract table to get the labels of it's items.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDefines whether the column cell corresponding to the property can be modified.org.eclipse.swt.graphics.ImageReturns the column image corresponding to the property.Returns the column label corresponding to the property.String[]Returns the column value corresponding to the property.voidSets the column value corresponding to the property.
-
Method Details
-
getImage
Returns the column image corresponding to the property.- Parameters:
pProperty- the property designating the column- Returns:
- the image for the column
-
getLabel
Returns the column label corresponding to the property.- Parameters:
pProperty- the property designating the column- Returns:
- the label for the column
-
getProperties
String[] getProperties()- Returns:
- the line properties in the columns order.
-
canModify
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
Returns the column value corresponding to the property.- Parameters:
pProperty- the property designating the column- Returns:
- the value for the column
-
setValue
Sets the column value corresponding to the property.- Parameters:
pProperty- the property designating the columnpValue- the new value for the column
-