|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectartofillusion.ui.PropertyEditor
public class PropertyEditor
This class presents a user interface for editing the value of a Property.
Given a Property object, it constructs an appropriate Widget based on the type of value
it represents and the allowed values. The Widget dispatches a ValueChangedEvent
whenever its value changes.
| Constructor Summary | |
|---|---|
PropertyEditor(Property property,
java.lang.Object value)
Create a PropertyEditor to edit the value of a Property. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLabel()
Get the label to display with this component. |
Property |
getProperty()
Get the Property this editor is for. |
java.lang.Object |
getValue()
Get the value of the Property. |
buoy.widget.Widget |
getWidget()
Get the Widget representing the user interface for editing the Property. |
void |
setValue(java.lang.Object value)
Set the value of the Property. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyEditor(Property property,
java.lang.Object value)
property - the Property to editvalue - the initial value of the Property| Method Detail |
|---|
public Property getProperty()
public buoy.widget.Widget getWidget()
public java.lang.String getLabel()
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||