public class JLabelTextProperty extends AbstractComponentProperty<JLabel,String>
JLabel.
It is possible to control the text of the label by setting the value of this property or by calling the JLabel.setText(String) method of that label.
If the value of this property is set to null, the label will be emptied.JLabel.getText(),
JLabel.setText(String)component| Constructor and Description |
|---|
JLabelTextProperty(JLabel label) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getPropertyValueFromComponent() |
protected void |
setPropertyValueToComponent(String value) |
dispose, getValue, setValueaddValueChangeListener, getValueChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeValueChangeListener, setInhibitedpublic JLabelTextProperty(JLabel label)
protected String getPropertyValueFromComponent()
getPropertyValueFromComponent in class AbstractComponentProperty<JLabel,String>AbstractComponentProperty.getPropertyValueFromComponent()protected void setPropertyValueToComponent(String value)
setPropertyValueToComponent in class AbstractComponentProperty<JLabel,String>AbstractComponentProperty.setPropertyValueToComponent(Object)Copyright © 2015. All Rights Reserved.