|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.dacf.style.StyleElement
the
| Constructor Summary | |
StyleElement(java.lang.String property,
boolean value)
Constructor override for primitive type boolean |
|
StyleElement(java.lang.String property,
byte value)
Constructor override for primitive type byte |
|
StyleElement(java.lang.String property,
char value)
Constructor override for primitive type char |
|
StyleElement(java.lang.String property,
java.lang.Class propertyType)
Constructor |
|
StyleElement(java.lang.String property,
double value)
Constructor override for primitive type double |
|
StyleElement(java.lang.String property,
float value)
Constructor override for primitive type float |
|
StyleElement(java.lang.String property,
int value)
Constructor override for primitive type int |
|
StyleElement(java.lang.String property,
long value)
Constructor override for primitive type long |
|
StyleElement(java.lang.String property,
java.lang.Object value)
Constructor |
|
StyleElement(java.lang.String property,
short value)
Constructor override for primitive type short |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener propertyChangeListener)
A PropertyChange will get fired when a StyleElement changes, or all StyleElements are updated |
boolean |
booleanValue()
getter method for primitive type boolean |
byte |
byteValue()
getter method for primitive type boolean |
char |
charValue()
getter method for primitive type char |
void |
clearResetValue()
Clearing the rest value |
java.lang.Object |
clone()
implementation of Cloneable interface |
boolean |
compare(StyleElement ste)
Returns true if the 2 StyleElements define the same property, same value and same 'protected' state. |
double |
doubleValue()
getter method for primitive type double |
float |
floatValue()
getter method for primitive type float |
java.lang.String |
getDisplayName()
returns Style Element name you want to display in the Style Sheet |
java.lang.String |
getProperty()
returns property name |
java.beans.PropertyEditor |
getPropertyEditor()
returns the PropertyEditor that should be used to edit the value of this StyleElement |
java.lang.Class |
getPropertyType()
returns class type you use to start up the right editor |
java.lang.Object |
getValue()
Beans style getter method |
void |
initResetValue()
Resetting the rest value |
int |
intValue()
getter method for primitive type int |
boolean |
isParentValue()
Check if this is a parent value or not |
boolean |
isProtected()
Check if this is a protected or not |
long |
longValue()
getter method for primitive type long |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
propagate a change to the property editor. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener propertyChangeListener)
A PropertyChange will get fired when a StyleElement changes, or all StyleElements are updated |
void |
reset()
The actual reset |
void |
setDisplayName(java.lang.String name)
sets Style Element name you want to display in the Style Sheet |
void |
setParentValue(boolean pv)
set ParentValue |
void |
setProtected(boolean prt)
set ParentValue |
void |
setValue(boolean value)
setter method for primitive type boolean |
void |
setValue(byte value)
setter method for primitive type byte |
void |
setValue(char value)
setter method for primitive type char |
void |
setValue(double value)
setter method for primitive type double |
void |
setValue(float value)
setter method for primitive type float |
void |
setValue(int value)
setter method for primitive type int |
void |
setValue(long value)
setter method for primitive type long |
void |
setValue(java.lang.Object object)
Beans style setter method |
short |
shortValue()
getter method for primitive type short |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StyleElement(java.lang.String property,
java.lang.Class propertyType)
property - property name
public StyleElement(java.lang.String property,
java.lang.Object value)
property - 'Bean' style property namevalue - Actual value of this property
public StyleElement(java.lang.String property,
boolean value)
property - 'Bean' style property namevalue - Actual value of this property
public StyleElement(java.lang.String property,
byte value)
property - 'Bean' style property namevalue - Actual value of this property
public StyleElement(java.lang.String property,
char value)
property - 'Bean' style property namevalue - Actual value of this property
public StyleElement(java.lang.String property,
short value)
property - 'Bean' style property namevalue - Actual value of this property
public StyleElement(java.lang.String property,
int value)
property - 'Bean' style property namevalue - Actual value of this property
public StyleElement(java.lang.String property,
long value)
property - 'Bean' style property namevalue - Actual value of this property
public StyleElement(java.lang.String property,
float value)
property - 'Bean' style property namevalue - Actual value of this property
public StyleElement(java.lang.String property,
double value)
property - 'Bean' style property namevalue - Actual value of this property| Method Detail |
public java.lang.Object clone()
public boolean compare(StyleElement ste)
public void addPropertyChangeListener(java.beans.PropertyChangeListener propertyChangeListener)
propertyChangeListener - the listener to be addedpublic void removePropertyChangeListener(java.beans.PropertyChangeListener propertyChangeListener)
propertyChangeListener - the listener to be removedpublic void setValue(java.lang.Object object)
object - property valuepublic void setValue(boolean value)
value - property valuepublic void setValue(byte value)
value - property valuepublic void setValue(char value)
value - property valuepublic void setValue(int value)
value - property valuepublic void setValue(long value)
value - property valuepublic void setValue(float value)
value - property valuepublic void setValue(double value)
value - property valuepublic java.lang.Object getValue()
public byte byteValue()
throws StyleCastException
StyleCastException - thrown when cast to simple type fails
public double doubleValue()
throws StyleCastException
StyleCastException - thrown when cast to simple type fails
public float floatValue()
throws StyleCastException
StyleCastException - thrown when cast to simple type fails
public int intValue()
throws StyleCastException
StyleCastException - thrown when cast to simple type fails
public long longValue()
throws StyleCastException
StyleCastException - thrown when cast to simple type fails
public short shortValue()
throws StyleCastException
StyleCastException - thrown when cast to simple type fails
public boolean booleanValue()
throws StyleCastException
StyleCastException - thrown when cast to simple type fails
public char charValue()
throws StyleCastException
StyleCastException - thrown when cast to simple type failspublic void setDisplayName(java.lang.String name)
name - property name you want to display in the Style sheetpublic java.lang.String getDisplayName()
public java.lang.Class getPropertyType()
public java.lang.String getProperty()
public boolean isParentValue()
public void setParentValue(boolean pv)
pv - boolean that indicates if this is a 'shared' parent value.public boolean isProtected()
public void setProtected(boolean prt)
prt - boolean that indicates if non-privileged users will see
this StyleElementpublic java.beans.PropertyEditor getPropertyEditor()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerevt - the Property change eventpublic void initResetValue()
public void clearResetValue()
public void reset()
|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2003, Oracle. All rights reserved.