|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.intel.gpe.gridbeans.plugins.GridBeanPlugin
public class GridBeanPlugin
The default implementation of GridBean plugin. The plugin is responsible for the user interface of the GridBean.
| Constructor Summary | |
|---|---|
GridBeanPlugin(java.lang.String name)
Create the plugin. |
|
| Method Summary | |
|---|---|
void |
addInputPanel(IGridBeanPanel panel)
Add an input panel |
void |
addOutputPanel(IGridBeanPanel panel)
Add an output panel |
java.lang.String |
getDescription(javax.xml.namespace.QName key)
Get the description of the component. |
boolean |
getEnabled(javax.xml.namespace.QName key)
Get the state of the component. |
IGridBeanPanel[] |
getInputPanels()
Get the input panels |
java.lang.String |
getName()
Get the name of the plugin. |
IGridBeanPanel[] |
getOutputPanels()
Get the output panels |
java.lang.Object |
getValue(javax.xml.namespace.QName key)
Get the translated value of the component. |
boolean |
isValid(javax.xml.namespace.QName key,
java.lang.StringBuffer buf)
Check if the value of the component is valid. |
java.util.Set |
keySet()
Get the set of the component names. |
void |
load(IGridBeanModel model,
com.intel.gpe.client.application.Client client)
Load data set component values from the GridBean model and the client object. |
void |
loadInput(IGridBeanModel model,
com.intel.gpe.client.application.Client client)
Load the values of input panels from the GridBean model |
void |
loadOutput(IGridBeanModel model,
com.intel.gpe.client.application.Client client)
Load the values of output panels from the GridBean model |
void |
setDescription(javax.xml.namespace.QName key,
java.lang.String descr)
Set the description of the specified component |
void |
setEnabled(javax.xml.namespace.QName key,
boolean enabled)
Set the enabled state of the component |
void |
setPossibleValues(javax.xml.namespace.QName key,
java.util.List values)
Set the possible values for the specified component |
void |
setValue(javax.xml.namespace.QName key,
java.lang.Object value)
Set the value of the component. |
void |
setValueTranslator(javax.xml.namespace.QName key,
IValueTranslator translator)
Set the translator for the specified component |
void |
setValueValidator(javax.xml.namespace.QName key,
IValueValidator validator)
Set the validator for the specified component |
void |
store(IGridBeanModel model)
Store the component values in the GridBean model. |
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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridBeanPlugin(java.lang.String name)
name - The name of the plugin| Method Detail |
|---|
public void addInputPanel(IGridBeanPanel panel)
panel - The panelpublic void addOutputPanel(IGridBeanPanel panel)
panel - The output panelpublic IGridBeanPanel[] getInputPanels()
IGridBeanPlugin
getInputPanels in interface IGridBeanPluginpublic IGridBeanPanel[] getOutputPanels()
IGridBeanPlugin
getOutputPanels in interface IGridBeanPlugin
public boolean getEnabled(javax.xml.namespace.QName key)
throws DataSetException
IDataSet
getEnabled in interface IDataSetkey - The name of the component
DataSetException
public void setEnabled(javax.xml.namespace.QName key,
boolean enabled)
throws DataSetException
IDataSet
setEnabled in interface IDataSetkey - The name of the componentenabled - The enabled state of the component
DataSetExceptionpublic java.util.Set keySet()
IDataSet
keySet in interface IDataSet
public java.lang.Object getValue(javax.xml.namespace.QName key)
throws DataSetException,
TranslationException
IDataSet
getValue in interface IDataSetkey - The name of the component
DataSetException
TranslationException - If translation failed
public void setValue(javax.xml.namespace.QName key,
java.lang.Object value)
throws DataSetException,
TranslationException
IDataSet
setValue in interface IDataSetkey - The name of the componentvalue - The value
DataSetException
TranslationException - If translation failed
public void setValueTranslator(javax.xml.namespace.QName key,
IValueTranslator translator)
throws DataSetException
IDataSet
setValueTranslator in interface IDataSetkey - The name of the componenttranslator - The translator
DataSetException
public void setValueValidator(javax.xml.namespace.QName key,
IValueValidator validator)
throws DataSetException
IDataSet
setValueValidator in interface IDataSetkey - The name of the componentvalidator - The validator
DataSetException
public void setDescription(javax.xml.namespace.QName key,
java.lang.String descr)
throws DataSetException
IDataSet
setDescription in interface IDataSetkey - The name of the componentdescr - The description
DataSetException
public void setPossibleValues(javax.xml.namespace.QName key,
java.util.List values)
throws DataSetException,
TranslationException
IDataSet
setPossibleValues in interface IDataSetkey - The name of the componentvalues - The list of the possible values
DataSetException
TranslationExceptionpublic java.lang.String getName()
public void load(IGridBeanModel model,
com.intel.gpe.client.application.Client client)
throws DataSetException,
TranslationException
IDataSet
load in interface IDataSetmodel - The GridBean modelclient - The client
DataSetException
TranslationException - If translation of any value failed
public void store(IGridBeanModel model)
throws DataSetException,
TranslationException
IDataSet
store in interface IDataSetmodel - The GridBean model
DataSetException
TranslationException - If translation of any value failed
public void loadInput(IGridBeanModel model,
com.intel.gpe.client.application.Client client)
throws DataSetException,
TranslationException
IGridBeanPlugin
loadInput in interface IGridBeanPluginmodel - The GridBean modelclient - The client object
DataSetException
TranslationException
public void loadOutput(IGridBeanModel model,
com.intel.gpe.client.application.Client client)
throws DataSetException,
TranslationException
IGridBeanPlugin
loadOutput in interface IGridBeanPluginmodel - The GridBean modelclient - The client object
DataSetException
TranslationException
public void storeInput(IGridBeanModel model)
throws DataSetException,
TranslationException
IGridBeanPlugin
storeInput in interface IGridBeanPluginmodel - The GridBean model
DataSetException
TranslationException
public void storeOutput(IGridBeanModel model)
throws DataSetException,
TranslationException
IGridBeanPlugin
storeOutput in interface IGridBeanPluginmodel - The GridBean model
DataSetException
TranslationExceptionpublic void validateInput(ErrorSet errors)
IGridBeanPlugin
validateInput in interface IGridBeanPluginerrors - The set of the errors
public boolean isValid(javax.xml.namespace.QName key,
java.lang.StringBuffer buf)
throws DataSetException
IDataSet
isValid in interface IDataSetkey - The name of the componentbuf - The reason of the failure of validation check is appended here
true if the value of the specified component is valid
DataSetException
public java.lang.String getDescription(javax.xml.namespace.QName key)
throws DataSetException
IDataSet
getDescription in interface IDataSetkey - The name of the component
DataSetException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||