public class JComboBoxSelectedIndexProperty extends com.google.code.validationframework.base.property.AbstractReadableWritableProperty<Integer,Integer> implements com.google.code.validationframework.api.common.Disposable
JComboBox.
It is possible to control the selected index of the component by setting the value of this property or by calling the
JComboBox.setSelectedIndex(int) or JComboBox.setSelectedItem(Object) methods of that component.
If the value of this property is set to null, the component selected index will not be changed.| Constructor and Description |
|---|
JComboBoxSelectedIndexProperty(JComboBox component)
Constructor specifying the component for which the property applies.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Integer |
getValue() |
void |
setValue(Integer value) |
addValueChangeListener, getValueChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeValueChangeListener, setInhibitedpublic JComboBoxSelectedIndexProperty(JComboBox component)
component - Component whose selected property is to be tracked.public void dispose()
dispose in interface com.google.code.validationframework.api.common.DisposableDisposable.dispose()public Integer getValue()
getValue in interface com.google.code.validationframework.api.property.ReadableProperty<Integer>ReadableProperty.getValue()Copyright © 2015. All Rights Reserved.