tit.summary.personality.PersonalityEditor Class Reference

Inheritance diagram for tit.summary.personality.PersonalityEditor:

tit.summary.personality.Personality List of all members.

Public Member Functions

 PersonalityEditor ()
 PersonalityEditor (Personality initialvalues)
void addChangeListener (ChangeListener listener)
void removeChangeListener (ChangeListener listener)
void actionPerformed (ActionEvent event)
void stateChanged (ChangeEvent event)
void changedUpdate (DocumentEvent event)
void insertUpdate (DocumentEvent event)
void removeUpdate (DocumentEvent event)
boolean issetRN ()
String getRN () throws AttributeNotSetException
void setRN (String newrn)
void unsetRN ()
boolean issetKLR ()
String getKLR () throws AttributeNotSetException
void setKLR (String newklr)
void unsetKLR ()
boolean issetDATE ()
Date getDATE () throws AttributeNotSetException
void setDATE (Date newdate)
void unsetDATE ()
boolean issetSES ()
String getSES () throws AttributeNotSetException
void setSES (String newses)
void unsetSES ()
boolean issetKOOI ()
String getKOOI () throws AttributeNotSetException
void setKOOI (String newkooi)
void unsetKOOI ()
boolean issetME ()
String getME () throws AttributeNotSetException
void setME (String newme)
void unsetME ()
boolean issetWZ ()
String getWZ () throws AttributeNotSetException
void setWZ (String newwz)
void unsetWZ ()
boolean issetSEQ ()
String getSEQ () throws AttributeNotSetException
void setSEQ (String newseq)
void unsetSEQ ()
boolean issetUSE ()
int getUSE () throws AttributeNotSetException
void setUSE (int newuse)
void unsetUSE ()
boolean issetWA ()
double getWA () throws AttributeNotSetException
void setWA (double newwa)
void unsetWA ()
boolean issetUUR ()
int getUUR () throws AttributeNotSetException
void setUUR (int newuur)
void unsetUUR ()
boolean issetSCR ()
int getSCR () throws AttributeNotSetException
void setSCR (int newscr)
void unsetSCR ()
boolean issetPANT ()
int getPANT () throws AttributeNotSetException
void setPANT (int newpant)
void unsetPANT ()
boolean issetVOC ()
int getVOC () throws AttributeNotSetException
void setVOC (int newvoc)
void unsetVOC ()
boolean issetCOM ()
String getCOM () throws AttributeNotSetException
void setCOM (String newcom)
void unsetCOM ()
void setAttributes (Personality personality)

Protected Member Functions

void notifyListeners ()

Private Attributes

JCheckBox rnlabel
JTextField rnvalue
JCheckBox klrlabel
JTextField klrvalue
JCheckBox datelabel
SpinnerDateModel datemodel
JSpinner datevalue
JCheckBox seslabel
JTextField sesvalue
JCheckBox kooilabel
JTextField kooivalue
JCheckBox melabel
JTextField mevalue
JCheckBox wzlabel
JTextField wzvalue
JCheckBox seqlabel
JTextField seqvalue
JCheckBox uselabel
JComboBox usevalue
JCheckBox walabel
SpinnerNumberModel wamodel
JSpinner wavalue
JCheckBox uurlabel
SpinnerNumberModel uurmodel
JSpinner uurvalue
JCheckBox scrlabel
JComboBox scrvalue
JCheckBox pantlabel
JComboBox pantvalue
JCheckBox voclabel
JComboBox vocvalue
JCheckBox comlabel
JTextArea comvalue
EventListenerList listeners

Static Private Attributes

static final String[] USE_CHOICES = {"No", "If necessary", "Yes"}
static final String[] SCR_CHOICES = {"No", "Yes"}
static final String[] PANT_CHOICES = {"Not", "Sometimes", "Mostly"}
static final String[] VOC_CHOICES = {"None", "Sometimes", "Many"}

Detailed Description

Form to edit a personality.
Author:
Bart Sas


Constructor & Destructor Documentation

tit.summary.personality.PersonalityEditor.PersonalityEditor (  ) 

