|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value={FIELD,TYPE})
public @interface TableAnnotation type used to indicate the type of table component to instantiate.
© Copyright 2008 Sans Pareil Technologies, Inc.
| Required Element Summary | |
|---|---|
String |
className
The fully qualified name of the table class to use to initialise the annotated field. |
String |
model
The fully qualified name of the model class used to back the table model. |
| Optional Element Summary | |
|---|---|
Columns |
columns
Optional columns declaration that may be used if the model()
class cannot be annotated. |
String |
field
The field in a view that represents the table. |
String |
filterField
The name of the filter field in model() that is used to filter
the data in the model. |
boolean |
multipleSelection
A flag used to indicate whether the table should support multiple selection or not. |
String |
selectionListener
The SelectionListener to associated with
the table. |
String |
tableModel
The fully qualified name of the table model class to use. |
| Element Detail |
|---|
public abstract String className
public abstract String model
public abstract String tableModel
NULL.
public abstract String field
NULL.
public abstract boolean multipleSelection
false or single selection.
public abstract String selectionListener
SelectionListener to associated with
the table. Defaults to NULL.
public abstract Columns columns
model()
class cannot be annotated. The view class itself could hold the
Columns annotation, however that would restrict the view to
containing only one table. This option is more flexible by annotating
the table field.
model() that are to be displayed.public abstract String filterField
model() that is used to filter
the data in the model. This is used usually with instances of
JDOFilterTableModel.
model() used as a filter.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||