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, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public MenuService getMenuService()
getMenuService
in interface WindowService
public ModuleService getModuleService()
getModuleService
in interface WindowService
public EventService getEventService()
getEventService
in interface WindowService
public void add(String displayName)
WindowService
add
in interface WindowService
public boolean remove(String displayName)
WindowService
remove
in interface WindowService
public void clear()
WindowService
clear
in interface WindowService
public List<String> getOpenWindows()
WindowService
getOpenWindows
in interface WindowService
public void initialize()
initialize
in interface Initializable
initialize
in interface Service
protected void onEvent(DisplayCreatedEvent event)
protected void onEvent(DisplayActivatedEvent event)
protected void onEvent(DisplayDeletedEvent event)
Copyright © 2014–2022 ImageJ. All rights reserved.