Constructs a new PersonalityEditor.

tit.summary.personality.PersonalityEditor.PersonalityEditor ( Personality  initialvalues  ) 

Constructs a new PersonalityEditor.

Parameters:
initialvalues The initial values.


Member Function Documentation

void tit.summary.personality.PersonalityEditor.addChangeListener ( ChangeListener  listener  ) 

Adds a ChangeListener to this DayNightComponent.

Parameters:
listener The ChangeListener to add.

void tit.summary.personality.PersonalityEditor.removeChangeListener ( ChangeListener  listener  ) 

Removes a ChangeListener from this DayNightComponent.

Parameters:
listener The ChangeListener to remove.

void tit.summary.personality.PersonalityEditor.notifyListeners (  )  [protected]

Notifies this PersonalityEditor's listeners.

void tit.summary.personality.PersonalityEditor.actionPerformed ( ActionEvent  event  ) 

Invoked when an action occurs.

Parameters:
event The associated ChangeEvent.

void tit.summary.personality.PersonalityEditor.stateChanged ( ChangeEvent  event  ) 

Invoked when the target of the listener has changed its state.

Parameters:
event The associated ChangeEvent.

void tit.summary.personality.PersonalityEditor.changedUpdate ( DocumentEvent  event  ) 

Gives notification that an attribute or set of attributes changed.

Parameters:
event The associated DocumentEvent.

void tit.summary.personality.PersonalityEditor.insertUpdate ( DocumentEvent  event  ) 

Gives notification that there was an insert into the document.

Parameters:
event The associated DocumentEvent.

void tit.summary.personality.PersonalityEditor.removeUpdate ( DocumentEvent  event  ) 

Gives notification that a portion of the document has been removed.

Parameters:
event The associated DocumentEvent.

boolean tit.summary.personality.PersonalityEditor.issetRN (  ) 

Checks whether attribute klr is set.

Returns:
true if klr is set, false otherwise.

Implements tit.summary.personality.Personality.

String tit.summary.personality.PersonalityEditor.getRN (  )  throws AttributeNotSetException

Returns attribute rn's value.

Exceptions:
AttributeNotSetException Is thrown when attribute rn isn't set.
Returns:
Attribute rn's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setRN ( String  newrn  ) 

Sets attribute rn.

Parameters:
newrn The new value for attribute rn.

void tit.summary.personality.PersonalityEditor.unsetRN (  ) 

Unsets attribute rn.

boolean tit.summary.personality.PersonalityEditor.issetKLR (  ) 

Checks whether attribute klr is set.

Returns:
true if klr is set, false otherwise.

Implements tit.summary.personality.Personality.

String tit.summary.personality.PersonalityEditor.getKLR (  )  throws AttributeNotSetException

Returns attribute klr's value.

Exceptions:
AttributeNotSetException Is thrown when attribute klr isn't set.
Returns:
Attribute klr's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setKLR ( String  newklr  ) 

Sets attribute klr.

Parameters:
newklr The new value for attribute klr.

void tit.summary.personality.PersonalityEditor.unsetKLR (  ) 

Unsets attribute klr.

boolean tit.summary.personality.PersonalityEditor.issetDATE (  ) 

Checks whether attribute date is set.

Returns:
true if date is set, false otherwise.

Implements tit.summary.personality.Personality.

Date tit.summary.personality.PersonalityEditor.getDATE (  )  throws AttributeNotSetException

Returns attribute date's value.

Exceptions:
AttributeNotSetException Is thrown when attribute date isn't set.
Returns:
Attribute date's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setDATE ( Date  newdate  ) 

Sets attribute date.

Parameters:
newdate The new value for attribute date.

void tit.summary.personality.PersonalityEditor.unsetDATE (  ) 

Unsets attribute date.

boolean tit.summary.personality.PersonalityEditor.issetSES (  ) 

Checks whether attribute ses is set.

Returns:
true if ses is set, false otherwise.

Implements tit.summary.personality.Personality.

String tit.summary.personality.PersonalityEditor.getSES (  )  throws AttributeNotSetException

