public class InfoPanelService extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
associateEvent(org.fujion.component.BaseComponent component,
String eventName,
IInfoPanel.Action action)
Associate a generic event with an action on this component's container.
|
static IInfoPanel |
findInfoPanel(ElementBase element)
Finds the "nearest" active info panel.
|
static IInfoPanel |
findInfoPanel(ElementBase element,
boolean activeOnly)
Finds the "nearest" info panel.
|
static IInfoPanel |
findInfoPanel(ElementPlugin.PluginContainer container)
Finds the "nearest" active info panel.
|
static IInfoPanel |
findInfoPanel(ElementPlugin.PluginContainer container,
boolean activeOnly)
Finds the "nearest" info panel.
|
static List<ActionListener> |
getActionListeners(org.fujion.component.BaseComponent component)
Returns a list of events associated with a component.
|
public static IInfoPanel findInfoPanel(ElementPlugin.PluginContainer container, boolean activeOnly)
container - The container from which to begin the search.activeOnly - If true, only active info panels are considered.public static IInfoPanel findInfoPanel(ElementPlugin.PluginContainer container)
container - The container from which to begin the search.public static IInfoPanel findInfoPanel(ElementBase element, boolean activeOnly)
element - The UI element from which to begin the search.activeOnly - If true, only active info panels are considered.public static IInfoPanel findInfoPanel(ElementBase element)
element - The UI element from which to begin the search.public static void associateEvent(org.fujion.component.BaseComponent component,
String eventName,
IInfoPanel.Action action)
component - Component whose container is the target of an action.eventName - The name of the generic event that will invoke the action.action - The action to be performed.public static List<ActionListener> getActionListeners(org.fujion.component.BaseComponent component)
component - Component of interest.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.