|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.jpalm.mobiledb.field.definition.CheckboxDefinition
public class CheckboxDefinition
A checkbox field in a MobileDB record.
Use Checkbox with this field.
| Constructor Summary | |
|---|---|
CheckboxDefinition()
Creates a new checkbox that defaults to false (unchecked). |
|
CheckboxDefinition(boolean defaultToTrue)
Creates a new checkbox. |
|
CheckboxDefinition(java.lang.String indicator)
Creates a new checkbox from the string representation for this type. |
|
| Method Summary | |
|---|---|
java.lang.String |
getIndicator()
Gets the string representation for this definition. |
java.lang.String |
getRegex()
Gets the regular expression for this definition. |
boolean |
isDefaultToTrue()
Gets the defaultToTrue property. |
void |
setDefaultToTrue(boolean defaultToTrue)
Sets the defaultToTrue property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckboxDefinition()
public CheckboxDefinition(boolean defaultToTrue)
defaultToTrue - true if the checkbox should default to true (checked);
false otherwisepublic CheckboxDefinition(java.lang.String indicator)
indicator - the string representation| Method Detail |
|---|
public java.lang.String getIndicator()
Definition
getIndicator in interface Definitionpublic java.lang.String getRegex()
Definition
getRegex in interface Definitionpublic boolean isDefaultToTrue()
defaultToTrue property.
true if the checkbox should default to true (checked);
false otherwisepublic void setDefaultToTrue(boolean defaultToTrue)
defaultToTrue property.
defaultToTrue - true if the checkbox should default to true (checked);
false otherwise
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||