|
|||||||||
| 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.BeanProperties
| Constructor Summary | |
BeanProperties(Object primaryObject)
|
|
| Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener l)
|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener l)
|
protected Collection |
buildNonBeanAdditionalProperties()
Build and return a set of additional Property
objects which are not obtainable via Bean introspection. |
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)
|
protected boolean |
shouldIncludeBeanProperty(PropertyDescriptor pd)
Indicate whether a given introspected Bean property should be included in the Properties Facet of
the primary object. |
| 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 BeanProperties(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 Propertiesprotected boolean shouldIncludeBeanProperty(PropertyDescriptor pd)
Properties Facet of
the primary object.
This method is for the convenience of subclasses. The
default implementation of this method always returns
true.
pd - the Bean property descriptor for the given property.true if the property should be included;
false otherwise.protected Collection buildNonBeanAdditionalProperties()
Property
objects which are not obtainable via Bean introspection.
This method is for the convenience of subclasses. The default implementation of this method returns an empty collection.
Property objects.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||