Public Member Functions

cern.gp.beans.editors.YesNoEditor Class Reference

List of all members.

Public Member Functions

 YesNoEditor ()
String[] getTags ()
String getJavaInitializationString ()
void setAsText (String text) throws IllegalArgumentException
String getAsText ()

Detailed Description

Editor that interprets a boolean as yes or no choice.

Version:
Revision:
1.2
Date:
2006/09/25 08:52:36
Author:
Vito Baggiolini

Constructor & Destructor Documentation

cern.gp.beans.editors.YesNoEditor.YesNoEditor (  ) 

Member Function Documentation

String cern.gp.beans.editors.YesNoEditor.getAsText (  ) 

return the boolean property as Text. This method returns a string that corresponds to the boolean value

Returns:
one of the two tags

Referenced by cern.gp.beans.editors.YesNoEditor.getJavaInitializationString().

String cern.gp.beans.editors.YesNoEditor.getJavaInitializationString (  ) 

used by the IDE for code generation

References cern.gp.beans.editors.YesNoEditor.getAsText().

String [] cern.gp.beans.editors.YesNoEditor.getTags (  ) 
Returns:
the tags recognized by this editor
void cern.gp.beans.editors.YesNoEditor.setAsText ( String  text  )  throws IllegalArgumentException

Sets the boolean property from a String. This method interprets the string and converts it into a boolean

Parameters:
text must be one of the tags

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties