mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog Class Reference

Inherits gui::dialog::JAPDialog, java::awt::event::KeyListener, and java::awt::event::ActionListener.

List of all members.

Public Member Functions

void actionPerformed (ActionEvent e)
void keyReleased (KeyEvent e)
void keyTyped (KeyEvent e)
void keyPressed (KeyEvent e)

Static Public Member Functions

static boolean verifyValidID (String input)
static boolean verifyValidName (String input)
static Section showAddSectionDialog (Component parent)
static Paragraph showAddParagraphDialog (Component parent)

Package Attributes

JButton ok = new JButton(JAPMessages.getString(DialogContentPane.MSG_OK))
JButton cancel = new JButton(JAPMessages.getString(DialogContentPane.MSG_CANCEL))
JTextField[] inputFields = null
InputVerifier verifier = null

Private Member Functions

 AddComponentDialog (Component parent, String componentKey, JTextField[] inputFields, JLabel[] labels, JLabel helpTextLabel, InputVerifier verifier)

Classes

interface  InputVerifier


Detailed Description

Class for showing special dialog that allwos user to create and add new customized sections or paragraphs

Constructor & Destructor Documentation

mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.AddComponentDialog ( Component  parent,
String  componentKey,
JTextField[]  inputFields,
JLabel[]  labels,
JLabel  helpTextLabel,
InputVerifier  verifier 
) [private]


Member Function Documentation

void mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.actionPerformed ( ActionEvent  e  ) 

ActionListener implementation

void mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.keyReleased ( KeyEvent  e  ) 

KeyListener implementation for live field validation

References mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.InputVerifier.verfifyInput().

void mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.keyTyped ( KeyEvent  e  ) 

void mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.keyPressed ( KeyEvent  e  ) 

static boolean mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.verifyValidID ( String  input  )  [static]

Parameters:
input Input to check.
Returns:
true if the input is a valid ID, i.e. a valid floating point number,false otherwise

static boolean mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.verifyValidName ( String  input  )  [static]

Parameters:
input Input to check
Returns:
true if the entered input is a valid name, i.e. not null and not empty, false otherwise

static Section mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.showAddSectionDialog ( Component  parent  )  [static]

Display a a dialog for creating a new customized section

Parameters:
parent parent component for displaying the dialog
Returns:
the created customized section or null if user canceled operation.

References mixconfig.panels.TermsAndConditionsContentDialog.MSG_ID, and mixconfig.panels.TermsAndConditionsContentDialog.MSG_NAME.

static Paragraph mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.showAddParagraphDialog ( Component  parent  )  [static]

Display a a dialog for creating a new customized paragraph

Parameters:
parent parent component for displaying the dialog
Returns:
the created customized paragraph or null if user canceled operation.

References mixconfig.panels.TermsAndConditionsContentDialog.MSG_ID.


Member Data Documentation

JButton mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.ok = new JButton(JAPMessages.getString(DialogContentPane.MSG_OK)) [package]

JButton mixconfig.panels.TermsAndConditionsContentDialog.AddComponentDialog.cancel = new JButton(JAPMessages.getString(DialogContentPane.MSG_CANCEL)) [package]


The documentation for this class was generated from the following file:

Generated on Mon Nov 16 23:24:48 2009 for MixConfig by  doxygen 1.5.6