org.formaria.editor.project.pages.components.properties
Class CardConstraintProperty
java.lang.Object
org.formaria.editor.project.pages.components.properties.PlainProperty
org.formaria.editor.project.pages.components.properties.ListProperty
org.formaria.editor.project.pages.components.properties.LayoutConstraintProperty
org.formaria.editor.project.pages.components.properties.CardConstraintProperty
public class CardConstraintProperty
- extends LayoutConstraintProperty
A helper class for working with card layout manager contraints.
Copyright (c) Formaria Ltd., 2002-2003
License: see license.txt
$Revision: 1.2 $
| 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 |
| Methods inherited from class org.formaria.editor.project.pages.components.properties.PlainProperty |
getBuilder, getDisplayPropertyValue, 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 |
CardConstraintProperty
public CardConstraintProperty()
- Creates a new instance of LayoutConstraintProperty
getPropertyValue
public java.lang.Object getPropertyValue(PropertyHelper propertyHelper,
PageResource pageResource,
java.lang.Object comp,
java.lang.String propertyName)
- Get the value of the property exposed by the component
- Overrides:
getPropertyValue in class LayoutConstraintProperty
- Parameters:
propertyHelper - the helper that is using this propertypageResource - the page resource to which this component belongscomp - the component instancepropertyName - the component property name
- Returns:
- the value
getListItems
public java.lang.String[] getListItems(PropertyHelper helper,
java.lang.Object comp)
- Get the items to display for a list property
- Overrides:
getListItems in class LayoutConstraintProperty
- Parameters:
helper - the calling property helper
- Returns:
- an array of list items
getPropertyType
public int getPropertyType()
- Overrides:
getPropertyType in class LayoutConstraintProperty