|
|||||||||
| 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.MultipleSelectionHelper
public class MultipleSelectionHelper
A helper to help in the manipulation of multiple components
Copyright (c) Formaria Ltd., 2002-2003
$Revision: 1.3 $
| Field Summary | |
|---|---|
protected static int |
HEIGHT_VALUE
|
protected static int |
LEFT_VALUE
|
protected static int |
numBasicProperties
|
protected static java.lang.String[] |
propertyName
|
protected static int |
TOP_VALUE
|
protected static int |
WIDTH_VALUE
|
| 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 | |
|---|---|
MultipleSelectionHelper()
A helper for multiple component types |
|
| Method Summary | |
|---|---|
java.lang.String |
getClassName()
Get the class name for this component type |
java.lang.String |
getComponentType()
Get the friendly type name for this component |
java.lang.String |
getPropertyValue(java.awt.Component comp,
int i)
Get the value of the property exposed by the component |
boolean |
setPropertyValue(PageResource pageResource,
java.lang.Object obj,
int i,
java.lang.Object objValue)
Set the value of the property exposed by the component |
void |
setSelectedComponents(IPagePanel cpp,
java.util.Vector comps)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String[] propertyName
protected static final int numBasicProperties
protected static final int LEFT_VALUE
protected static final int TOP_VALUE
protected static final int WIDTH_VALUE
protected static final int HEIGHT_VALUE
| Constructor Detail |
|---|
public MultipleSelectionHelper()
| Method Detail |
|---|
public java.lang.String getClassName()
getClassName in class PropertyHelperpublic java.lang.String getComponentType()
getComponentType in class PropertyHelper
public void setSelectedComponents(IPagePanel cpp,
java.util.Vector comps)
public java.lang.String getPropertyValue(java.awt.Component comp,
int i)
comp - the component instancei - the component property index
public boolean setPropertyValue(PageResource pageResource,
java.lang.Object obj,
int i,
java.lang.Object objValue)
obj - the component instancei - the component property indexobjValue - the value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||