|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.editor.project.pages.components.properties.PlainProperty
org.formaria.editor.project.pages.components.properties.DataProperty
public class DataProperty
A helper class to describe a data binding property
Copyright (c) Formaria Ltd., 2002-2003
$Revision: 1.10 $
| Field Summary | |
|---|---|
protected boolean |
cloneable
|
protected java.lang.String |
dataName
The data property name |
protected java.lang.String |
type
|
| 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 | |
|---|---|
DataProperty(java.lang.String name,
java.lang.String dataType)
The data property name |
|
| Method Summary | |
|---|---|
java.lang.String |
getDataType()
Gets the data type |
boolean |
getIsCloneable()
Can this property value be cloned? |
java.lang.String |
getPropertyName()
Gets the property name |
int |
getPropertyType()
The the data binding for the component |
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 |
protected void |
setData(PageResource pageResource,
java.awt.Component comp,
DataBinding binding)
The the data binding for the component |
void |
setIsCloneable(boolean canClone)
Can this property value be cloned? |
boolean |
setPropertyValue(PropertyHelper propertyHelper,
PageResource pageResource,
java.lang.Object comp,
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.PlainProperty |
|---|
getBuilder, getCellEditor, getDisplayPropertyValue, getEnabled, getExpression, getExpression, getOutputPropertyValue, 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 |
| Field Detail |
|---|
protected java.lang.String dataName
protected java.lang.String type
protected boolean cloneable
| Constructor Detail |
|---|
public DataProperty(java.lang.String name,
java.lang.String dataType)
| Method Detail |
|---|
public java.lang.Object getPropertyValue(PropertyHelper propertyHelper,
PageResource pageResource,
java.lang.Object comp,
java.lang.String propertyName)
getPropertyValue in class PlainPropertypropertyHelper - the helper that is using this propertypageResource - the page resource to which this component belongscomp - the component instancepropertyName - the property name
public boolean setPropertyValue(PropertyHelper propertyHelper,
PageResource pageResource,
java.lang.Object comp,
java.lang.String propertyName,
java.lang.Object value)
setPropertyValue in class PlainPropertyvalue - The value to be set for the propertypropertyHelper - the helper that is using this propertypageResource - the page resource to which this component belongscomp - the component instancepropertyName - the property name
protected void setData(PageResource pageResource,
java.awt.Component comp,
DataBinding binding)
pageResource - The PageResource object taking care of the componentcomp - The component being boundbinding - The DataBinding being bound to the componentpublic boolean getIsCloneable()
getIsCloneable in class PlainPropertypublic void setIsCloneable(boolean canClone)
canClone - true if the property can be clonedpublic java.lang.String getDataType()
public java.lang.String getPropertyName()
getPropertyName in class PlainPropertypublic int getPropertyType()
getPropertyType in class PlainPropertypageResource - The PageResource object taking care of the componentcomp - The component being boundbinding - The DataBinding being bound to the component
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||