Returns attribute ses's value.

Exceptions:
AttributeNotSetException Is thrown when attribute ses isn't set.
Returns:
Attribute ses's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setSES ( String  newses  ) 

Sets attribute ses.

Parameters:
newses The new value for attribute ses.

void tit.summary.personality.PersonalityEditor.unsetSES (  ) 

Unsets attribute ses.

boolean tit.summary.personality.PersonalityEditor.issetKOOI (  ) 

Checks whether attribute kooi is set.

Returns:
true if kooi is set, false otherwise.

Implements tit.summary.personality.Personality.

String tit.summary.personality.PersonalityEditor.getKOOI (  )  throws AttributeNotSetException

Returns attribute kooi's value.

Exceptions:
AttributeNotSetException Is thrown when attribute kooi isn't set.
Returns:
Attribute kooi's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setKOOI ( String  newkooi  ) 

Sets attribute kooi.

Parameters:
newkooi The new value for attribute kooi.

void tit.summary.personality.PersonalityEditor.unsetKOOI (  ) 

Unsets attribute kooi.

boolean tit.summary.personality.PersonalityEditor.issetME (  ) 

Checks whether attribute me is set.

Returns:
true if me is set, false otherwise.

Implements tit.summary.personality.Personality.

String tit.summary.personality.PersonalityEditor.getME (  )  throws AttributeNotSetException

Returns attribute me's value.

Exceptions:
AttributeNotSetException Is thrown when attribute me isn't set.
Returns:
Attribute me's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setME ( String  newme  ) 

Sets attribute me.

Parameters:
newme The new value for attribute me.

void tit.summary.personality.PersonalityEditor.unsetME (  ) 

Unsets attribute me.

boolean tit.summary.personality.PersonalityEditor.issetWZ (  ) 

Checks whether attribute wz is set.

Returns:
true if wz is set, false otherwise.

Implements tit.summary.personality.Personality.

String tit.summary.personality.PersonalityEditor.getWZ (  )  throws AttributeNotSetException

Returns attribute wz's value.

Exceptions:
AttributeNotSetException Is thrown when attribute wz isn't set.
Returns:
Attribute wz's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setWZ ( String  newwz  ) 

Sets attribute wz.

Parameters:
newwz The new value for attribute wz.

void tit.summary.personality.PersonalityEditor.unsetWZ (  ) 

Unsets attribute wz.

boolean tit.summary.personality.PersonalityEditor.issetSEQ (  ) 

Checks whether attribute seq is set.

Returns:
true if seq is set, false otherwise.

Implements tit.summary.personality.Personality.

String tit.summary.personality.PersonalityEditor.getSEQ (  )  throws AttributeNotSetException

Returns attribute seq's value.

Exceptions:
AttributeNotSetException Is thrown when attribute seq isn't set.
Returns:
Attribute seq's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setSEQ ( String  newseq  ) 

Sets attribute seq.

Parameters:
newseq The new value for attribute seq.

void tit.summary.personality.PersonalityEditor.unsetSEQ (  ) 

Unsets attribute seq.

boolean tit.summary.personality.PersonalityEditor.issetUSE (  ) 

Checks whether attribute use is set.

Returns:
true if use is set, false otherwise.

Implements tit.summary.personality.Personality.

int tit.summary.personality.PersonalityEditor.getUSE (  )  throws AttributeNotSetException

Returns attribute use's value.

Exceptions:
AttributeNotSetException Is thrown when attribute use isn't set.
Returns:
Attribute use's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setUSE ( int  newuse  ) 

Sets attribute use.

Parameters:
newuse The new value for attribute use.

void tit.summary.personality.PersonalityEditor.unsetUSE (  ) 

Unsets attribute use.

boolean tit.summary.personality.PersonalityEditor.issetWA (  ) 

Checks whether attribute wa is set.

Returns:
true if wa is set, false otherwise.

Implements tit.summary.personality.Personality.

double tit.summary.personality.PersonalityEditor.getWA (  )  throws AttributeNotSetException

