org.wicketopia.metadata
Class WicketopiaPropertyFacet

java.lang.Object
  extended by 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

Method Summary
 void addEditorFeature(ComponentBuilderFeature<EditorBuilder> feature)
           
 void addViewerFeature(ComponentBuilderFeature<ViewerBuilder> feature)
           
 int compareTo(Object o)
           
 void decorate(EditorBuilder builder, Context context)
           
 void decorate(ViewerBuilder builder, Context context)
           
static WicketopiaPropertyFacet get(org.metastopheles.PropertyMetaData propertyMetaData)
           
 String getDisplayName()
           
 String getDisplayNameMessageKey()
           
 Set<ComponentBuilderFeature<EditorBuilder>> getEditorFeatures()
           
 String getEditorType()
           
 int getOrder()
           
 org.metastopheles.PropertyMetaData getPropertyMetaData()
           
 Set<ComponentBuilderFeature<ViewerBuilder>> getViewerFeatures()
           
 String getViewerType()
           
 boolean isEnabled(Context context)
           
 boolean isIgnored()
           
 boolean isRequired(Context context)
           
 boolean isVisible(Context context)
           
 void setDisplayName(String displayName)
           
 void setDisplayNameMessageKey(String displayNameMessageKey)
           
 void setEditorType(String editorType)
           
 void setEnabled(ContextPredicate predicate, boolean value)
           
 void setIgnored(boolean ignored)
           
 void setOrder(int order)
           
 void setRequired(ContextPredicate predicate, boolean value)
           
 void setViewerType(String viewerType)
           
 void setVisible(ContextPredicate predicate, boolean value)
           
static void sort(List<org.metastopheles.PropertyMetaData> propertyMetaDataList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.