|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.factory.AbstractControlFactory
org.springframework.richclient.form.binding.support.AbstractBinding
org.springframework.richclient.form.binding.support.CustomBinding
org.springframework.richclient.form.binding.swing.SliderBinding
public class SliderBinding
| Field Summary |
|---|
| Fields inherited from class org.springframework.richclient.form.binding.support.AbstractBinding |
|---|
fieldMetadata, formModel, formPropertyPath |
| Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
|---|
logger |
| Constructor Summary | |
|---|---|
SliderBinding(FormModel formModel,
String formPropertyPath)
Creates a new binding |
|
| Method Summary | |
|---|---|
protected JComponent |
doBindControl()
|
protected void |
enabledChanged()
Called when the enabled state of the bound property changes. |
protected void |
readOnlyChanged()
Called when the read only state of the bound property changes. |
void |
setMajorTickSpacing(int spacing)
Set the major tick spacing of the slider |
void |
setMaxValue(int maxValue)
Set the maximum value of the slider |
void |
setMinorTickSpacing(int spacing)
Set the minor tick spacing of the slider |
void |
setMinValue(int minValue)
Set the minimum value of the slider |
void |
setSliderLabelFactory(SliderLabelFactory sliderLabelFactory)
Set the factory for the custom labels |
protected void |
valueModelChanged(Object newValue)
Called when the underlying property's value model value changes. |
| Methods inherited from class org.springframework.richclient.form.binding.support.CustomBinding |
|---|
controlValueChanged, isReadOnly, setReadOnly |
| Methods inherited from class org.springframework.richclient.form.binding.support.AbstractBinding |
|---|
createControl, getFieldFace, getFormModel, getProperty, getPropertyType, getValue, getValueModel, isEnabled |
| Methods inherited from class org.springframework.richclient.factory.AbstractControlFactory |
|---|
createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton |
| Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
|---|
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.richclient.form.binding.Binding |
|---|
getControl |
| Constructor Detail |
|---|
public SliderBinding(FormModel formModel,
String formPropertyPath)
formModel - formPropertyPath - | Method Detail |
|---|
protected void valueModelChanged(Object newValue)
CustomBinding
valueModelChanged in class CustomBindingprotected JComponent doBindControl()
doBindControl in class AbstractBindingprotected void enabledChanged()
AbstractBinding
enabledChanged in class AbstractBindingFormPropertyStateprotected void readOnlyChanged()
AbstractBinding
readOnlyChanged in class AbstractBindingFormPropertyStatepublic void setMaxValue(int maxValue)
public void setMinValue(int minValue)
public void setMajorTickSpacing(int spacing)
public void setMinorTickSpacing(int spacing)
public void setSliderLabelFactory(SliderLabelFactory sliderLabelFactory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||