public class JComponentToolTipTextProperty extends AbstractComponentProperty<JComponent,String>
JComponent.
It is possible to control the tooltip text of the component by setting the value of this property or by calling the
JComponent.setToolTipText(String) method of that component.
If the value of this property is set to null, the tooltip will be emptied.
component| Constructor and Description |
|---|
JComponentToolTipTextProperty(JComponent component) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getPropertyValueFromComponent()
Reads the value from
AbstractComponentProperty.component. |
protected void |
setPropertyValueToComponent(String value)
Sets the value to
AbstractComponentProperty.component. |
dispose, getValue, setValueaddChangeListener, getChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeChangeListener, setInhibitedpublic JComponentToolTipTextProperty(JComponent component)
protected String getPropertyValueFromComponent()
AbstractComponentPropertyAbstractComponentProperty.component.
Note that whenever this method is called, AbstractComponentProperty.component is not null.
getPropertyValueFromComponent in class AbstractComponentProperty<JComponent,String>AbstractComponentProperty.getPropertyValueFromComponent()protected void setPropertyValueToComponent(String value)
AbstractComponentPropertyAbstractComponentProperty.component.
Note that whenever this method is called, AbstractComponentProperty.component is not null.
setPropertyValueToComponent in class AbstractComponentProperty<JComponent,String>value - Component value.AbstractComponentProperty.setPropertyValueToComponent(Object)Copyright © 2017. All rights reserved.