|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jpalm.mobiledb.field.definition.TextDefinition
public class TextDefinition
A text field in a MobileDB record.
Use Text
with this field.
Constructor Summary | |
---|---|
TextDefinition()
Creates a new text field that does not auto capitalize. |
|
TextDefinition(boolean autoCapitalize)
Creates a new text field. |
|
TextDefinition(java.lang.String indicator)
Creates a new text field 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 |
isAutoCapitalize()
Gets the autoCapitalize property. |
void |
setAutoCapitalize(boolean autoCapitalize)
Sets the autoCapitalize property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextDefinition()
public TextDefinition(boolean autoCapitalize)
autoCapitalize
- true
if the field should auto capitalize; false
otherwisepublic TextDefinition(java.lang.String indicator)
indicator
- the string representationMethod Detail |
---|
public java.lang.String getIndicator()
Definition
getIndicator
in interface Definition
public java.lang.String getRegex()
Definition
getRegex
in interface Definition
public boolean isAutoCapitalize()
autoCapitalize
property.
true
if the text should auto capitalize; false
otherwisepublic void setAutoCapitalize(boolean autoCapitalize)
autoCapitalize
property.
autoCapitalize
- true
if the text should auto capitalize; false
otherwise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |