|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ix.iface.ui.AbstractIFormModel ix.iface.ui.GenericIFormModel ix.iview.ActionFormModel
public class ActionFormModel
An default model to be used to fill an IFormPanel.
Field Summary |
---|
Fields inherited from class ix.iface.ui.AbstractIFormModel |
---|
baseObject, baseObjectClass, dataListeners, displayFields, fieldClasses, fieldNames, isUpdating, listeners, nameFields, settingData |
Constructor Summary | |
---|---|
ActionFormModel(DomainEditorFrame ideFrame)
|
|
ActionFormModel(DomainEditorFrame ideFrame,
java.lang.Class objectClass)
|
|
ActionFormModel(DomainEditorFrame ideFrame,
EditableObject object)
|
Method Summary | |
---|---|
protected java.lang.Class |
deriveClass(java.lang.String field)
|
protected java.util.List |
deriveDisplayFields()
Derives the fields to be used for displaying the object information |
protected java.lang.String |
deriveName(java.lang.String field)
|
java.lang.String |
getFieldName(java.lang.String field)
Gets the title to use for the object's given field (e.g. |
double |
getFieldWeight(java.lang.String field)
Gets the weight of the object's given field name to establish its portion of the display. |
java.lang.Object |
getValue(java.lang.String field)
Get the current object's value for the given field. |
boolean |
setValue(EditableObject o,
java.lang.String field,
java.lang.Object value)
setValue(String field, Object value) calls this too, so only implement one The miniC settings are dealt with as they happen |
Methods inherited from class ix.iface.ui.GenericIFormModel |
---|
deriveClasses, deriveNameFields, deriveNames, setFields, setValue, show, useField |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionFormModel(DomainEditorFrame ideFrame)
public ActionFormModel(DomainEditorFrame ideFrame, java.lang.Class objectClass)
public ActionFormModel(DomainEditorFrame ideFrame, EditableObject object)
Method Detail |
---|
protected java.lang.Class deriveClass(java.lang.String field)
deriveClass
in class GenericIFormModel
protected java.lang.String deriveName(java.lang.String field)
deriveName
in class GenericIFormModel
protected java.util.List deriveDisplayFields()
AbstractIFormModel
deriveDisplayFields
in class GenericIFormModel
public java.lang.Object getValue(java.lang.String field)
AbstractIFormModel
getValue
in interface IFormModel
getValue
in class AbstractIFormModel
public double getFieldWeight(java.lang.String field)
IFormModel
getFieldWeight
in interface IFormModel
getFieldWeight
in class AbstractIFormModel
public java.lang.String getFieldName(java.lang.String field)
IFormModel
getFieldName
in interface IFormModel
getFieldName
in class AbstractIFormModel
public boolean setValue(EditableObject o, java.lang.String field, java.lang.Object value)
setValue
in interface IFormModel
setValue
in class GenericIFormModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |