Package org.openxava.view.meta
Class MetaPropertyView
- java.lang.Object
-
- org.openxava.view.meta.MetaMemberView
-
- org.openxava.view.meta.MetaPropertyView
-
- All Implemented Interfaces:
java.io.Serializable
public class MetaPropertyView extends MetaMemberView implements java.io.Serializable
- Author:
- Javier Paniza, Trifon Trifonov
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intNO_LABELstatic intNORMAL_LABELstatic intSMALL_LABEL
-
Constructor Summary
Constructors Constructor Description MetaPropertyView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLabelStyle(java.lang.String labelStyle)IOnChangePropertyActioncreateOnChangeAction()intgetDisplaySize()java.lang.StringgetLabel()java.lang.IntegergetLabelFormat()java.lang.StringgetLabelStyle()java.lang.StringgetOnChangeActionClassName()java.lang.StringgetPropertyName()booleanhasOnChangeAction()booleanisReadOnly()voidsetDisplaySize(int displaySize)voidsetLabel(java.lang.String label)voidsetLabelFormat(java.lang.Integer labelFormat)voidsetLabelStyle(java.lang.String labelStyle)voidsetOnChangeActionClassName(java.lang.String string)voidsetPropertyName(java.lang.String propertyName)voidsetReadOnly(boolean b)-
Methods inherited from class org.openxava.view.meta.MetaMemberView
addActionName, addAlwaysEnabledActionName, getActionsNames, getAlwaysEnabledActionsNames, getEditor, getSearchListCondition, isCollapsed, isReadOnlyOnCreate, setCollapsed, setEditor, setReadOnlyOnCreate, setSearchListCondition
-
-
-
-
Field Detail
-
NORMAL_LABEL
public static final int NORMAL_LABEL
- See Also:
- Constant Field Values
-
SMALL_LABEL
public static final int SMALL_LABEL
- See Also:
- Constant Field Values
-
NO_LABEL
public static final int NO_LABEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPropertyName
public java.lang.String getPropertyName()
-
setPropertyName
public void setPropertyName(java.lang.String propertyName)
-
getLabel
public java.lang.String getLabel()
-
setLabel
public void setLabel(java.lang.String label)
-
isReadOnly
public boolean isReadOnly()
-
setReadOnly
public void setReadOnly(boolean b)
-
hasOnChangeAction
public boolean hasOnChangeAction()
-
createOnChangeAction
public IOnChangePropertyAction createOnChangeAction() throws XavaException
- Throws:
XavaException
-
getOnChangeActionClassName
public java.lang.String getOnChangeActionClassName()
-
setOnChangeActionClassName
public void setOnChangeActionClassName(java.lang.String string)
-
getLabelFormat
public java.lang.Integer getLabelFormat()
-
setLabelFormat
public void setLabelFormat(java.lang.Integer labelFormat)
-
getDisplaySize
public int getDisplaySize()
-
setDisplaySize
public void setDisplaySize(int displaySize)
-
getLabelStyle
public java.lang.String getLabelStyle()
-
setLabelStyle
public void setLabelStyle(java.lang.String labelStyle)
-
addLabelStyle
public void addLabelStyle(java.lang.String labelStyle)
-
-