public class JSliderMinimumValueProperty extends AbstractComponentProperty<JSlider,Integer>
JSlider.
It is possible to control the minimum value of the slider by setting the value of this property or by calling the
JSlider.setMinimum(int) method of that slider.
JSlider.getMinimum(),
JSlider.setMinimum(int)component| Constructor and Description |
|---|
JSliderMinimumValueProperty(JSlider slider) |
| Modifier and Type | Method and Description |
|---|---|
protected Integer |
getPropertyValueFromComponent()
Reads the value from
AbstractComponentProperty.component. |
protected void |
setPropertyValueToComponent(Integer value)
Sets the value to
AbstractComponentProperty.component. |
dispose, getValue, setValueaddChangeListener, getChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeChangeListener, setInhibitedpublic JSliderMinimumValueProperty(JSlider slider)
protected Integer getPropertyValueFromComponent()
AbstractComponentPropertyAbstractComponentProperty.component.
Note that whenever this method is called, AbstractComponentProperty.component is not null.
getPropertyValueFromComponent in class AbstractComponentProperty<JSlider,Integer>AbstractComponentProperty.getPropertyValueFromComponent()protected void setPropertyValueToComponent(Integer value)
AbstractComponentPropertyAbstractComponentProperty.component.
Note that whenever this method is called, AbstractComponentProperty.component is not null.
setPropertyValueToComponent in class AbstractComponentProperty<JSlider,Integer>value - Component value.AbstractComponentProperty.setPropertyValueToComponent(Object)Copyright © 2017. All rights reserved.