T - The input type of the widget.W - The type of UI component housing the widget.public abstract class AbstractInputWidget<T,W> extends AbstractWrapperPlugin<WidgetModel> implements InputWidget<T,W>
| Constructor and Description |
|---|
AbstractInputWidget() |
| Modifier and Type | Method and Description |
|---|---|
WidgetModel |
get()
Gets the data object currently associated with this plugin.
|
void |
set(WidgetModel model)
Associates the given data object with this plugin.
|
void |
updateModel()
Updates the model to reflect the latest widget state.
|
getInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetType, getValue, isLabeled, isMessage, refreshWidget, supportsgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiongetComponent, getComponentTypepublic void updateModel()
InputWidgetupdateModel in interface InputWidget<T,W>public void set(WidgetModel model)
WrapperPluginTyped.supports(T) must return true).set in interface WrapperPlugin<WidgetModel>set in interface InputWidget<T,W>set in class AbstractWrapperPlugin<WidgetModel>model - The data object to associate with the plugin.public WidgetModel get()
WrapperPluginget in interface WrapperPlugin<WidgetModel>get in interface InputWidget<T,W>get in class AbstractWrapperPlugin<WidgetModel>Copyright © 2009–2017 SciJava. All rights reserved.