|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.meta.view.IdentityMetaForm
public class IdentityMetaForm
MetaForm implementation that presents an "identity" view of the associated meta-class. The "identity" view represents all meta-class properties in the order that the meta-class returns them.
Field Summary |
---|
Fields inherited from interface org.progeeks.meta.view.MetaForm |
---|
FORM_ANNOTATION |
Constructor Summary | |
---|---|
IdentityMetaForm()
Creates a new meta-form with no associated meta-class. |
|
IdentityMetaForm(MetaClass metaClass)
Creates an identity meta-form associated with the specified meta-class. |
|
IdentityMetaForm(java.lang.String metaClassName)
Creates an identity meta-form for the specified class. |
Method Summary | |
---|---|
MetaClass |
getMetaClass()
Returns the meta-class to which this form refers. |
int |
getPropertyCount()
Returns the number of properties in this form. |
PropertyInfo |
getPropertyInfo(int index)
Returns the PropertyInfo for the specified index. |
PropertyMutator |
getPropertyMutator(MetaObject target,
int index)
Returns a PropertyMutator from the specified MetaObject for the specified index. |
java.util.List |
getPropertyNames()
Returns a list of property names in the order that they should appear in any UIs referencing this form. |
void |
setMetaClass(MetaClass metaClass)
Sets the meta-class associated with this identity form. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdentityMetaForm()
public IdentityMetaForm(MetaClass metaClass)
public IdentityMetaForm(java.lang.String metaClassName)
Method Detail |
---|
public void setMetaClass(MetaClass metaClass)
public MetaClass getMetaClass()
getMetaClass
in interface MetaForm
public java.util.List getPropertyNames()
getPropertyNames
in interface MetaForm
public int getPropertyCount()
getPropertyCount
in interface MetaForm
public PropertyInfo getPropertyInfo(int index)
getPropertyInfo
in interface MetaForm
public PropertyMutator getPropertyMutator(MetaObject target, int index)
getPropertyMutator
in interface MetaForm
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |