Class AppContext
java.lang.Object
sun.awt.AppContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener) voiddispose()static AppContextstatic Set<AppContext> Returns a set containing allAppContexts.getPropertyChangeListeners(String propertyName) static <T> TgetSoftReferenceValue(Object key, Supplier<T> supplier) booleanstatic booleanisMainContext(AppContext ctx) voidremovePropertyChangeListener(String propertyName, PropertyChangeListener listener)
-
Field Details
-
EVENT_QUEUE_KEY
-
EVENT_QUEUE_LOCK_KEY
-
EVENT_QUEUE_COND_KEY
-
DISPOSED_PROPERTY_NAME
- See Also:
-
GUI_DISPOSED
- See Also:
-
-
Constructor Details
-
AppContext
public AppContext()
-
-
Method Details
-
getAppContexts
Returns a set containing allAppContexts. -
isDisposed
public boolean isDisposed() -
getAppContext
-
isMainContext
-
dispose
- Throws:
IllegalThreadStateException
-
get
-
put
-
remove
-
getThreadGroup
-
getContextClassLoader
-
getPropertyChangeListeners
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getPropertyChangeListeners
-
getSoftReferenceValue
-