public class ComponentBackgroundProperty extends AbstractComponentProperty<Component,Color>
Component.
It is possible to control the background color of the component by setting the value of this property or by calling
the Component.setBackground(Color) method of that component.
Finally, note that null values are supported by this property.component| Constructor and Description |
|---|
ComponentBackgroundProperty(Component component) |
| Modifier and Type | Method and Description |
|---|---|
protected Color |
getPropertyValueFromComponent() |
protected void |
setPropertyValueToComponent(Color value) |
dispose, getValue, setValueaddValueChangeListener, getValueChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeValueChangeListener, setInhibitedpublic ComponentBackgroundProperty(Component component)
protected Color getPropertyValueFromComponent()
getPropertyValueFromComponent in class AbstractComponentProperty<Component,Color>AbstractComponentProperty.getPropertyValueFromComponent()protected void setPropertyValueToComponent(Color value)
setPropertyValueToComponent in class AbstractComponentProperty<Component,Color>AbstractComponentProperty.setPropertyValueToComponent(Object)Copyright © 2015. All Rights Reserved.