|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.editor.project.pages.components.PropertyHelper
org.formaria.editor.project.pages.components.LayerHelper
public class LayerHelper
A helper for the Page Layers
Copyright (c) Formaria Ltd., 2002-2008
| Field Summary |
|---|
| Fields inherited from class org.formaria.editor.project.pages.components.PropertyHelper |
|---|
alignmentOptionIds, alignmentOptions, allowsChildren, builtinProperties, className, componentType, defaultValues, defExt, extensions, fileTypeDesc, horzScrollOptionIds, isSwing, lblAlignmentOptionIds, lblAlignmentOptions, numBuiltinProperties, properties, propertyTypes, restrictsSize, scrollOptions, usesContentFile, vertScrollOptionIds |
| Constructor Summary | |
|---|---|
LayerHelper()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDisplayPropertyValue(PageResource pageResource,
java.lang.Object comp,
java.lang.String propertyName)
Get the value of the property displayed by the editor |
java.lang.String |
getPropertyValue(PageResource pageResource,
java.lang.Object comp,
java.lang.String propertyName)
Get the value of the property exposed by the component |
boolean |
isLayoutOwner()
Is this helper's component oen that supports layouts? |
boolean |
isReadOnly(java.lang.String propertyName)
Is the property read-only? |
boolean |
setPropertyValue(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.PropertyHelper |
|---|
accepts, addPropertyType, allowsChildren, cleanupClassName, getBuilder, getCellEditor, getClassName, getComponentType, getDefaultExtension, getDefaultValue, getEnabled, getEventClass, getEventMask, getExpression, getFileDescription, getFileExtensions, getListItems, getNumBuiltinProperties, getNumProperties, getOutputPropertyValue, getProperties, getProperty, getProperty, getPropertyDisplayName, getPropertyName, getPropertyTag, getPropertyType, getPropertyTypeName, isLangProperty, isListProperty, isSwing, restrictsSize, setAllowsChildren, setComponent, setCopiedProperties, setExpression, setFileExtensions, setRestrictsSize, setSwing, setUsesContentFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LayerHelper()
| Method Detail |
|---|
public boolean isReadOnly(java.lang.String propertyName)
PropertyHelper
isReadOnly in class PropertyHelperpropertyName - the name of the selected property
public boolean isLayoutOwner()
isLayoutOwner in class PropertyHelper
public boolean setPropertyValue(PageResource pageResource,
java.lang.Object comp,
java.lang.String propertyName,
java.lang.Object value)
setPropertyValue in class PropertyHelperpageResource - the page resource to which this component belongscomp - the component instancepropertyName - the component property name
public java.lang.String getPropertyValue(PageResource pageResource,
java.lang.Object comp,
java.lang.String propertyName)
getPropertyValue in class PropertyHelperpageResource - the page resource to which this component belongscomp - the component instancepropertyName - the component property name
public java.lang.String getDisplayPropertyValue(PageResource pageResource,
java.lang.Object comp,
java.lang.String propertyName)
getDisplayPropertyValue in class PropertyHelperpageResource - the page resource to which this component belongscomp - the component instancepropertyName - the component property name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||