org.wicketopia.metadata
Class WicketopiaPropertyFacet
java.lang.Object
org.wicketopia.metadata.WicketopiaPropertyFacet
- All Implemented Interfaces:
- Serializable, Comparable, Displayable
public class WicketopiaPropertyFacet
- extends Object
- implements Comparable, Serializable, Displayable
- Since:
- 1.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static WicketopiaPropertyFacet get(org.metastopheles.PropertyMetaData propertyMetaData)
sort
public static void sort(List<org.metastopheles.PropertyMetaData> propertyMetaDataList)
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interface Displayable
setDisplayName
public void setDisplayName(String displayName)
- Specified by:
setDisplayName
in interface Displayable
getEditorFeatures
public Set<ComponentBuilderFeature<EditorBuilder>> getEditorFeatures()
getEditorType
public String getEditorType()
setEditorType
public void setEditorType(String editorType)
getDisplayNameMessageKey
public String getDisplayNameMessageKey()
- Specified by:
getDisplayNameMessageKey
in interface Displayable
setDisplayNameMessageKey
public void setDisplayNameMessageKey(String displayNameMessageKey)
- Specified by:
setDisplayNameMessageKey
in interface Displayable
getOrder
public int getOrder()
setOrder
public void setOrder(int order)
getPropertyMetaData
public org.metastopheles.PropertyMetaData getPropertyMetaData()
getViewerFeatures
public Set<ComponentBuilderFeature<ViewerBuilder>> getViewerFeatures()
getViewerType
public String getViewerType()
setViewerType
public void setViewerType(String viewerType)
isIgnored
public boolean isIgnored()
setIgnored
public void setIgnored(boolean ignored)
addEditorFeature
public void addEditorFeature(ComponentBuilderFeature<EditorBuilder> feature)
addViewerFeature
public void addViewerFeature(ComponentBuilderFeature<ViewerBuilder> feature)
isEnabled
public boolean isEnabled(Context context)
isRequired
public boolean isRequired(Context context)
isVisible
public boolean isVisible(Context context)
setEnabled
public void setEnabled(ContextPredicate predicate,
boolean value)
setRequired
public void setRequired(ContextPredicate predicate,
boolean value)
setVisible
public void setVisible(ContextPredicate predicate,
boolean value)
decorate
public void decorate(ViewerBuilder builder,
Context context)
decorate
public void decorate(EditorBuilder builder,
Context context)
Copyright © 2010-2013. All Rights Reserved.