org.scijava.widget
Class DefaultWidgetService

java.lang.Object
  extended by org.scijava.AbstractContextual
      extended by org.scijava.plugin.AbstractRichPlugin
          extended by org.scijava.service.AbstractService
              extended by org.scijava.plugin.AbstractPTService<PT>
                  extended by org.scijava.plugin.AbstractTypedService<DT,PT>
                      extended by org.scijava.plugin.AbstractWrapperService<WidgetModel,InputWidget<?,?>>
                          extended by org.scijava.widget.DefaultWidgetService
All Implemented Interfaces:
Comparable<Prioritized>, Contextual, Disposable, HasPluginInfo, PTService<InputWidget<?,?>>, RichPlugin, SciJavaPlugin, TypedService<WidgetModel,InputWidget<?,?>>, WrapperService<WidgetModel,InputWidget<?,?>>, Prioritized, SciJavaService, Service, Typed<WidgetModel>, WidgetService

public class DefaultWidgetService
extends AbstractWrapperService<WidgetModel,InputWidget<?,?>>
implements WidgetService

Default service for managing available InputWidgets.

Author:
Curtis Rueden

Constructor Summary
DefaultWidgetService()
           
 
Method Summary
 WidgetModel createModel(InputPanel<?,?> inputPanel, Module module, ModuleItem<?> item, List<?> objectPool)
          Create a WidgetModel for the given module input.
 Class<InputWidget<?,?>> getPluginType()
          Gets the type of plugins managed by this service.
 Class<WidgetModel> getType()
          Gets the type associated with the object.
 
Methods inherited from class org.scijava.plugin.AbstractWrapperService
create, initialize, supports
 
Methods inherited from class org.scijava.plugin.AbstractPTService
create, getPlugins, getPluginService
 
Methods inherited from class org.scijava.service.AbstractService
dispose, getContext, registerEventHandlers, setContext, toString
 
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
compareTo, getInfo, getPriority, setInfo, setPriority
 
Methods inherited from class org.scijava.AbstractContextual
context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.scijava.plugin.WrapperService
create
 
Methods inherited from interface org.scijava.plugin.PTService
create, getPlugins, getPluginService
 
Methods inherited from interface org.scijava.service.Service
initialize, registerEventHandlers
 
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
 
Methods inherited from interface org.scijava.Prioritized
getPriority, setPriority
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
 
Methods inherited from interface org.scijava.Disposable
dispose
 
Methods inherited from interface org.scijava.Typed
supports
 

Constructor Detail

DefaultWidgetService

public DefaultWidgetService()
Method Detail

createModel

public WidgetModel createModel(InputPanel<?,?> inputPanel,
                               Module module,
                               ModuleItem<?> item,
                               List<?> objectPool)
Description copied from interface: WidgetService
Create a WidgetModel for the given module input.

Specified by:
createModel in interface WidgetService

getPluginType

public Class<InputWidget<?,?>> getPluginType()
Description copied from interface: PTService
Gets the type of plugins managed by this service.

Specified by:
getPluginType in interface PTService<InputWidget<?,?>>

getType

public Class<WidgetModel> getType()
Description copied from interface: Typed
Gets the type associated with the object.

Specified by:
getType in interface Typed<WidgetModel>


Copyright © 2009–2015 SciJava. All rights reserved.