org.openide.util

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » openide » org.openide.util 
org.openide.util
A set of utility classes covering a few general infrastructure points in the Open APIs.
Java Source File NameTypeComment
AsyncGUIJob.javaInterface Service provider interface (SPI) for executing of time consuming task which results are visible in UI. Typical usage is post-initialization of UI components or various long lasting operations like network accessing invoked directly or indirectly by user from UI. Note that it's often desirable to provide cancel support, at least for longer lasting jobs.
AsyncInitSupport.javaClass Performance helper class, allows to run post-init task for given component.
Cancellable.javaInterface Service provider interface (SPI) for adding cancel support to various jobs.
ChangeSupport.javaClass A simple equivalent of java.beans.PropertyChangeSupport for ChangeListener s.
ChangeSupportTest.javaClass
ContextAwareAction.javaInterface Interface to be implemented by an action whose behavior is dependent on some context. The action created by ContextAwareAction.createContextAwareInstance is bound to the provided context: Action.isEnabled , Action.actionPerformed , etc.
ContextGlobalProvider.javaInterface An interface that can be registered in a lookup by subsystems wish to provide a global context actions should react to.
Enumerations.javaClass Factory methods for various types of Enumeration . Allows composition of existing enumerations, filtering their contents, and/or modifying them. All of this is designed to be done lazily, i.e.
EnumerationsTest.javaClass This is the base test for new and old enumerations.
Exceptions.javaClass Useful utility and methods to work with exceptions as described in detail in the NetBeans logging guide.
ExceptionsTest.javaClass
HelpCtx.javaClass Provides help for any window or other feature in the system.
HttpServer.javaClass Maps internal NetBeans resources such as repository objects to URLs. The mapping is delegated to an HTTP server module, which registers to do the mapping.
IconManager.javaClass Registers all loaded images into the AbstractNode, so nothing is loaded twice.
IconManagerGetLoaderTest.javaClass
IconManagerTest.javaClass
InitJobTest.javaClass
Lookup.javaClass A general registry permitting clients to find instances of services (implementation of a given interface). This class is inspired by the Jini registration and lookup mechanism.
LookupEvent.javaClass An event describing the change in the lookup's result.
LookupListener.javaInterface General listener for changes in lookup.
MapFormat.javaClass A text format similar to MessageFormat but using string rather than numeric keys.
MapFormatTest.javaClass
Mutex.javaClass Read-many/write-one lock. Allows control over resources that can be read by several readers at once but only written by one writer.

It is guaranteed that if you are a writer you can also enter the mutex as a reader.

MutexException.javaClass Encapsulates other exceptions thrown from a mutex method.
MutexTest.javaClass
MutexWrapTest.javaClass
NbBundle.javaClass Convenience class permitting easy loading of localized resources of various sorts.
NbBundleTest.javaClass Test normal-mode functionality of NbBundle .
NbCollections.javaClass Utilities for working with generics.

Note that there is no checkedListByFilter method currently. If constant-time operation is important (e.g.

NbCollectionsTest.javaClass
NbPreferences.javaClass Provides an implementation of the Preferences API which may be backed by a NetBeans-specific implementation.
NotImplementedException.javaClass Should be thrown when a feature is not implemented. Usage of this exception should allow us to distingush between errors and unimplemented features.

Also this exception can easily be located in source code.

Parameters.javaClass Utilities for checking the values of method parameters. Methods in this class generally take the name of the parameter to check and its value and throw exceptions with messages according to the method name or just return.
ParametersTest.javaClass
Queue.javaClass Queue of objects.
RE13.javaClass Implementation of translate regular expression methods.
RequestProcessor.javaClass Request processor that is capable to execute requests in dedicated threads. You can create your own instance or use the shared one.

There are several use cases for RequestProcessor:

RequestProcessorTest.javaClass
SharedClassObject.javaClass Shared object that allows different instances of the same class to share common data.
SharedClassObjectTest.javaClass Test SharedClassObject singletons: esp.
Task.javaClass A task that may be executed in a separate thread and permits examination of its status.
TaskListener.javaInterface Listener which can be notifies when a task finishes.
TaskTest.javaClass
TimedSoftReference.javaClass A soft reference which is held strongly for a while after last access. Lifecycle:
  1. Created.
TopologicalSortException.javaClass Exception that signals that a topological sort failed due to unsortable nature of the graph and that provides support for reporting and recovering from that state.
Union2.javaClass A union type which can contain one of two kinds of objects. Object.equals and Object.hashCode treat this as a container, not identical to the contained object, but the identity is based on the contained object.
Union2Test.javaClass
UserCancelException.javaClass Exception that is thrown when user cancels interaction so the requested result cannot be produced.
UserQuestionException.javaClass Exception that is thrown when the process is about to perform some action that requires user confirmation.
Utilities.javaClass Otherwise uncategorized useful static methods.
UtilitiesActionsTest.javaClass Tests of actions related methods in Utilities class.
UtilitiesActiveQueueTest.javaClass
UtilitiesCompositeActionMap.javaClass
UtilitiesFileURLConvertorTest.javaClass Test FileURL conversion.
UtilitiesProgressCursorTest.javaClass
UtilitiesTest.javaClass
UtilitiesTopologicalSortTest.javaClass Test Utilities.topologicalSort.
UtilitiesTranslateTest.javaClass
WeakListener.javaClass
WeakListenerImpl.javaClass A listener wrapper that delegates to another listener but hold only weak reference to it, so it does not prevent it to be finalized.
WeakListeners.javaClass A generic weak listener factory. Creates a weak implementation of a listener of type lType. In the following examples, I'll use following naming:
There are four objects involved in weak listener usage:
  • The event source object
  • The observer - object that wants to listen on source
  • The listener - the implementation of the corresponding *Listener interface, sometimes the observer itself but often some observer's inner class delegating the events to the observer.
  • The weak listener implementation.
The examples are written for ChangeListener.
WeakListenersSpeedTest.javaClass
WeakListenersTest.javaClass
WeakListenerTest.javaClass
WeakSet.javaClass Set which holds its members by using of WeakReferences.
WeakSetTest.javaClass
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.