站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

org.openide.cookies (NetBeans APIs) - NetBeans API Javadoc 4.1.0


Package 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.

See:
          Description

Interface Summary
CloseCookie Permits an object which was opened to be closed.
ConnectionCookie Cookie that allows connection between two objects.
ConnectionCookie.Listener Cookie that must be provided by a node that is willing to register itself as a listener to a ConnectionCookie.
ConnectionCookie.Type Interface describing cookie type of event a cookie can produce.
EditCookie Cookie permitting objects to be edited.
EditorCookie Cookie defining standard operations with a text document and an editor that can display it.
EditorCookie.Observable The interface extends EditorCookie and allows observing changes in state of the text document.
FilterCookie Deprecated. Use Looks instead.
InstanceCookie Cookie that should be provided by all nodes that are able to create a "instance".
InstanceCookie.Of Enhanced cookie that can answer queries about the type of the instance it creates.
LineCookie Cookie for data objects that want to provide support for accessing lines in a document.
OpenCookie Cookie for opening an object.
PrintCookie Cookie permitting an object to be printed.
SaveCookie The cookie for the save operation.
ViewCookie Cookie permitting objects to be viewed.
 

Class Summary
ConnectionCookie.Event Event that is fired to listeners.
 

Package org.openide.cookies Description

Cookies are a design pattern used to add behaviors to existing data object and nodes, or to separate implementation from the main object.

The Loaders API describes how to use cookies in conjunction with data objects, including creating new cookie interfaces, creating new cookie support implementations, and reusing existing supports. The Nodes API also permits use of cookies to add behavior to nodes.



Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.