|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.okapi.common.uidescription.AbstractPart
net.sf.okapi.common.uidescription.SpinInputPart
public class SpinInputPart
UI part descriptor for a spin-like input field. This UI part supports the following types: Integer.
| Field Summary |
|---|
| Fields inherited from class net.sf.okapi.common.uidescription.AbstractPart |
|---|
container, enabledOnSelection, labelFlushed, masterPart, paramDescriptor, vertical, withLabel |
| Constructor Summary | |
|---|---|
SpinInputPart(ParameterDescriptor paramDescriptor)
Creates a new TextInputPart object with a given parameter descriptor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.sf.okapi.common.uidescription.AbstractPart |
|---|
getContainer, getDisplayName, getMasterPart, getName, getParent, getReadMethod, getShortDescription, getType, getWriteMethod, isEnabledOnSelection, isLabelFlushed, isVertical, isWithLabel, setContainer, setDisplayName, setLabelFlushed, setMasterPart, setShortDescription, setVertical, setWithLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpinInputPart(ParameterDescriptor paramDescriptor)
paramDescriptor - the parameter descriptor for this UI part.| Method Detail |
|---|
protected void checkType()
AbstractPart
checkType 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||