public final class DefaultWindowService extends AbstractService implements WindowService
MAX_FILES_SHOWN| Constructor and Description |
|---|
DefaultWindowService() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String displayName)
Adds a path to the list of window files.
|
void |
clear()
Clears the list of window files.
|
EventService |
getEventService() |
MenuService |
getMenuService() |
ModuleService |
getModuleService() |
List<String> |
getOpenWindows()
Gets the list of window files.
|
void |
initialize() |
protected void |
onEvent(DisplayActivatedEvent event) |
protected void |
onEvent(DisplayCreatedEvent event) |
protected void |
onEvent(DisplayDeletedEvent event) |
boolean |
remove(String displayName)
Removes a path from the list of window files.
|
getContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic MenuService getMenuService()
getMenuService in interface WindowServicepublic ModuleService getModuleService()
getModuleService in interface WindowServicepublic EventService getEventService()
getEventService in interface WindowServicepublic void add(String displayName)
WindowServiceadd in interface WindowServicepublic boolean remove(String displayName)
WindowServiceremove in interface WindowServicepublic void clear()
WindowServiceclear in interface WindowServicepublic List<String> getOpenWindows()
WindowServicegetOpenWindows in interface WindowServicepublic void initialize()
initialize in interface Initializableinitialize in interface Serviceprotected void onEvent(DisplayCreatedEvent event)
protected void onEvent(DisplayActivatedEvent event)
protected void onEvent(DisplayDeletedEvent event)
Copyright © 2014–2022 ImageJ. All rights reserved.