IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.gui
Interface ErrorVisualBean

All Known Implementing Classes:
SpErrorLabel, SpErrorList, SpPanel.ErrorBeanLabel

public interface ErrorVisualBean

The ErrorVisualBean interface is implemented by any visual bean that shows error messages in a SpPanel.


Method Summary
 java.lang.String[] getListText()
          Returns the list of errors text string that the Visual Bean is Showing.
 java.lang.String getText()
          Returns the first error text string that the Visual Bean is Showing.
 void setListText(java.lang.String[] text)
          Defines the several lines (errors) of text this component will display.
 void setText(java.lang.String text)
          Defines the single line (error) of text this component will display.
 

Method Detail

getListText

public java.lang.String[] getListText()
Returns the list of errors text string that the Visual Bean is Showing.

Returns:
String - the list of errors text property value

getText

public java.lang.String getText()
Returns the first error text string that the Visual Bean is Showing.

Returns:
String - the first error text property value

setListText

public void setListText(java.lang.String[] text)
Defines the several lines (errors) of text this component will display. If the value of text is null or empty string, nothing is displayed.

Parameters:
text - String[], the new value for the several lines (errors) of text

setText

public void setText(java.lang.String text)
Defines the single line (error) of text this component will display. If the value of text is null or empty string, nothing is displayed.

Parameters:
text - String, the new value for the single line (error) of text

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005