public class ComponentForegroundProperty extends AbstractComponentProperty<Component,Color>
Component.
It is possible to control the foreground color of the component by setting the value of this property or by calling
the Component.setForeground(Color) method of that component.
Finally, note that null values are supported by this property.component| Constructor and Description |
|---|
ComponentForegroundProperty(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 ComponentForegroundProperty(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.