|
org.openide.nodes 6.7.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.FeatureDescriptor
org.openide.nodes.Node.PropertySet
public abstract static class Node.PropertySet
Class that represents one set of properties. A usual bean has three sets of properties: normal, expert, and events.
You may associate context help with this object, if desired, by setting
a custom property with the name helpID
and value of type String giving a help ID.
Normally this is unnecessary as help for the whole Node will be used by default.
| Constructor Summary | |
|---|---|
Node.PropertySet()
Default constructor. |
|
Node.PropertySet(String name,
String displayName,
String shortDescription)
Create a property set. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object propertySet)
|
String |
getHtmlDisplayName()
Return a variant of the display name containing HTML markup conforming to the limited subset of font-markup HTML supported by the lightweight HTML renderer org.openide.awt.HtmlRenderer (font color, bold, italic and strikethrough supported; font colors can be UIManager color keys if they are prefixed with a ! character, i.e. |
abstract Node.Property[] |
getProperties()
Get the list of contained properties. |
int |
hashCode()
|
| Methods inherited from class java.beans.FeatureDescriptor |
|---|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Node.PropertySet()
public Node.PropertySet(String name,
String displayName,
String shortDescription)
name - system name of the property setdisplayName - human presentable nameshortDescription - description for the set| Method Detail |
|---|
public abstract Node.Property[] getProperties()
Node.Property and Node.IndexedProperty elements.
public boolean equals(Object propertySet)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String getHtmlDisplayName()
This method should return either an HTML display name
or null; it should not return the non-html display name if no
markup is needed.
HtmlRenderer
|
org.openide.nodes 6.7.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||