public class SpinInputPart extends AbstractPart
container, enabledOnSelection, labelFlushed, labelNextToInput, masterPart, paramDescriptor, vertical, withLabel| Constructor and Description |
|---|
SpinInputPart(ParameterDescriptor paramDescriptor)
Creates a new TextInputPart object with a given parameter descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkType()
Checks the types supported by this UI part.
|
int |
getMaximumValue()
Gets the maximum value allowed (for integer input).
|
int |
getMinimumValue()
Gets the minimum value allowed (for integer input).
|
void |
setRange(int minimumValue,
int maximumValue)
Sets the minimum and maximum values allowed.
|
getContainer, getDisplayName, getMasterPart, getName, getParent, getReadMethod, getShortDescription, getType, getWriteMethod, isEnabledOnSelection, isLabelFlushed, isLabelNextToInput, isVertical, isWithLabel, setContainer, setDisplayName, setLabelFlushed, setLabelNextToInput, setMasterPart, setShortDescription, setVertical, setWithLabelpublic SpinInputPart(ParameterDescriptor paramDescriptor)
paramDescriptor - the parameter descriptor for this UI part.protected void checkType()
AbstractPartcheckType in class AbstractPartpublic int getMinimumValue()
public int getMaximumValue()
public void setRange(int minimumValue,
int maximumValue)
minimumValue - the minimum value allowed.maximumValue - the maximum value allowed.Copyright © 2021. All rights reserved.