Class CheckboxPart
- java.lang.Object
-
- net.sf.okapi.common.uidescription.AbstractPart
-
- net.sf.okapi.common.uidescription.CheckboxPart
-
- All Implemented Interfaces:
IParameterDescriptor
public class CheckboxPart extends AbstractPart
UI part descriptor for a check box. This UI part supports the following types: Boolean, Integer (0: false, non-0: true), and String ("0": false, not-"0": true).
-
-
Field Summary
-
Fields inherited from class net.sf.okapi.common.uidescription.AbstractPart
container, enabledOnSelection, labelFlushed, labelNextToInput, masterPart, paramDescriptor, vertical, withLabel
-
-
Constructor Summary
Constructors Constructor Description CheckboxPart(ParameterDescriptor paramDescriptor)Creates a new CheckboxPart object with a given parameter descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckType()Checks the types supported by this UI part.-
Methods inherited from class net.sf.okapi.common.uidescription.AbstractPart
getContainer, getDisplayName, getMasterPart, getName, getParent, getReadMethod, getShortDescription, getType, getWriteMethod, isEnabledOnSelection, isLabelFlushed, isLabelNextToInput, isVertical, isWithLabel, setContainer, setDisplayName, setLabelFlushed, setLabelNextToInput, setMasterPart, setShortDescription, setVertical, setWithLabel
-
-
-
-
Constructor Detail
-
CheckboxPart
public CheckboxPart(ParameterDescriptor paramDescriptor)
Creates a new CheckboxPart object with a given parameter descriptor.- Parameters:
paramDescriptor- the parameter descriptor for this UI part.
-
-
Method Detail
-
checkType
protected void checkType()
Description copied from class:AbstractPartChecks the types supported by this UI part.- Overrides:
checkTypein classAbstractPart
-
-