org.formaria.editor.project.pages.components.properties
Class ComponentNameProperty

java.lang.Object
  extended by org.formaria.editor.project.pages.components.properties.PlainProperty
      extended by org.formaria.editor.project.pages.components.properties.BuiltinProperty
          extended by org.formaria.editor.project.pages.components.properties.ComponentNameProperty

public class ComponentNameProperty
extends BuiltinProperty


Field Summary
 
Fields inherited from class org.formaria.editor.project.pages.components.properties.BuiltinProperty
builtinPropertyNames
 
Fields inherited from class org.formaria.editor.project.pages.components.properties.PlainProperty
argType, BOOLEAN_PROPERTY, COMPONENT_NAME_PROPERTY, currentProject, DATA_PROPERTY, DOUBLE_PROPERTY, EVENT_HANDLER_PROPERTY, getterMethod, getterName, IMAGE_NAME_PROPERTY, INT_LIST_PROPERTY, INTEGER_PROPERTY, isEnabled, LANG_PROPERTY, LAYOUT_CONSTRAINT_PROPERTY, LAYOUT_PROPERTY, LIST_PROPERTY, PLAIN_PROPERTY, propertyName, setterMethod, setterName, STYLE_PROPERTY, VALIDATION_PROPERTY
 
Constructor Summary
ComponentNameProperty(int type)
           
 
Method Summary
 int getPropertyType()
           
 boolean setPropertyValue(PropertyHelper propertyHelper, PageResource pageResource, java.lang.Object selectedObject, java.lang.String propertyName, java.lang.Object value)
          Set the value of the property exposed by the component
 
Methods inherited from class org.formaria.editor.project.pages.components.properties.BuiltinProperty
getPropertyValue
 
Methods inherited from class org.formaria.editor.project.pages.components.properties.PlainProperty
getBuilder, getCellEditor, getDisplayPropertyValue, getEnabled, getExpression, getExpression, getIsCloneable, getOutputPropertyValue, getPropertyName, getViaReflection, isDataBindingProperty, setEnabled, setExpression, setExpression, setGetterName, setSetterName, setViaReflection, setViaReflection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentNameProperty

public ComponentNameProperty(int type)
Method Detail

setPropertyValue

public boolean setPropertyValue(PropertyHelper propertyHelper,
                                PageResource pageResource,
                                java.lang.Object selectedObject,
                                java.lang.String propertyName,
                                java.lang.Object value)
Set the value of the property exposed by the component

Overrides:
setPropertyValue in class BuiltinProperty
Parameters:
propertyHelper - the helper that is using this property
pageResource - the page resource to which this component belongs
selectedObject - the component instance
propertyName - the property name
Returns:
true is the property is set OK

getPropertyType

public int getPropertyType()
Overrides:
getPropertyType in class BuiltinProperty