com.intel.gpe.gridbeans.plugins.swing
Class SwingGridBeanPlugin

java.lang.Object
  extended by com.intel.gpe.gridbeans.plugins.GridBeanPlugin
      extended by com.intel.gpe.gridbeans.plugins.swing.SwingGridBeanPlugin
All Implemented Interfaces:
IDataSet, IGridBeanPlugin, ISwingGridBeanPlugin

public class SwingGridBeanPlugin
extends GridBeanPlugin
implements ISwingGridBeanPlugin

The base class for Swing GridBean plugins

Author:
Alexander Lukichev

Field Summary
protected  INode node
           
 
Fields inherited from class com.intel.gpe.gridbeans.plugins.GridBeanPlugin
client, icon
 
Constructor Summary
SwingGridBeanPlugin()
           
 
Method Summary
 void addInputPanel(ISwingGridBeanPanel panel)
          Add an input panel
 void addOutputPanel(ISwingGridBeanPanel panel)
          Add an output panel
 ISwingGridBeanPanel[] getInputPanels()
          Get the input panels
 ISwingGridBeanPanel[] getOutputPanels()
          Get the output panels
 void initialize(Client client, INode configNode)
          Initialize GridBean.
protected  IGridBeanPanel inputPanel(int i)
           
protected  int inputPanelsListSize()
           
protected  IGridBeanPanel outputPanel(int i)
           
protected  int outputPanelsListSize()
           
 
Methods inherited from class com.intel.gpe.gridbeans.plugins.GridBeanPlugin
getDescription, getEnabled, getIcon, getIcon, getOrCreateIcon, getValue, initialize, isValid, keySet, load, loadInput, loadOutput, setDescription, setEnabled, setPossibleValues, setValue, setValueTranslator, setValueValidator, store, storeInput, storeOutput, validateInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.intel.gpe.gridbeans.plugins.IGridBeanPlugin
getIcon, initialize, loadInput, loadOutput, storeInput, storeOutput, validateInput
 
Methods inherited from interface com.intel.gpe.gridbeans.plugins.IDataSet
getDescription, getEnabled, getValue, isValid, keySet, load, setDescription, setEnabled, setPossibleValues, setValue, setValueTranslator, setValueValidator, store
 

Field Detail

node

protected INode node
Constructor Detail

SwingGridBeanPlugin

public SwingGridBeanPlugin()
Method Detail

addInputPanel

public void addInputPanel(ISwingGridBeanPanel panel)
Add an input panel

Parameters:
panel - The panel

addOutputPanel

public void addOutputPanel(ISwingGridBeanPanel panel)
Add an output panel

Parameters:
panel - The output panel

getInputPanels

public ISwingGridBeanPanel[] getInputPanels()
Description copied from interface: ISwingGridBeanPlugin
Get the input panels

Specified by:
getInputPanels in interface ISwingGridBeanPlugin
Returns:
The array of input panels

getOutputPanels

public ISwingGridBeanPanel[] getOutputPanels()
Description copied from interface: ISwingGridBeanPlugin
Get the output panels

Specified by:
getOutputPanels in interface ISwingGridBeanPlugin
Returns:
The array of output panels

inputPanelsListSize

protected int inputPanelsListSize()
Specified by:
inputPanelsListSize in class GridBeanPlugin

inputPanel

protected IGridBeanPanel inputPanel(int i)
Specified by:
inputPanel in class GridBeanPlugin

outputPanelsListSize

protected int outputPanelsListSize()
Specified by:
outputPanelsListSize in class GridBeanPlugin

outputPanel

protected IGridBeanPanel outputPanel(int i)
Specified by:
outputPanel in class GridBeanPlugin

initialize

public void initialize(Client client,
                       INode configNode)
Description copied from interface: ISwingGridBeanPlugin
Initialize GridBean.

Specified by:
initialize in interface ISwingGridBeanPlugin
Parameters:
client - The client instance
configNode - The configuration node for the GridBean plugin


Copyright © 2008. All Rights Reserved.