Returns attribute wa's value.

Exceptions:
AttributeNotSetException Is thrown when attribute wa isn't set.
Returns:
Attribute wa's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setWA ( double  newwa  ) 

Sets attribute wa.

Parameters:
newwa The new value for attribute wa.

void tit.summary.personality.PersonalityEditor.unsetWA (  ) 

Unsets attribute wa.

boolean tit.summary.personality.PersonalityEditor.issetUUR (  ) 

Checks whether attribute uur is set.

Returns:
true if uur is set, false otherwise.

Implements tit.summary.personality.Personality.

int tit.summary.personality.PersonalityEditor.getUUR (  )  throws AttributeNotSetException

Returns attribute uur's value.

Exceptions:
AttributeNotSetException Is thrown when attribute uur isn't set.
Returns:
Attribute uur's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setUUR ( int  newuur  ) 

Sets attribute uur.

Parameters:
newuur The new value for attribute uur.

void tit.summary.personality.PersonalityEditor.unsetUUR (  ) 

Unsets attribute uur.

boolean tit.summary.personality.PersonalityEditor.issetSCR (  ) 

Checks whether attribute scr is set.

Returns:
true if scr is set, false otherwise.

Implements tit.summary.personality.Personality.

int tit.summary.personality.PersonalityEditor.getSCR (  )  throws AttributeNotSetException

Returns attribute scr's value.

Exceptions:
AttributeNotSetException Is thrown when attribute scr isn't set.
Returns:
Attribute scr's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setSCR ( int  newscr  ) 

Sets attribute scr.

Parameters:
newscr The new value for attribute scr.

void tit.summary.personality.PersonalityEditor.unsetSCR (  ) 

Unsets attribute scr.

boolean tit.summary.personality.PersonalityEditor.issetPANT (  ) 

Checks whether attribute pant is set.

Returns:
true if pant is set, false otherwise.

Implements tit.summary.personality.Personality.

int tit.summary.personality.PersonalityEditor.getPANT (  )  throws AttributeNotSetException

Returns attribute pant's value.

Exceptions:
AttributeNotSetException Is thrown when attribute pant isn't set.
Returns:
Attribute pant's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setPANT ( int  newpant  ) 

Sets attribute pant.

Parameters:
newpant The new value for attribute pant.

void tit.summary.personality.PersonalityEditor.unsetPANT (  ) 

Unsets attribute pant.

boolean tit.summary.personality.PersonalityEditor.issetVOC (  ) 

Checks whether attribute voc is set.

Returns:
true if voc is set, false otherwise.

Implements tit.summary.personality.Personality.

int tit.summary.personality.PersonalityEditor.getVOC (  )  throws AttributeNotSetException

Returns attribute voc's value.

Exceptions:
AttributeNotSetException Is thrown when attribute voc isn't set.
Returns:
Attribute voc's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setVOC ( int  newvoc  ) 

Sets attribute voc.

Parameters:
newvoc The new value for attribute voc.

void tit.summary.personality.PersonalityEditor.unsetVOC (  ) 

Unsets attribute voc.

boolean tit.summary.personality.PersonalityEditor.issetCOM (  ) 

Checks whether attribute COM is set.

Returns:
true if COM is set, false otherwise.

Implements tit.summary.personality.Personality.

String tit.summary.personality.PersonalityEditor.getCOM (  )  throws AttributeNotSetException

Returns attribute COM's value.

Exceptions:
AttributeNotSetException Is thrown when attribute COM isn't set.
Returns:
Attribute COM's value.

Implements tit.summary.personality.Personality.

void tit.summary.personality.PersonalityEditor.setCOM ( String  newcom  ) 

Sets attribute COM.

Parameters:
newcom The new value for attribute COM.

void tit.summary.personality.PersonalityEditor.unsetCOM (  ) 

Unsets attribute COM.

void tit.summary.personality.PersonalityEditor.setAttributes ( Personality  personality  ) 

Sets all values.

Parameters:
personality The Personality from which the values are taken.


Member Data Documentation

