| java.lang.Object org.makumba.commons.formatters.FieldFormatter org.makumba.forms.html.FieldEditor org.makumba.forms.html.choiceEditor
All known Subclasses: org.makumba.forms.html.ptrEditor, org.makumba.forms.html.charEnumEditor,
Method Summary | |
public String | format(RecordFormatter rf, int fieldIndex, Object o, Dictionary formatParams) | abstract public String | formatOptionTitle(RecordFormatter rf, int fieldIndex, Object options, int i) Gets the title/label of option 'i'. | abstract public String | formatOptionValue(RecordFormatter rf, int fieldIndex, Object opts, int i, Object val) Formats an option value, in the sequence of options. | abstract public String | formatOptionValue(RecordFormatter rf, int fieldIndex, Object val) Formats an option value. | public String[] | getAcceptedParams() | public String[][] | getAcceptedValue() | abstract public int | getDefaultSize(RecordFormatter rf, int fieldIndex) Gets the default size of the select HTML box. | abstract public String | getMultiple(RecordFormatter rf, int fieldIndex) Returns blank string, or " multiple " if multiple selections possible. | abstract public Object | getOptionValue(RecordFormatter rf, int fieldIndex, Object options, int i) Gets the value of option 'i'. | abstract public Object | getOptions(RecordFormatter rf, int fieldIndex, Dictionary formatParams) Get the available options. | abstract public int | getOptionsLength(RecordFormatter rf, int fieldIndex, Object opts) Gets the number of available options. | public Object | getValueOrDefault(RecordFormatter rf, int fieldIndex, Object o, Dictionary formatParams) Return value if not null, or finds the default option and returns it as a Vector. | abstract public boolean | isMultiple(RecordFormatter rf, int fieldIndex) | public void | setNullOption(Object nullOption) Sets the value of the null option from the mak:input tag. | public boolean | shouldRemoveNullValue(RecordFormatter rf, int fieldIndex) |
getDefaultSize | abstract public int getDefaultSize(RecordFormatter rf, int fieldIndex)(Code) | | Gets the default size of the select HTML box.
|
getMultiple | abstract public String getMultiple(RecordFormatter rf, int fieldIndex)(Code) | | Returns blank string, or " multiple " if multiple selections possible.
|
getOptionsLength | abstract public int getOptionsLength(RecordFormatter rf, int fieldIndex, Object opts)(Code) | | Gets the number of available options.
|
setNullOption | public void setNullOption(Object nullOption)(Code) | | Sets the value of the null option from the mak:input tag.
|
shouldRemoveNullValue | public boolean shouldRemoveNullValue(RecordFormatter rf, int fieldIndex)(Code) | | Null values are ignored
|
Methods inherited from org.makumba.forms.html.FieldEditor | public void checkParam(RecordFormatter rf, int fieldIndex, String name, String val)(Code)(Java Doc) public String format(RecordFormatter rf, int fieldIndex, Object o, Dictionary formatParams)(Code)(Java Doc) public String formatHidden(RecordFormatter rf, int fieldIndex, Object o, Dictionary formatParams)(Code)(Java Doc) public String formatHiddenValue(RecordFormatter rf, int fieldIndex, Object o, Dictionary formatParams)(Code)(Java Doc) public String formatShow(RecordFormatter rf, int fieldIndex, Object o, Dictionary formatParams)(Code)(Java Doc) public String formatValue(RecordFormatter rf, int fieldIndex, Object o, Dictionary formatParams)(Code)(Java Doc) public String[] getAcceptedParams()(Code)(Java Doc) public String[][] getAcceptedValue()(Code)(Java Doc) public static String getExtraFormatting(RecordFormatter rf, int fieldIndex, Dictionary formatParams)(Code)(Java Doc) public String getInputName(RecordFormatter rf, int fieldIndex, Dictionary formatParams)(Code)(Java Doc) public String getInputName(RecordFormatter rf, int fieldIndex, String suffix)(Code)(Java Doc) public static FieldFormatter getInstance()(Code)(Java Doc) public static String getSuffix(RecordFormatter rf, int fieldIndex, Dictionary formatParams)(Code)(Java Doc) public void onStartup(RecordFormatter rf, int fieldIndex)(Code)(Java Doc) public Object readFrom(RecordFormatter rf, int fieldIndex, org.makumba.commons.attributes.HttpParameters p, String suffix)(Code)(Java Doc) public static void setExtraFormatting(Dictionary formatParams, String extraFormatting)(Code)(Java Doc) public static void setSuffix(Dictionary formatParams, String suffix)(Code)(Java Doc) protected Integer toInt(RecordFormatter rf, int fieldIndex, Object o)(Code)(Java Doc) protected Double toReal(RecordFormatter rf, int fieldIndex, Object o)(Code)(Java Doc)
|
Methods inherited from org.makumba.commons.formatters.FieldFormatter | public void checkParam(RecordFormatter rf, int fieldIndex, String name, String val)(Code)(Java Doc) public void checkParams(RecordFormatter rf, int fieldIndex, Dictionary formatParams)(Code)(Java Doc) public boolean equals(String s1, String s2)(Code)(Java Doc) public String format(RecordFormatter rf, int fieldIndex, Object o, Dictionary formatParams)(Code)(Java Doc) public String formatNotNull(RecordFormatter rf, int fieldIndex, Object o, Dictionary formatParams)(Code)(Java Doc) public String formatNull(RecordFormatter rf, int fieldIndex, Dictionary formatParams)(Code)(Java Doc) public String[] getAcceptedParams()(Code)(Java Doc) public String[][] getAcceptedValue()(Code)(Java Doc) public String getDefaultValueFormat(RecordFormatter rf, int fieldIndex, Dictionary formatParams)(Code)(Java Doc) public String getEmptyValueFormat(RecordFormatter rf, int fieldIndex, Dictionary formatParams)(Code)(Java Doc) public String getExpr(RecordFormatter rf, int fieldIndex)(Code)(Java Doc) public static FieldFormatter getInstance()(Code)(Java Doc) public int getIntParam(RecordFormatter rf, int fieldIndex, Dictionary formatParams, String name)(Code)(Java Doc) public String getIntParamString(RecordFormatter rf, int fieldIndex, Dictionary formatParams, String name)(Code)(Java Doc) public void initExpr(RecordFormatter rf, int fieldIndex, String s)(Code)(Java Doc) public String resetValueFormat(RecordFormatter rf, int fieldIndex, String s, Dictionary formatParams)(Code)(Java Doc)
|
|
|