Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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 ()

Static Private Attributes

final String YES = "yes"
final String NO = "no"
String[] tagStrings = { YES, NO}

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  )  [inline]
 


Member Function Documentation

String cern::gp::beans::editors::YesNoEditor::getAsText  )  [inline]
 

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

Returns:
one of the two tags

String cern::gp::beans::editors::YesNoEditor::getJavaInitializationString  )  [inline]
 

used by the IDE for code generation

String [] cern::gp::beans::editors::YesNoEditor::getTags  )  [inline]
 

Returns:
the tags recognized by this editor

void cern::gp::beans::editors::YesNoEditor::setAsText String  text  )  throws IllegalArgumentException [inline]
 

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


Member Data Documentation

final String cern::gp::beans::editors::YesNoEditor::NO = "no" [static, private]
 

String [] cern::gp::beans::editors::YesNoEditor::tagStrings = { YES, NO} [static, private]
 

final String cern::gp::beans::editors::YesNoEditor::YES = "yes" [static, private]
 

the tags recognized by this editor


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:08:17 2009 for ACS Java API by doxygen 1.3.8