Package | Description |
---|---|
org.openide.cookies |
Cookies
are a design pattern used to add behaviors to existing data object
and nodes, or to separate implementation from the main object.
|
org.openide.nodes |
NetBeans uses
nodes
to represent JavaBeans or other property containers, formed into a
hierarchical tree.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CloseCookie
Permits an object which was
opened to be closed. |
interface |
ConnectionCookie
Deprecated.
Should no longer be used.
|
static interface |
ConnectionCookie.Listener
Deprecated.
Cookie that must be provided by a node that is willing to register
itself as a listener to a ConnectionCookie.
|
interface |
EditCookie
Cookie permitting objects to be edited.
|
interface |
FilterCookie
Deprecated.
Use Looks instead.
|
interface |
InstanceCookie
Cookie that should be provided by all nodes that are able
to create or return an "instance".
|
static interface |
InstanceCookie.Of
Enhanced cookie that can answer queries about the type of the
instance it creates.
|
interface |
OpenCookie
Cookie for opening an object.
|
interface |
PrintCookie
Cookie permitting an object to be printed.
|
interface |
SaveCookie
The cookie for the save operation.
|
interface |
ViewCookie
Cookie permitting objects to be viewed.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Index
Index cookie providing operations useful for reordering
child nodes.
|
Modifier and Type | Class and Description |
---|---|
static class |
Index.ArrayChildren
Reorderable children list stored in an array.
|
static class |
Index.Support
A support class implementing some methods of the
Index
cookie. |
Modifier and Type | Method and Description |
---|---|
static <T extends Node.Cookie> |
NodeTransfer.cookie(Transferable t,
int action,
Class<T> cookie)
Obtain a cookie instance from the copied node in a transferable.
|
<T extends Node.Cookie> |
CookieSet.Factory.createCookie(Class<T> klass)
Creates a Node.Cookie of given class.
|
<T extends Node.Cookie> |
IndexedNode.getCookie(Class<T> clazz)
Get a cookie.
|
<T extends Node.Cookie> |
CookieSet.getCookie(Class<T> clazz)
Get a cookie.
|
<T extends Node.Cookie> |
FilterNode.getCookie(Class<T> type)
Delegates to original, if no special lookup provided in constructor,
Otherwise it delegates to the lookup.
|
<T extends Node.Cookie> |
Node.getCookie(Class<T> type)
Get a cookie for this node.
|
<T extends Node.Cookie> |
AbstractNode.getCookie(Class<T> type)
Get a cookie from the node.
|
Modifier and Type | Method and Description |
---|---|
void |
CookieSet.add(Node.Cookie cookie)
Add a new cookie to the set.
|
void |
CookieSet.remove(Node.Cookie cookie)
Remove a cookie from the set.
|
Modifier and Type | Method and Description |
---|---|
void |
CookieSet.add(Class<? extends Node.Cookie> cookieClass,
CookieSet.Factory factory)
Registers a Factory for given cookie class
|
void |
CookieSet.remove(Class<? extends Node.Cookie> cookieClass,
CookieSet.Factory factory)
Unregisters a Factory for given cookie class
|