|
|||||||||
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 get propertyNameProperty()
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()
Properties
Properties.getNameProperty()
.getName
in interface Properties
public String getDisplayName()
Properties
Properties.getDisplayNameProperty()
.getDisplayName
in interface Properties
public boolean isExpert()
Properties
Properties.getExpertProperty()
.isExpert
in interface Properties
public boolean isHidden()
Properties
Properties.getHiddenProperty()
.isHidden
in interface Properties
public boolean isPreferred()
Properties
Properties.getPreferredProperty()
.isPreferred
in interface Properties
public String getShortDescription()
Properties
Properties.getPreferredProperty()
.
The short description of the object.getShortDescription
in interface Properties
public Icon getSmallIcon()
Properties
Properties.getSmallIconProperty()
.getSmallIcon
in interface Properties
public Icon getLargeIcon()
Properties
Properties.getLargeIconProperty()
.getLargeIcon
in interface Properties
public Property getNameProperty()
Properties
getNameProperty
in interface Properties
public Property getDisplayNameProperty()
Properties
getDisplayNameProperty
in interface Properties
public Property getExpertProperty()
Properties
getExpertProperty
in interface Properties
public Property getHiddenProperty()
Properties
getHiddenProperty
in interface Properties
public Property getPreferredProperty()
Properties
getPreferredProperty
in interface Properties
public Property getShortDescriptionProperty()
Properties
getShortDescriptionProperty
in interface Properties
public Property getSmallIconProperty()
Properties
getSmallIconProperty
in interface Properties
public Property getLargeIconProperty()
Properties
getLargeIconProperty
in interface Properties
public Property[] getAdditionalProperties()
Properties
get
propertyNameProperty()
method on this interface.getAdditionalProperties
in interface Properties
public void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener
in interface Properties
public 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 |