|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.favabeans.base.DefaultFacet
|
+--org.favabeans.base.SimpleProperties
A SimpleProperties is an implementation of
Properties that provides the standard properties and
nothing more. Values for the standard properties are obtained from
the FavaBeans type metadata registry, FavaBeans.TYPE_METADATA.
| Constructor Summary | |
SimpleProperties(Object primaryObject)
|
|
| Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener l)
|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener l)
|
Property[] |
getAdditionalProperties()
Additional properties defined by the application, and not provided as results of a getpropertyNameProperty()
method on this interface. |
String |
getDisplayName()
Shortcut to value of getDisplayNameProperty(). |
Property |
getDisplayNameProperty()
The localized display name of this object. |
Property |
getExpertProperty()
This property is used to distinguish between those objects that are intended for expert users from those that are intended for normal users. |
Property |
getHiddenProperty()
This property is used to identify objects that are intended only for tool use, and which should not be exposed to humans. |
Icon |
getLargeIcon()
Shortcut to value of getLargeIconProperty(). |
Property |
getLargeIconProperty()
A large (32 pixels square) icon to represent this object. |
String |
getName()
Shortcut to value of getNameProperty(). |
Property |
getNameProperty()
The programmatic name of this object. |
Property |
getPreferredProperty()
This property is used to identify objects that are particularly important for presenting to humans. |
String |
getShortDescription()
Shortcut to value of getPreferredProperty(). |
Property |
getShortDescriptionProperty()
The short description of the object. |
Icon |
getSmallIcon()
Shortcut to value of getSmallIconProperty(). |
Property |
getSmallIconProperty()
A small (16 pixels square) icon to represent this object in menus and toolbars. |
boolean |
isExpert()
Shortcut to value of getExpertProperty(). |
boolean |
isHidden()
Shortcut to value of getHiddenProperty(). |
boolean |
isPreferred()
Shortcut to value of getPreferredProperty(). |
void |
removePropertyChangeListener(PropertyChangeListener l)
|
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener l)
|
| Methods inherited from class org.favabeans.base.DefaultFacet |
finalize, getFacet, getPrimaryObject |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.favabeans.base.Facet |
getPrimaryObject |
| Constructor Detail |
public SimpleProperties(Object primaryObject)
| Method Detail |
public String getName()
PropertiesProperties.getNameProperty().getName in interface Propertiespublic String getDisplayName()
PropertiesProperties.getDisplayNameProperty().getDisplayName in interface Propertiespublic boolean isExpert()
PropertiesProperties.getExpertProperty().isExpert in interface Propertiespublic boolean isHidden()
PropertiesProperties.getHiddenProperty().isHidden in interface Propertiespublic boolean isPreferred()
PropertiesProperties.getPreferredProperty().isPreferred in interface Propertiespublic String getShortDescription()
PropertiesProperties.getPreferredProperty().
The short description of the object.getShortDescription in interface Propertiespublic Icon getSmallIcon()
PropertiesProperties.getSmallIconProperty().getSmallIcon in interface Propertiespublic Icon getLargeIcon()
PropertiesProperties.getLargeIconProperty().getLargeIcon in interface Propertiespublic Property getNameProperty()
PropertiesgetNameProperty in interface Propertiespublic Property getDisplayNameProperty()
PropertiesgetDisplayNameProperty in interface Propertiespublic Property getExpertProperty()
PropertiesgetExpertProperty in interface Propertiespublic Property getHiddenProperty()
PropertiesgetHiddenProperty in interface Propertiespublic Property getPreferredProperty()
PropertiesgetPreferredProperty in interface Propertiespublic Property getShortDescriptionProperty()
PropertiesgetShortDescriptionProperty in interface Propertiespublic Property getSmallIconProperty()
PropertiesgetSmallIconProperty in interface Propertiespublic Property getLargeIconProperty()
PropertiesgetLargeIconProperty in interface Propertiespublic Property[] getAdditionalProperties()
PropertiesgetpropertyNameProperty()
method on this interface.getAdditionalProperties in interface Propertiespublic void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener in interface Propertiespublic void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener in interface Properties
public void addPropertyChangeListener(String propertyName,
PropertyChangeListener l)
addPropertyChangeListener in interface Properties
public void removePropertyChangeListener(String propertyName,
PropertyChangeListener l)
removePropertyChangeListener in interface Properties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||