public abstract class AWTInputWidget<T> extends AbstractUIInputWidget<T,Panel>
| Constructor and Description |
|---|
AWTInputWidget() |
| Modifier and Type | Method and Description |
|---|---|
Panel |
getComponent()
Gets the user interface component housing this object.
|
Class<Panel> |
getComponentType()
Gets the type of the UI component housing the object.
|
void |
set(WidgetModel model)
Associates the given data object with this plugin.
|
protected UserInterface |
ui() |
doRefresh, refreshWidget, uiget, supports, updateModelgetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetType, getValue, isLabeled, isMessagegetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionpublic void set(WidgetModel model)
WrapperPluginTyped.supports(T) must return true).set in interface WrapperPlugin<WidgetModel>set in interface InputWidget<T,Panel>set in class AbstractInputWidget<T,Panel>model - The data object to associate with the plugin.public Panel getComponent()
UIComponentpublic Class<Panel> getComponentType()
UIComponent
This method is useful in case UIComponent.getComponent() returns null in some
circumstances. In this way, it is still possible to query the type of the
UI component without forcing the conditions that instantiate it.
protected UserInterface ui()
ui in class AbstractUIInputWidget<T,Panel>UserInterface instance associated
with this InputWidget.Copyright © 2015–2022 SciJava. All rights reserved.