|
|||||||||
| 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.GenericPropertyHelper
public class GenericPropertyHelper
A helper class to describe the properties of an individual component
Copyright (c) Formaria Ltd., 2002-2006
$Revision: 1.33 $
| 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 | |
|---|---|
GenericPropertyHelper()
Creates a new instance of GenericPropertyHelper |
|
| Method Summary | |
|---|---|
void |
addDefaultValues(java.lang.String propName,
java.lang.String defValue)
Add a set of default values for a property |
void |
addProperties(java.lang.String[] propNames)
Add the named properties |
void |
addProperty(java.lang.String propName)
Add the named properties |
void |
setClassName(java.lang.String name)
Set the name of the class that this helper manages |
void |
setComponentType(java.lang.String type)
Set the component type name e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericPropertyHelper()
| Method Detail |
|---|
public void setClassName(java.lang.String name)
name - the class namepublic void setComponentType(java.lang.String type)
type - the type namepublic void addProperties(java.lang.String[] propNames)
propNames - an array of property namespublic void addProperty(java.lang.String propName)
propName - an array of property names
public void addDefaultValues(java.lang.String propName,
java.lang.String defValue)
propName - the property namedefValue - the default propeprty value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||