|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.style.PropertyStyle
public class PropertyStyle
Applies a style using a property of the target component.
| Constructor Summary | |
|---|---|
PropertyStyle()
Constructor with no property |
|
PropertyStyle(String propertyName,
Object propertyValue)
Constructor. |
|
| Method Summary | |
|---|---|
void |
apply(Component component)
Applies this style to this component |
String |
getPropertyName()
Gets the property name |
Object |
getPropertyValue()
Gets the property value |
void |
setPropertyName(String propertyName)
Sets the property name |
void |
setPropertyValue(Object propertyValue)
Sets the property value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyStyle(String propertyName,
Object propertyValue)
propertyName - Property to set on the componentpropertyValue - Property value to set on the componentpublic PropertyStyle()
| Method Detail |
|---|
public void apply(Component component)
Style
apply in interface Stylecomponent - Component to apply the style topublic String getPropertyName()
public void setPropertyName(String propertyName)
propertyName - Property namepublic Object getPropertyValue()
public void setPropertyValue(Object propertyValue)
propertyValue - Property value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||