|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITableEditorValuePopulator
A populator interface used in conjunction with the TableEditor class. The populator is used to create rows in the table based on the value of a property.
| Method Summary | |
|---|---|
java.lang.String |
getValueFromTable(org.eclipse.swt.widgets.Table table)
Given the entire table this method is responsible for calculating the value of the attribute associated with the property editor. |
int |
getValueSelectionEvent()
Determines the type of events that qualify as selection events. |
boolean |
isChecked(org.eclipse.swt.widgets.TableItem item,
java.lang.String attrValue)
Returns whether or not a particular row in the table should be checked based on the attribute value. The table must be of type SWT.CHECK |
boolean |
isSelected(org.eclipse.swt.widgets.TableItem item,
java.lang.String attrValue)
Returns whether or not the row should be selected based on the attribute value. |
| Method Detail |
|---|
boolean isChecked(org.eclipse.swt.widgets.TableItem item,
java.lang.String attrValue)
item - the table rowattrValue - the value of the attribute associated with the row
AbstractTableEditor
boolean isSelected(org.eclipse.swt.widgets.TableItem item,
java.lang.String attrValue)
item - the table rowattrValue - the value of the attribute associated with the row
int getValueSelectionEvent()
SWT.CHECK then check events will cause particular rows to be selected.
java.lang.String getValueFromTable(org.eclipse.swt.widgets.Table table)
stopEdit method is called
(com.ibm.commons.swt.data.editors.api.AbstractTableEditor.stopEdit(CompositeEditor))
table - the editor's table control
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||