|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Property
A property allows details to be retrieved and set for individual bean properties.
Method Summary | |
---|---|
String[] |
getAllowedValues()
Gets the allowed values for this property. |
String |
getDescription()
Get the description of the property. |
Editor |
getEditor()
Get an editor component for the property. |
IndexedProperty |
getIndexedProperty()
Get an indexed property inspector if available. |
String |
getName()
Get the name of this property. |
Class |
getType()
Get the class of this property. |
Object |
getValue()
Get the value of this property. |
boolean |
isExpert()
Test if the property is for expert users only. |
boolean |
isHidden()
Test if the property is not for GUI configuration. |
boolean |
isPreferred()
Test if the property should definitely be configured. |
boolean |
isReadOnly()
Tests if a property is readonly. |
void |
setValue(Object arg)
Set the value of the property to the given argument. |
Method Detail |
---|
String getName()
String getDescription()
Class getType()
boolean isExpert()
boolean isPreferred()
boolean isHidden()
Editor getEditor() throws PropertyException
PropertyException
- On error.String[] getAllowedValues()
Object getValue() throws PropertyException
PropertyException
- On error.boolean isReadOnly()
IndexedProperty getIndexedProperty()
void setValue(Object arg) throws ReadOnlyException, PropertyException
arg
- The argument. For indexed properties,
this is the entire array. The necessary conversion
from wrapper types to primitive types will happen
internally.
ReadOnlyException
- If there is no setter
method with the required argument.
PropertyException
- If the set fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |