public class JTableSelectedRowIndexProperty extends com.github.leanframeworks.propertiesframework.base.property.AbstractReadableWritableProperty<Integer>
JTable.
The selection can be controlled by using the selection model of the table, by interacting with the table, or by setting the value of this property.
If the value is to -1, then the selected row(s) will be de-selected. If the value is set to null, it will be converted to -1 and therefore the selected row(s) will be de-selected.
| Constructor and Description |
|---|
JTableSelectedRowIndexProperty(JTable table)
Constructor specifying the table
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Integer |
getValue() |
void |
setValue(Integer value) |
addChangeListener, getChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeChangeListener, setInhibitedpublic JTableSelectedRowIndexProperty(JTable table)
table - Table whose selected row index is represented by this property.public void dispose()
dispose in interface com.github.leanframeworks.propertiesframework.api.common.Disposabledispose in class com.github.leanframeworks.propertiesframework.base.property.AbstractReadableProperty<Integer>Disposable.dispose()public Integer getValue()
ReadableProperty.getValue()public void setValue(Integer value)
WritableProperty.setValue(Object)Copyright © 2017. All rights reserved.