public interface Slider extends DataWidget, MultiDataWidget
Widget che permette di selezionare uno o due valori in un range numerico continuo.
aspetto grafico
binding con dati
opzioni di configurazione
The following features are supported:
GuigenPackage.getSlider()| Modifier and Type | Method and Description |
|---|---|
java.lang.Float |
getStaticLowerBound()
Returns the value of the 'Static Lower Bound' attribute
|
java.lang.Float |
getStaticStep()
Returns the value of the 'Static Step' attribute.
|
java.lang.Float |
getStaticUpperBound()
Returns the value of the 'Static Upper Bound' attribute
|
SliderCollectionValuesUsageTypes |
getUseCollectionDataAs()
Returns the value of the 'Use Collection Data As' attribute.
|
void |
setStaticLowerBound(java.lang.Float value)
Sets the value of the '
Static Lower Bound' attribute |
void |
setStaticStep(java.lang.Float value)
Sets the value of the '
Static Step' attribute |
void |
setStaticUpperBound(java.lang.Float value)
Sets the value of the '
Static Upper Bound' attribute |
void |
setUseCollectionDataAs(SliderCollectionValuesUsageTypes value)
Sets the value of the '
Use Collection Data As' attribute |
getDatabinding, getDataType, getDataTypeModifier, isRequired, setDatabinding, setDataType, setDataTypeModifier, setRequiredgetMultiDataBinding, setMultiDataBindinggetEnableEnrichment, getEventHandlers, getLabel, getLayoutSpec, getName, getSecurityConstraints, getTooltip, isDefaultEnabled, isDefaultVisible, setDefaultEnabled, setDefaultVisible, setEnableEnrichment, setLabel, setLayoutSpec, setName, setTooltipSliderCollectionValuesUsageTypes getUseCollectionDataAs()
SliderCollectionValuesUsageTypes.
If the meaning of the 'Use Collection Data As' attribute isn't clear, there really should be more of a description here...
Permette di decidere come utilizzare il contenuto del collection data binding. Attualmente l'unico valore ammissibile è "range" e indica al generatore di utilizzare i primi due elementi (numerici) dell'array collegato tramite collection data binding come estremi inferiore e superiore del range di valori selezionabili. N.B: serve nei casi in cui sia necessario un range dinamico; nel caso in cui invece sia sufficiente un range statico definito a tempo di modellazione è necessario modellare le due property staticLowerBound e staticUpperBound
SliderCollectionValuesUsageTypes,
setUseCollectionDataAs(SliderCollectionValuesUsageTypes),
GuigenPackage.getSlider_UseCollectionDataAs()void setUseCollectionDataAs(SliderCollectionValuesUsageTypes value)
Use Collection Data As' attribute.
value - the new value of the 'Use Collection Data As' attribute.SliderCollectionValuesUsageTypes,
getUseCollectionDataAs()java.lang.Float getStaticLowerBound()
If the meaning of the 'Static Lower Bound' attribute isn't clear, there really should be more of a description here...
Nel caso di range staticamente definito a tempo di modellazione il valore di questa property viene utilizzato come estremo inferiore del range di valori selezionabili
setStaticLowerBound(Float),
GuigenPackage.getSlider_StaticLowerBound()void setStaticLowerBound(java.lang.Float value)
Static Lower Bound' attribute.
value - the new value of the 'Static Lower Bound' attribute.getStaticLowerBound()java.lang.Float getStaticUpperBound()
If the meaning of the 'Static Upper Bound' attribute isn't clear, there really should be more of a description here...
Nel caso di range staticamente definito a tempo di modellazione il valore di questa property viene utilizzato come estremo superiore del range di valori selezionabili
setStaticUpperBound(Float),
GuigenPackage.getSlider_StaticUpperBound()void setStaticUpperBound(java.lang.Float value)
Static Upper Bound' attribute.
value - the new value of the 'Static Upper Bound' attribute.getStaticUpperBound()java.lang.Float getStaticStep()
"1".
If the meaning of the 'Static Step' attribute isn't clear, there really should be more of a description here...
se configurato definisce di quanto aumenta/diminuisce il valore selezionato a fronte di uno spostamento unitario del selettore
setStaticStep(Float),
GuigenPackage.getSlider_StaticStep()void setStaticStep(java.lang.Float value)
Static Step' attribute.
value - the new value of the 'Static Step' attribute.getStaticStep()