| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.presentation.portlet.widgets.model.WidgetModel
org.jaffa.presentation.portlet.widgets.model.EditBoxModel
Model for the EditBox widget.
| Constructor Summary | |
| EditBoxModel()Default constructor. | |
| EditBoxModel(FieldMetaData meta)Creates a model.. | |
| EditBoxModel(Object obj)Creates a model initialized to the input value. | |
| EditBoxModel(Object obj,
                         FieldMetaData meta)Creates a model initialized to the input value. | |
| Method Summary | |
|  String | getDataType()Getter for property dataType. | 
|  int | getMaxLen()Getter for property maxLen. | 
|  FieldMetaData | getMetaData()Getter for property metaData. | 
|  int | getMinLen()Getter for property minLen. | 
|  String | getStringCase()Getter for property stringCase. | 
|  String | getValue()Getter for property value. | 
|  boolean | isMandatory()Getter for property mandatory. | 
|  boolean | isModelChanged()See if model has changed, in the process reset the changed flag. | 
|  void | setMandatory(boolean mandatory)Setter for property mandatory. | 
|  void | setMaxLen(int maxLen)Setter for property maxLen. | 
|  void | setMinLen(int minLen)Setter for property minLen. | 
|  void | setStringCase(String stringCase)Setter for property stringCase. | 
|  void | setValue(String value)Setter for property value. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public EditBoxModel()
public EditBoxModel(FieldMetaData meta)
meta - The meta object to use for getting the layout info.
 This may throw the UnknownDataTypeRuntimeException in case the input 'meta' object has an unsupported DataType.public EditBoxModel(Object obj)
obj - The initial value.
public EditBoxModel(Object obj,
                    FieldMetaData meta)
obj - The initial value.meta - The meta object to use for getting the layout info.
 This may throw the UnknownDataTypeRuntimeException in case the input 'meta' object has an unsupported DataType.
 This may throw the DataTypeMismatchRuntimeException in case there is a mismatch in the Datatypes of the inputs.| Method Detail | 
public String getValue()
public void setValue(String value)
value - New value of property value.public boolean isModelChanged()
public void setStringCase(String stringCase)
stringCase - New value of property stringCase.public String getStringCase()
public void setMaxLen(int maxLen)
maxLen - New value of property maxLen.public int getMaxLen()
public void setMinLen(int minLen)
minLen - New value of property minLen.public int getMinLen()
public String getDataType()
public FieldMetaData getMetaData()
public boolean isMandatory()
public void setMandatory(boolean mandatory)
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||