org.tynamo.pages
Class PropertyEditBlocks

java.lang.Object
  extended by org.tynamo.pages.PropertyEditBlocks

public class PropertyEditBlocks
extends Object

A page that exists to contain blocks used to edit different types of properties. The blocks on this page are contributed into the BeanBlockSource service configuration.

See Also:
BeanBlockContribution, BeanEditForm

Constructor Summary
PropertyEditBlocks()
           
 
Method Summary
 org.apache.tapestry5.corelib.data.BlankOption getBlankOption()
           
 org.apache.tapestry5.beaneditor.BeanModel getEmbeddedModel()
           
 String getHelpMessage()
          Looks for a help message within the messages based on the id.
 TynamoPropertyDescriptor getPropertyDescriptor()
           
 List getSelected()
          Palette's parameter "selected" only accepts java.util.List If the collection is a java.util.Set it needs to get converted
 org.apache.tapestry5.SelectModel getSelectModelForProperty()
           
 org.apache.tapestry5.FieldValidator getSelectValidator()
           
 org.apache.tapestry5.FieldTranslator getTextAreaTranslator()
           
 org.apache.tapestry5.FieldValidator getTextAreaValidator()
           
 org.apache.tapestry5.FieldTranslator getTextFieldTranslator()
           
 org.apache.tapestry5.FieldValidator getTextFieldValidator()
           
 org.apache.tapestry5.ValueEncoder getValueEncoderForProperty()
          Provide a value encoder for a type.
 boolean isNotEditable()
           
 boolean isPropertyValueInstanceOfList()
           
 void setSelected(List selected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyEditBlocks

public PropertyEditBlocks()
Method Detail

getPropertyDescriptor

public TynamoPropertyDescriptor getPropertyDescriptor()

getSelectModelForProperty

public org.apache.tapestry5.SelectModel getSelectModelForProperty()

getValueEncoderForProperty

public org.apache.tapestry5.ValueEncoder getValueEncoderForProperty()
Provide a value encoder for a type.

Returns:

getTextFieldTranslator

public org.apache.tapestry5.FieldTranslator getTextFieldTranslator()

getTextFieldValidator

public org.apache.tapestry5.FieldValidator getTextFieldValidator()

getTextAreaTranslator

public org.apache.tapestry5.FieldTranslator getTextAreaTranslator()

getTextAreaValidator

public org.apache.tapestry5.FieldValidator getTextAreaValidator()

getSelectValidator

public org.apache.tapestry5.FieldValidator getSelectValidator()

isPropertyValueInstanceOfList

public boolean isPropertyValueInstanceOfList()

getSelected

public List getSelected()
Palette's parameter "selected" only accepts java.util.List If the collection is a java.util.Set it needs to get converted


setSelected

public void setSelected(List selected)

isNotEditable

public boolean isNotEditable()

getEmbeddedModel

public org.apache.tapestry5.beaneditor.BeanModel getEmbeddedModel()

getHelpMessage

public String getHelpMessage()
Looks for a help message within the messages based on the id.


getBlankOption

public org.apache.tapestry5.corelib.data.BlankOption getBlankOption()


Copyright © 2004-2012. All Rights Reserved.