org.embl.ebi.escience.scuflui.spi
Interface UIComponentFactorySPI

All Known Implementing Classes:
AdvancedModelExplorerFactory, DotTextAreaFactory, EnactorEventMonitorFactory, IterationStrategyEditorFactory, ScavengerTreePanelFactory, ScuflDiagramPanelFactory, ScuflSVGDiagramFactory, TemplateEditorFactory, WorkflowEditorFactory, WorkflowInputPanelFactory, WorkflowInstanceContainerFactory, XScuflTextAreaFactory, XScuflTreeFactory

public interface UIComponentFactorySPI

Implementations can construct UI components to be inserted into containers within the workbench. These components may or may not bind to any given model object, the previous approach of forcing all UI components to be model listeners wasn't really very bright.

This class is intended to allow minimal information for building menus and the like without having to construct potentially heavy swing objects every time.

Author:
Tom Oinn

Method Summary
 UIComponentSPI getComponent()
          Construct a JComponent from this factory, cast as a UIComponent but must also implement JComponent (if anyone knows how to define this sensibly I'm all ears...)
 javax.swing.ImageIcon getIcon()
          Get an icon to be used in window decorations for this component.
 java.lang.String getName()
          Get the preferred name of this component, for titles in windows etc.
 

Method Detail

getName

java.lang.String getName()
Get the preferred name of this component, for titles in windows etc.


getIcon

javax.swing.ImageIcon getIcon()
Get an icon to be used in window decorations for this component.


getComponent

UIComponentSPI getComponent()
Construct a JComponent from this factory, cast as a UIComponent but must also implement JComponent (if anyone knows how to define this sensibly I'm all ears...)