Package | Description |
---|---|
org.openide.nodes |
NetBeans uses
nodes
to represent JavaBeans or other property containers, formed into a
hierarchical tree.
|
Modifier and Type | Class and Description |
---|---|
static class |
PropertySupport.Name
Support for the name property of a node.
|
static class |
PropertySupport.ReadOnly<T>
A simple read-only property.
|
static class |
PropertySupport.ReadWrite<T>
A simple read/write property.
|
static class |
PropertySupport.WriteOnly<T>
A simple write-only property.
|
Modifier and Type | Method and Description |
---|---|
static <T> PropertySupport<T> |
PropertySupport.readOnly(String name,
Class<T> valueType,
java.util.function.Supplier<T> supplier)
Creates a read-only "virtual" property where getter is backed by the
provided
Supplier functional interface. |
static <T> PropertySupport<T> |
PropertySupport.readWrite(String name,
Class<T> valueType,
java.util.function.Supplier<T> supplier,
java.util.function.Consumer<T> consumer)
|
PropertySupport<T> |
PropertySupport.withDisplayName(String displayName)
Fluent wrapper method for
FeatureDescriptor.setDisplayName(java.lang.String) . |
PropertySupport<T> |
PropertySupport.withShortDescription(String shortDescription)
Fluent wrapper method for
FeatureDescriptor.setShortDescription(java.lang.String) . |
static <T> PropertySupport<T> |
PropertySupport.writeOnly(String name,
Class<T> valueType,
java.util.function.Consumer<T> consumer)
Creates a write-only "virtual" property where setter is backed by the
provided
Consumer functional interface. |