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 int
NO_LABEL
static int
NORMAL_LABEL
static int
SMALL_LABEL
-
Constructor Summary
Constructors Constructor Description MetaPropertyView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLabelStyle(java.lang.String labelStyle)
IOnChangePropertyAction
createOnChangeAction()
int
getDisplaySize()
java.lang.String
getLabel()
java.lang.Integer
getLabelFormat()
java.lang.String
getLabelStyle()
java.lang.String
getOnChangeActionClassName()
java.lang.String
getPropertyName()
boolean
hasOnChangeAction()
boolean
isReadOnly()
void
setDisplaySize(int displaySize)
void
setLabel(java.lang.String label)
void
setLabelFormat(java.lang.Integer labelFormat)
void
setLabelStyle(java.lang.String labelStyle)
void
setOnChangeActionClassName(java.lang.String string)
void
setPropertyName(java.lang.String propertyName)
void
setReadOnly(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)
-
-