com.intel.gpe.gridbeans.plugins
Interface IGridBeanPlugin

All Superinterfaces:
IDataSet
All Known Subinterfaces:
ISwingGridBeanPlugin
All Known Implementing Classes:
GridBeanPlugin, SwingGridBeanPlugin

public interface IGridBeanPlugin
extends IDataSet

The generic GridBean plugin. It contains input and output panels. One may separately load and store the contents of input and output panel, control the state of single components, validate the input values.

Version:
$Id: IGridBeanPlugin.java,v 1.12 2007/02/20 15:46:44 dizhigul Exp $
Author:
Alexander Lukichev, Dmitry Petrov

Method Summary
 javax.swing.Icon getIcon()
          Get the icon for a GridBean (to be displayed in the workflow).
 void initialize(Client client)
          Initialize GridBean.
 void loadInput(IGridBeanModel model, Client client)
          Load the values of input panels from the GridBean model.
 void loadOutput(IGridBeanModel model, Client client)
          Load the values of output panels from the GridBean model Experimental code.
 void storeInput(IGridBeanModel model)
          Store the values of input panels in the GridBean model
 void storeOutput(IGridBeanModel model)
          Store the values of output panels in the GridBean model
 void validateInput(ErrorSet errors)
          Validate the values in the input panels
 
Methods inherited from interface com.intel.gpe.gridbeans.plugins.IDataSet
getDescription, getEnabled, getValue, isValid, keySet, load, setDescription, setEnabled, setPossibleValues, setValue, setValueTranslator, setValueValidator, store
 

Method Detail

loadInput

void loadInput(IGridBeanModel model,
               Client client)
               throws DataSetException,
                      TranslationException
Load the values of input panels from the GridBean model. Experimental code.

Parameters:
model - The GridBean model
client - The client object
Throws:
DataSetException
TranslationException

loadOutput

void loadOutput(IGridBeanModel model,
                Client client)
                throws DataSetException,
                       TranslationException
Load the values of output panels from the GridBean model Experimental code.

Parameters:
model - The GridBean model
client - The client object
Throws:
DataSetException
TranslationException

storeInput

void storeInput(IGridBeanModel model)
                throws DataSetException,
                       TranslationException
Store the values of input panels in the GridBean model

Parameters:
model - The GridBean model
Throws:
DataSetException
TranslationException

storeOutput

void storeOutput(IGridBeanModel model)
                 throws DataSetException,
                        TranslationException
Store the values of output panels in the GridBean model

Parameters:
model - The GridBean model
Throws:
DataSetException
TranslationException

validateInput

void validateInput(ErrorSet errors)
Validate the values in the input panels

Parameters:
errors - The set of the errors

getIcon

javax.swing.Icon getIcon()
Get the icon for a GridBean (to be displayed in the workflow).

Returns:
The GridBean icon

initialize

void initialize(Client client)
Initialize GridBean.

Parameters:
client - The client instance


Copyright © 2008. All Rights Reserved.