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

java.lang.Object
  extended by org.formaria.editor.project.pages.components.properties.PlainProperty
      extended by org.formaria.editor.project.pages.components.properties.ListProperty
          extended by org.formaria.editor.project.pages.components.properties.IntegerListProperty

public class IntegerListProperty
extends ListProperty

A customization of the ListProperty

Copyright (c) Formaria Ltd., 2002-2006

$Revision: 1.6 $


Field Summary
 
Fields inherited from class org.formaria.editor.project.pages.components.properties.ListProperty
getterMethod, ids, options
 
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, 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
IntegerListProperty(java.lang.String name, java.lang.String[] listOptions, int[] listIds)
          Creates a new instance of IntListProperty
IntegerListProperty(java.lang.String name, java.lang.String getterMethodName, java.lang.String setterMethodName, java.lang.String[] listOptions, int[] listIds)
          Creates a new instance of IntListProperty
 
Method Summary
 java.lang.Object getOutputPropertyValue(PropertyHelper propertyHelper, PageResource pageResource, java.lang.Object comp, java.lang.String propertyName)
          Get the value of the property written to the XML file
 
Methods inherited from class org.formaria.editor.project.pages.components.properties.ListProperty
getCellEditor, getListItems, getPropertyType, getPropertyValue, setPropertyValue, setPropertyValue
 
Methods inherited from class org.formaria.editor.project.pages.components.properties.PlainProperty
getBuilder, getDisplayPropertyValue, getEnabled, getExpression, getExpression, getIsCloneable, 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

IntegerListProperty

public IntegerListProperty(java.lang.String name,
                           java.lang.String[] listOptions,
                           int[] listIds)
Creates a new instance of IntListProperty


IntegerListProperty

public IntegerListProperty(java.lang.String name,
                           java.lang.String getterMethodName,
                           java.lang.String setterMethodName,
                           java.lang.String[] listOptions,
                           int[] listIds)
Creates a new instance of IntListProperty

Method Detail

getOutputPropertyValue

public java.lang.Object getOutputPropertyValue(PropertyHelper propertyHelper,
                                               PageResource pageResource,
                                               java.lang.Object comp,
                                               java.lang.String propertyName)
Get the value of the property written to the XML file

Overrides:
getOutputPropertyValue in class PlainProperty
Parameters:
pageResource - the page resource to which this component belongs
comp - the component instance
propertyName - the component property name
propertyHelper - the helper that is using this property
Returns:
the value