public class ComponentEnabledProperty extends AbstractComponentProperty<Component,Boolean>
Component.
It is possible to control the enabled state of the component by setting the value of this property or by calling the
Component.setEnabled(boolean) method of that component.
Please note that a plain Component does not a fire property change event when it gets enabled/disabled. A
Swing JComponent does. However, the type Component is used by this property instead of
JComponent for convenience.
Finally note that null values are not supported by this property.component| Constructor and Description |
|---|
ComponentEnabledProperty(Component component) |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
getPropertyValueFromComponent() |
protected void |
setPropertyValueToComponent(Boolean value) |
dispose, getValue, setValueaddValueChangeListener, getValueChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeValueChangeListener, setInhibitedpublic ComponentEnabledProperty(Component component)
protected Boolean getPropertyValueFromComponent()
getPropertyValueFromComponent in class AbstractComponentProperty<Component,Boolean>AbstractComponentProperty.getPropertyValueFromComponent()protected void setPropertyValueToComponent(Boolean value)
setPropertyValueToComponent in class AbstractComponentProperty<Component,Boolean>AbstractComponentProperty.setPropertyValueToComponent(Object)Copyright © 2015. All Rights Reserved.