Package org.openxava.web.meta
Class MetaEditor
java.lang.Object
org.openxava.web.meta.MetaEditor
- All Implemented Interfaces:
Cloneable
Editor associated to a type.
- Author:
- Javier Paniza
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid_addFormatterMetaSet(MetaSet metaSet) void_addListFormatterMetaSet(MetaSet metaSet) voidaddAnnotation(String newAnnotation) voidaddProperty(String name, String value) voidaddStereotype(String newStereotype) voidbooleanannotationMatches(MetaEditor editor, MetaProperty mp) booleanbooleanIf this editor depends of some other property or stereotype.booleanDefault label format for the editor.getIcon()getName()intgetProperty(String name) getUrl()booleanbooleanbooleanbooleanhasProperty(String name) booleanbooleanbooleanisFormat()booleanbooleanisFrame()booleanvoidsetAlwaysReload(boolean alwaysReload) voidsetComposite(boolean composite) voidsetDefaultLabelFormat(Integer defaultLabelFormat) voidsetDependsProperties(String properties) voidsetDependsStereotypes(String stereotypes) voidsetFormat(boolean b) voidsetFormatterClassName(String string) voidsetFormatterFromType(boolean formatterFromType) voidsetFrame(boolean b) voidvoidsetInitAction(String initAction) voidsetListFormatterClassName(String listFormatterClassName) voidvoidsetReleaseAction(String releaseAction) voidsetSelectableItems(boolean selectableItems) voidbooleanboolean
-
Constructor Details
-
MetaEditor
public MetaEditor()
-
-
Method Details
-
_addListFormatterMetaSet
-
_addFormatterMetaSet
-
getUrl
-
setUrl
-
addProperty
-
hasProperty
-
getProperty
- Since:
- 6.2
-
getProperties
- Since:
- 7.7
-
cloneMetaEditor
- Since:
- 6.6
-
setDependsStereotypes
-
setDependsProperties
-
depends
-
dependsStereotype
-
hasFormatter
- Throws:
XavaException
-
hasMultipleValuesFormatter
- Throws:
XavaException
-
getFormatterObject
- Throws:
XavaException
-
getFormatter
- Throws:
XavaException
-
getListFormatterObject
- Throws:
XavaException
-
getListFormatter
- Throws:
XavaException
-
getMultipleValuesFormatter
- Throws:
XavaException
-
getMetaPropertyFormatter
- Throws:
XavaException
-
getFormatterClassName
-
setFormatterClassName
-
hasHasSet
public boolean hasHasSet() -
getTypeSet
-
getAnnotationSet
-
getStereotypeSet
-
addType
-
addAnnotation
-
addStereotype
-
typeMatches
-
annotationMatches
-
stereotypeMatches
-
isFormat
public boolean isFormat() -
setFormat
public void setFormat(boolean b) -
isFrame
public boolean isFrame() -
setFrame
public void setFrame(boolean b) -
isFormatterFromType
public boolean isFormatterFromType() -
setFormatterFromType
public void setFormatterFromType(boolean formatterFromType) -
getName
-
setName
-
dependsOnSomeOther
public boolean dependsOnSomeOther()If this editor depends of some other property or stereotype. -
setAlwaysReload
public void setAlwaysReload(boolean alwaysReload) -
isAlwaysReload
public boolean isAlwaysReload() -
isComposite
public boolean isComposite() -
setComposite
public void setComposite(boolean composite) -
getListFormatterClassName
-
setListFormatterClassName
-
getIcon
-
setIcon
-
getInitAction
-
setInitAction
-
getReleaseAction
-
setReleaseAction
-
isSelectableItems
public boolean isSelectableItems() -
setSelectableItems
public void setSelectableItems(boolean selectableItems) -
getPriority
public int getPriority() -
getDefaultLabelFormat
Default label format for the editor.The possible values are NORMAL_LABEL, SMALL_LABEL and NO_LABEL from MetaPropertyView.
If not specified the value will be null.- Since:
- 7.4
-
setDefaultLabelFormat
-