public interface CustomFieldSelectionTableModel
extends javax.swing.ListModel
PropertyControl
and
CustomFieldSelectionTable
. The implementation is bound by the controlClass attribute as other
PropertyControl
. And the JTable must use a TableModel
that implements this interface.Modifier and Type | Method and Description |
---|---|
void |
addSelectedItem(java.lang.Object object)
Add the selected (field) item to the table.
|
boolean |
contains(java.lang.Object object)
Returns true if the model has used the supplied field or
false otherwise.
|
java.util.List<java.lang.String> |
getSelectedItems()
Returns the selected (taken) field names, which results in a true when called with
contains |
java.lang.Object |
getValue()
Returns the property value of the custom table control
|
boolean |
isSelectionEmpty()
Returns true if no objects are selected.
|
void |
removeEntriesAt(int[] indices)
Removes the entries at the specified positions in the data model.
|
void |
setValue(java.lang.Object value)
Initialize the property value for the custom table control
|
void setValue(java.lang.Object value)
java.lang.Object getValue()
boolean contains(java.lang.Object object)
java.util.List<java.lang.String> getSelectedItems()
contains
void addSelectedItem(java.lang.Object object)
object
- is the field name String to be addedboolean isSelectionEmpty()
void removeEntriesAt(int[] indices)
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.