| 
EchoPoint 1.0  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.FeatureDescriptor
echopoint.stylesheet.StyleAttrDescriptor
The StyleAttrDescriptor describes a single
 style attribute.  It encapulates the name, type and optionally
 a bean property name for the style attribute.
 
 It is derived from FeatureDescriptor so that it
 has a "JavaBeans" feel about it.
| Constructor Summary | |
StyleAttrDescriptor(java.lang.String styleAttrName,
                    java.lang.Class styleAttrType)
Constructs a StyleAttrDescriptor with the given style attribute name, attribute value class and an null beanPropertyName and symbolicValues.  | 
|
StyleAttrDescriptor(java.lang.String styleAttrName,
                    java.lang.Class styleAttrType,
                    java.lang.String styleBeanPropertyName)
Constructs a StyleAttrDescriptor with the given style attribute name, attribute value class and an optional beanPropertyName and null symbolicValues.  | 
|
StyleAttrDescriptor(java.lang.String styleAttrName,
                    java.lang.Class styleAttrType,
                    java.lang.String styleBeanPropertyName,
                    SymbolicValue[] styleSymbolicValues)
Constructs a StyleAttrDescriptor with the given style attribute name, attribute value class and an optional beanPropertyName and symbolic values array.  | 
|
| Method Summary | |
 java.lang.String | 
getBeanPropertyName()
Returns the name of a bean property that can be called to get or set the equivalent of this style.  | 
 java.lang.String | 
getName()
Returns the name of the style attribute.  | 
 SymbolicValue[] | 
getSymbolicValues()
Gets the symbolic values associated with the style attribute  | 
 java.lang.Class | 
getType()
Returns the Class type of the style attribute value, for example nextapp.echo.Color.class or nextapp.echo.Font.class  | 
 void | 
setBeanPropertyName(java.lang.String beanPropertyName)
Sets the name of a bean property that can be called to get or set the equivalent of this style.  | 
 void | 
setName(java.lang.String name)
Sets the name of the style attribute.  | 
 void | 
setSymbolicValues(SymbolicValue[] values)
Sets the symbolic values associated with the style attribute.  | 
 void | 
setType(java.lang.Class classStyleValue)
Sets the Class type of the style attribute value, for example nextapp.echo.Color.class or nextapp.echo.Font.class  | 
 java.lang.String | 
toString()
 | 
| Methods inherited from class java.beans.FeatureDescriptor | 
attributeNames, getDisplayName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setPreferred, setShortDescription, setValue | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public StyleAttrDescriptor(java.lang.String styleAttrName,
                           java.lang.Class styleAttrType)
styleAttrName - - the name of the style attributestyleAttrType - - the type of the style attribute value
public StyleAttrDescriptor(java.lang.String styleAttrName,
                           java.lang.Class styleAttrType,
                           java.lang.String styleBeanPropertyName)
styleAttrName - - the name of the style attributestyleAttrType - - the type of the style attribute valuestyleBeanPropertyName - - an optional bean property name which can set the style
public StyleAttrDescriptor(java.lang.String styleAttrName,
                           java.lang.Class styleAttrType,
                           java.lang.String styleBeanPropertyName,
                           SymbolicValue[] styleSymbolicValues)
styleAttrName - - the name of the style attributestyleAttrType - - the type of the style attribute valuestyleBeanPropertyName - - an optional bean property name which can set the stylestyleSymbolicValues - - an array of symbolic values| Method Detail | 
public java.lang.String getName()
FeatureDescriptor.getName()public void setName(java.lang.String name)
FeatureDescriptor.setName(java.lang.String)public java.lang.String getBeanPropertyName()
public java.lang.Class getType()
public void setBeanPropertyName(java.lang.String beanPropertyName)
beanPropertyName - - the bean propertyNamepublic void setType(java.lang.Class classStyleValue)
classStyleValue - - a style attribute class typepublic SymbolicValue[] getSymbolicValues()
public void setSymbolicValues(SymbolicValue[] values)
values - an arry of symbolic values or nullpublic java.lang.String toString()
Object.toString()
  | 
EchoPoint 1.0  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||