org.openxava.view.meta
Class MetaPropertyView

java.lang.Object
  extended by org.openxava.view.meta.MetaMemberView
      extended by 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
static int NO_LABEL
           
static int NORMAL_LABEL
           
static int SMALL_LABEL
           
 
Constructor Summary
MetaPropertyView()
           
 
Method Summary
 void addLabelStyle(java.lang.String labelStyle)
           
 IOnChangePropertyAction createOnChangeAction()
           
 int getDisplaySize()
           
 java.lang.String getLabel()
           
 int 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(int 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, setEditor, setSearchListCondition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

MetaPropertyView

public MetaPropertyView()
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 int getLabelFormat()

setLabelFormat

public void setLabelFormat(int 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)