Modifier and Type | Interface and Description |
---|---|
interface |
TextDisplay
Interface for text
Display s. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDisplay<T>
Abstract superclass of
Display implementations. |
class |
DefaultDisplay
Default display for objects, when no other displays are available.
|
class |
DefaultTextDisplay
Default display for text.
|
Modifier and Type | Method and Description |
---|---|
<D extends Display<?>> |
DisplayService.getActiveDisplay(Class<D> displayClass)
Gets the most recently active display (of the specified Display type).
|
<D extends Display<?>> |
DefaultDisplayService.getActiveDisplay(Class<D> displayClass) |
<D extends Display<?>> |
DisplayService.getDisplayPlugin(Class<D> pluginClass)
Gets the display plugin of the given class, or null if none.
|
<D extends Display<?>> |
DefaultDisplayService.getDisplayPlugin(Class<D> pluginClass) |
<D extends Display<?>> |
DefaultDisplayService.getDisplayPluginsOfType(Class<D> type) |
<DT extends Display<?>> |
DisplayService.getDisplayPluginsOfType(Class<DT> type)
Gets the list of display plugins of the given type (e.g.,
ImageDisplay.class ). |
<D extends Display<?>> |
DefaultDisplayService.getDisplaysOfType(Class<D> type) |
<DT extends Display<?>> |
DisplayService.getDisplaysOfType(Class<DT> type)
Gets a list of all available displays of the given type (e.g.,
ImageDisplay.class ). |
Modifier and Type | Method and Description |
---|---|
Display<?> |
DisplayService.createDisplay(Object o)
Creates a display for the given object, publishing a
DisplayCreatedEvent to notify interested parties. |
Display<?> |
DefaultDisplayService.createDisplay(Object o) |
Display<?> |
DisplayService.createDisplay(String name,
Object o)
Creates a display for the given object, publishing a
DisplayCreatedEvent to notify interested parties. |
Display<?> |
DefaultDisplayService.createDisplay(String name,
Object o) |
Display<?> |
DisplayService.createDisplayQuietly(Object o)
Creates a display for the given object, without publishing a
DisplayCreatedEvent . |
Display<?> |
DefaultDisplayService.createDisplayQuietly(Object o) |
Display<?> |
DisplayService.getActiveDisplay()
Gets the currently active display (of any Display type).
|
Display<?> |
DefaultDisplayService.getActiveDisplay() |
Display<?> |
DisplayService.getDisplay(String name)
Gets a display by its name.
|
Display<?> |
DefaultDisplayService.getDisplay(String name) |
Modifier and Type | Method and Description |
---|---|
<D extends Display<?>> |
DisplayService.getDisplayPlugin(Class<D> pluginClass)
Gets the display plugin of the given class, or null if none.
|
<D extends Display<?>> |
DefaultDisplayService.getDisplayPlugin(Class<D> pluginClass) |
PluginInfo<Display<?>> |
DisplayService.getDisplayPlugin(String className)
Gets the display plugin of the given class name, or null if none.
|
PluginInfo<Display<?>> |
DefaultDisplayService.getDisplayPlugin(String className) |
List<PluginInfo<Display<?>>> |
DisplayService.getDisplayPlugins()
Gets the list of known display plugins.
|
List<PluginInfo<Display<?>>> |
DefaultDisplayService.getDisplayPlugins() |
List<Display<?>> |
DisplayService.getDisplays()
Gets a list of all available displays.
|
List<Display<?>> |
DefaultDisplayService.getDisplays() |
List<Display<?>> |
DisplayService.getDisplays(Object o)
Gets a list of displays currently visualizing the given object.
|
List<Display<?>> |
DefaultDisplayService.getDisplays(Object o) |
Modifier and Type | Method and Description |
---|---|
void |
DisplayService.setActiveDisplay(Display<?> display)
Set the active display.
|
void |
DefaultDisplayService.setActiveDisplay(Display<?> display) |
Modifier and Type | Method and Description |
---|---|
Display<?> |
DisplayEvent.getDisplay() |
Display<?> |
DisplayDeletedEvent.getObject() |
Display<?> |
DisplayCreatedEvent.getObject() |
Constructor and Description |
---|
DisplayActivatedEvent(Display<?> display) |
DisplayCreatedEvent(Display<?> display) |
DisplayDeletedEvent(Display<?> display) |
DisplayEvent(Display<?> display) |
DisplayUpdatedEvent(Display<?> display,
DisplayUpdatedEvent.DisplayUpdateLevel level) |
Constructor and Description |
---|
InputEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y) |
KyEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
char character,
KeyCode code) |
KyPressedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
char character,
KeyCode code) |
KyReleasedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
char character,
KeyCode code) |
KyTypedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
char character,
KeyCode code) |
MsButtonEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
int button,
int numClicks,
boolean isPopupTrigger) |
MsClickedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
int button,
int numClicks,
boolean isPopupTrigger) |
MsDraggedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
int button,
int numClicks,
boolean isPopupTrigger) |
MsEnteredEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y) |
MsEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y) |
MsExitedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y) |
MsMovedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y) |
MsPressedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
int button,
int numClicks,
boolean isPopupTrigger) |
MsReleasedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
int button,
int numClicks,
boolean isPopupTrigger) |
MsWheelEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
int wheelRotation) |
Constructor and Description |
---|
WinActivatedEvent(Display<?> display,
Object window) |
WinClosedEvent(Display<?> display,
Object window) |
WinClosingEvent(Display<?> display,
Object window) |
WinDeactivatedEvent(Display<?> display,
Object window) |
WinDeiconifiedEvent(Display<?> display,
Object window) |
WinEvent(Display<?> display,
Object window) |
WinIconifiedEvent(Display<?> display,
Object window) |
WinOpenedEvent(Display<?> display,
Object window) |
Modifier and Type | Method and Description |
---|---|
Display<?> |
InputService.getDisplay()
Gets the display associated with the last observed mouse cursor.
|
Display<?> |
DefaultInputService.getDisplay() |
Modifier and Type | Interface and Description |
---|---|
interface |
TableDisplay
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTableDisplay
Default display for
Table s, including DoubleTable s. |
Modifier and Type | Method and Description |
---|---|
DisplayWindow |
UserInterface.createDisplayWindow(Display<?> display)
Creates a new display window housing the given display, or null if not
applicable.
|
DisplayViewer<?> |
UIService.getDisplayViewer(Display<?> display)
Gets the UI widget being used to visualize the given
Display . |
DisplayViewer<?> |
DefaultUIService.getDisplayViewer(Display<?> display) |
void |
UserInterface.show(Display<?> display)
Shows the display onscreen using an appropriate UI widget.
|
void |
UIService.show(Display<?> display)
Creates and shows the given
Display using an appropriate UI widget
of the default user interface. |
void |
DefaultUIService.show(Display<?> display) |
void |
AbstractUserInterface.show(Display<?> display) |
void |
UserInterface.showContextMenu(String menuRoot,
Display<?> display,
int x,
int y)
Displays a popup context menu for the given display at the specified
position.
|
void |
UIService.showContextMenu(String menuRoot,
Display<?> display,
int x,
int y)
Displays a popup context menu for the given display at the specified
position.
|
void |
DefaultUIService.showContextMenu(String menuRoot,
Display<?> display,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
DisplayWindow |
AWTUI.createDisplayWindow(Display<?> display) |
void |
AWTUI.showContextMenu(String menuRoot,
Display<?> display,
int x,
int y) |
Constructor and Description |
---|
AWTDropTargetEventDispatcher(Display<?> display,
EventService eventService)
Creates an AWT drag-and-drop event dispatcher for the given display.
|
AWTInputEventDispatcher(Display<?> display)
Creates an AWT input event dispatcher for the given display.
|
AWTInputEventDispatcher(Display<?> display,
EventService eventService)
Creates an AWT input event dispatcher for the given display.
|
AWTWindowEventDispatcher(Display<?> display)
Creates an AWT window event dispatcher for the given display.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDragAndDropHandler.check(D dataObject,
Display<?> display)
Throws
IllegalArgumentException if (data, display) pair is
incompatible. |
boolean |
DragAndDropHandler.drop(D dataObject,
Display<?> display)
Performs a drop operation with the given data object in the specified
Display . |
default boolean |
DragAndDropService.drop(DragAndDropData data,
Display<?> display)
Performs a drag-and-drop operation in the given display with the specified
DragAndDropData , using the first available compatible handler. |
boolean |
ScriptFileDragAndDropHandler.drop(File file,
Display<?> display) |
boolean |
FileDragAndDropHandler.drop(File file,
Display<?> display) |
boolean |
ListDragAndDropHandler.drop(List<?> list,
Display<?> display) |
default boolean |
DragAndDropService.drop(Object data,
Display<?> display)
Performs a drag-and-drop operation in the given display with the specified
data object, using the first available compatible handler.
|
boolean |
DragAndDropHandler.dropData(DragAndDropData data,
Display<?> display)
Performs a drop operation with the given data in the specified
Display . |
boolean |
AbstractDragAndDropHandler.dropData(DragAndDropData data,
Display<?> display) |
boolean |
DragAndDropHandler.dropObject(Object object,
Display<?> display)
Performs a drop operation with the given data in the specified
Display . |
boolean |
AbstractDragAndDropHandler.dropObject(Object object,
Display<?> display) |
default DragAndDropHandler<?> |
DragAndDropService.getHandler(DragAndDropData data,
Display<?> display)
Gets the drag-and-drop handler which will be used to handle the given
DragAndDropData dragged onto the specified display. |
default DragAndDropHandler<?> |
DragAndDropService.getHandler(Object object,
Display<?> display)
Gets the drag-and-drop handler which will be used to handle the given
object dragged onto the specified display.
|
boolean |
DragAndDropHandler.supports(D dataObject,
Display<?> display)
Gets whether this handler supports dropping the given data object onto the
specified display.
|
boolean |
AbstractDragAndDropHandler.supports(D dataObject,
Display<?> display) |
default boolean |
DragAndDropService.supports(DragAndDropData data,
Display<?> display)
Checks whether the given
DragAndDropData can be dropped onto the
specified display. |
boolean |
ListDragAndDropHandler.supports(List<?> list,
Display<?> display) |
default boolean |
DragAndDropService.supports(Object object,
Display<?> display)
Checks whether the given object can be dropped onto the specified display.
|
boolean |
DragAndDropHandler.supportsData(DragAndDropData data,
Display<?> display)
Gets whether this handler supports dropping the given
DragAndDropData onto the specified display. |
boolean |
AbstractDragAndDropHandler.supportsData(DragAndDropData data,
Display<?> display) |
boolean |
DragAndDropHandler.supportsDisplay(Display<?> display)
Gets whether this handler supports dropping an assumed-to-be-compatible
data object onto the given
Display . |
boolean |
AbstractDragAndDropHandler.supportsDisplay(Display<?> display) |
boolean |
DragAndDropHandler.supportsObject(Object object,
Display<?> display)
Gets whether this handler supports dropping the given object onto the
specified display.
|
boolean |
AbstractDragAndDropHandler.supportsObject(Object object,
Display<?> display) |
Constructor and Description |
---|
DragAndDropEvent(Display<?> display) |
DragAndDropEvent(Display<?> display,
DragAndDropData data) |
DragAndDropEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
DragAndDropData data) |
DragEnterEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
DragAndDropData data) |
DragExitEvent(Display<?> display) |
DragOverEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
DragAndDropData data) |
DropEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
DragAndDropData data) |
Modifier and Type | Method and Description |
---|---|
boolean |
HeadlessDisplayViewer.canView(Display<?> d) |
DisplayWindow |
HeadlessUI.createDisplayWindow(Display<?> display) |
void |
HeadlessUI.show(Display<?> display) |
void |
HeadlessUI.showContextMenu(String menuRoot,
Display<?> display,
int x,
int y) |
void |
HeadlessDisplayViewer.view(DisplayWindow w,
Display<?> d) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSwingUI.showContextMenu(String menuRoot,
Display<?> display,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
SwingMdiDisplayWindow |
SwingMdiUI.createDisplayWindow(Display<?> display) |
Constructor and Description |
---|
InternalFrameEventDispatcher(Display<?> display)
Creates an AWT event dispatcher for the given display.
|
Modifier and Type | Method and Description |
---|---|
SwingDisplayWindow |
SwingSDIUI.createDisplayWindow(Display<?> display) |
static SwingDisplayWindow |
SwingSDIUI.createDisplayWindow(Display<?> display,
EventService eventService)
Utility method for creating
SwingDisplayWindow s. |
Modifier and Type | Method and Description |
---|---|
Display<?> |
EasySwingDisplayViewer.SwingDisplayPanel.getDisplay() |
Modifier and Type | Method and Description |
---|---|
boolean |
EasySwingDisplayViewer.canView(Display<?> d) |
void |
EasySwingDisplayViewer.view(DisplayWindow w,
Display<?> d) |
Constructor and Description |
---|
SwingDisplayPanel(DisplayWindow window,
Display<?> display,
EasySwingDisplayViewer<?> viewer,
JPanel panel) |
Modifier and Type | Method and Description |
---|---|
void |
SwingTableDisplayViewer.view(DisplayWindow w,
Display<?> d) |
Modifier and Type | Method and Description |
---|---|
void |
SwingTextDisplayViewer.view(DisplayWindow w,
Display<?> d) |
Modifier and Type | Method and Description |
---|---|
Display<T> |
DisplayViewer.getDisplay()
Gets the display being viewed.
|
Display<?> |
DisplayPanel.getDisplay()
Gets the panel's associated display.
|
Display<T> |
AbstractDisplayViewer.getDisplay() |
Modifier and Type | Method and Description |
---|---|
boolean |
DisplayViewer.canView(Display<?> d)
Returns true if an instance of this display viewer can view the given
display.
|
void |
DisplayViewer.view(DisplayWindow w,
Display<?> d)
Begins viewing the given display.
|
void |
AbstractDisplayViewer.view(DisplayWindow w,
Display<?> d) |
default void |
DisplayViewer.view(UserInterface ui,
Display<?> d)
Begins viewing the given display.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractTableDisplayViewer.canView(Display<?> d) |
Modifier and Type | Method and Description |
---|---|
default boolean |
TextDisplayViewer.canView(Display<?> d) |
Copyright © 2015–2022 SciJava. All rights reserved.