| java.lang.Object org.beryl.gui.model.AbstractDataModel org.beryl.gui.model.MapDataModel org.beryl.gui.model.TableRow
All known Subclasses: org.beryl.gui.model.ValueObjectTableRow, org.beryl.gui.builder.NameTableRow, org.beryl.gui.test.Person, org.beryl.gui.builder.PropertyTableRow,
TableRow | public class TableRow extends MapDataModel implements TableRenderer,TableEditor,Serializable(Code) | | A TableRow represents a row on a table widget.
Columns are accessed by keys rather than their index - this
makes it possible to use a TableRow both as a
row in a table and as data model of a Frame at
the same time.
|
getEditor | public Widget getEditor(Table table, Object value, TableRow row, String key) throws GUIException(Code) | | This function, if overridden provides the possibility
of adding a custom table value editor
Parameters: key - The row key to edit A Widget |
getRenderer | public Widget getRenderer(Table table, Object value, boolean isSelected, boolean hasFocus, TableRow row, String key) throws GUIException(Code) | | This function, if overridden provides the possibility
of adding a custom table value render
Parameters: key - The row key to render A Widget |
hasCustomRenderer | public boolean hasCustomRenderer(String key)(Code) | | If there are custom renderers, override this and set it to true.
This method exists solely for performance reasons
Parameters: key - The row key True if there is a custom renderer |
|
|