final String [] tit.summary.personality.PersonalityEditor.USE_CHOICES = {"No", "If necessary", "Yes"} [static, private]

The choices for the use-combo box.

final String [] tit.summary.personality.PersonalityEditor.SCR_CHOICES = {"No", "Yes"} [static, private]

The choices for the scr-combo box.

final String [] tit.summary.personality.PersonalityEditor.PANT_CHOICES = {"Not", "Sometimes", "Mostly"} [static, private]

The choices for the pant-combo box.

final String [] tit.summary.personality.PersonalityEditor.VOC_CHOICES = {"None", "Sometimes", "Many"} [static, private]

The choices for the voc-combo box.

JCheckBox tit.summary.personality.PersonalityEditor.rnlabel [private]

The rn-label.

JTextField tit.summary.personality.PersonalityEditor.rnvalue [private]

The rn-value.

JCheckBox tit.summary.personality.PersonalityEditor.klrlabel [private]

The klr-label.

JTextField tit.summary.personality.PersonalityEditor.klrvalue [private]

The klr-value.

JCheckBox tit.summary.personality.PersonalityEditor.datelabel [private]

The date-label.

SpinnerDateModel tit.summary.personality.PersonalityEditor.datemodel [private]

The date-model.

JSpinner tit.summary.personality.PersonalityEditor.datevalue [private]

The date-value.

JCheckBox tit.summary.personality.PersonalityEditor.seslabel [private]

The ses-label.

JTextField tit.summary.personality.PersonalityEditor.sesvalue [private]

The ses-value.

JCheckBox tit.summary.personality.PersonalityEditor.kooilabel [private]

The kooi-label.

JTextField tit.summary.personality.PersonalityEditor.kooivalue [private]

The kooi-value.

JCheckBox tit.summary.personality.PersonalityEditor.melabel [private]

The me-label.

JTextField tit.summary.personality.PersonalityEditor.mevalue [private]

The me-value.

JCheckBox tit.summary.personality.PersonalityEditor.wzlabel [private]

The wz-label.

JTextField tit.summary.personality.PersonalityEditor.wzvalue [private]

The wz-value.

JCheckBox tit.summary.personality.PersonalityEditor.seqlabel [private]

The seq-label.

JTextField tit.summary.personality.PersonalityEditor.seqvalue [private]

The seq-value.

JCheckBox tit.summary.personality.PersonalityEditor.uselabel [private]

The use-label.

JComboBox tit.summary.personality.PersonalityEditor.usevalue [private]

The use-value.

JCheckBox tit.summary.personality.PersonalityEditor.walabel [private]

The wa-label.

SpinnerNumberModel tit.summary.personality.PersonalityEditor.wamodel [private]

The wa-model.

JSpinner tit.summary.personality.PersonalityEditor.wavalue [private]

The wa-value.

JCheckBox tit.summary.personality.PersonalityEditor.uurlabel [private]

The uur-label.

SpinnerNumberModel tit.summary.personality.PersonalityEditor.uurmodel [private]

The uur-model.

JSpinner tit.summary.personality.PersonalityEditor.uurvalue [private]

The uur-value.

JCheckBox tit.summary.personality.PersonalityEditor.scrlabel [private]

The scr-label.

JComboBox tit.summary.personality.PersonalityEditor.scrvalue [private]

The scr-value.

JCheckBox tit.summary.personality.PersonalityEditor.pantlabel [private]

The pant-label.

JComboBox tit.summary.personality.PersonalityEditor.pantvalue [private]

The pant-value.

JCheckBox tit.summary.personality.PersonalityEditor.voclabel [private]

The voc-label.

JComboBox tit.summary.personality.PersonalityEditor.vocvalue [private]

The voc-value.

JCheckBox tit.summary.personality.PersonalityEditor.comlabel [private]

The COM-label.

JTextArea tit.summary.personality.PersonalityEditor.comvalue [private]

The COM-value.

EventListenerList tit.summary.personality.PersonalityEditor.listeners [private]

The list of listeners for this object.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 16:44:01 2007 by  doxygen 1.5.1