tit.gui.NewObservation Class Reference

List of all members.

Public Member Functions

 NewObservation ()
void actionPerformed (ActionEvent event)
void internalFrameActivated (InternalFrameEvent event)
void internalFrameClosed (InternalFrameEvent event)
void internalFrameClosing (InternalFrameEvent event)
void internalFrameDeactivated (InternalFrameEvent event)
void internalFrameDeiconified (InternalFrameEvent event)
void internalFrameIconified (InternalFrameEvent event)
void internalFrameOpened (InternalFrameEvent event)
void tableChanged (TableModelEvent event)
void stateChanged (ChangeEvent event)
void mouseClicked (MouseEvent event)
void mouseEntered (MouseEvent event)
void mouseExited (MouseEvent event)
void mousePressed (MouseEvent event)
void mouseReleased (MouseEvent event)

Private Member Functions

void saveObservation ()
void saveObservationAs ()
void saveSummary ()
void autoSave ()
void closeWindow ()
void startObservation ()
void stopObservation ()
void playSound ()
void addBehaviour ()
void removeBehaviour ()

Private Attributes

ObservationTableModel observation
JTable table
ScrollDownScrollPane scrollbars
PersonalityEditor personality
JButton save
JButton saveas
JButton summarize
File file
boolean dirty
CardLayout toplayout
JPanel top
JButton start
JButton stop
ProgressBar progress
Timer stoptimer
PresentTimeObservation ptobservation
ObservationInput observationinput
Timer progresstimer
Timer soundtimer
AudioClip sound
JPopupMenu popup
JMenuItem addbehaviour
JMenuItem removebehaviour
long time

Static Private Attributes

static final String START = "START"
static final String STOP = "STOP"
static final String SAVE = "SAVE"
static final int PROGRESS_INTERVAL = 1000

Detailed Description

An observation-editor.
Author:
Bart Sas


Constructor & Destructor Documentation

tit.gui.NewObservation.NewObservation (  ) 

Constructs a new EditObservation.


Member Function Documentation

void tit.gui.NewObservation.saveObservation (  )  [private]

Saves the observation.

void tit.gui.NewObservation.saveObservationAs (  )  [private]

Saves the observation.

void tit.gui.NewObservation.saveSummary (  )  [private]

Summarizes the observation.

void tit.gui.NewObservation.autoSave (  )  [private]

Saves the observation automatically.

void tit.gui.NewObservation.closeWindow (  )  [private]

Closes this window.

void tit.gui.NewObservation.startObservation (  )  [private]

Starts the observation.

void tit.gui.NewObservation.stopObservation (  )  [private]

Stops the observation

void tit.gui.NewObservation.playSound (  )  [private]

Plays a sound

void tit.gui.NewObservation.addBehaviour (  )  [private]

Adds a behaviour to the table.

void tit.gui.NewObservation.removeBehaviour (  )  [private]

Removes all the selected behaviours in the table.

void tit.gui.NewObservation.actionPerformed ( ActionEvent  event  ) 

Handles ActionEvents.

Parameters:
event The associated ActionEvent.

void tit.gui.NewObservation.internalFrameActivated ( InternalFrameEvent  event  ) 

Invoked when an internal frame is activated.

Parameters:
event The associated InternalFrameEvent.

void tit.gui.NewObservation.internalFrameClosed ( InternalFrameEvent  event  ) 

Invoked when an internal frame has been closed.

Parameters:
event The associated InternalFrameEvent.

void tit.gui.NewObservation.internalFrameClosing ( InternalFrameEvent  event  ) 

Invoked when an internal frame is in the process of being closed.

Parameters:
event The associated InternalFrameEvent.

void tit.gui.NewObservation.internalFrameDeactivated ( InternalFrameEvent  event  ) 

Invoked when an internal frame is de-activated.

Parameters:
event The associated InternalFrameEvent.

void tit.gui.NewObservation.internalFrameDeiconified ( InternalFrameEvent  event  ) 

Invoked when an internal frame is de-iconified.

Parameters:
event The associated InternalFrameEvent.

void tit.gui.NewObservation.internalFrameIconified ( InternalFrameEvent  event  ) 

Invoked when an internal frame is iconified.

Parameters:
event The associated InternalFrameEvent.

void tit.gui.NewObservation.internalFrameOpened ( InternalFrameEvent  event  ) 

Invoked when a internal frame has been opened.

Parameters:
event The associated InternalFrameEvent.

void tit.gui.NewObservation.tableChanged ( TableModelEvent  event  ) 

Invoked when a table model has been changed.

Parameters:
event The associated TableModelEvent.

void tit.gui.NewObservation.stateChanged ( ChangeEvent  event  ) 

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

Parameters:
event The associated ChangeEvent.

void tit.gui.NewObservation.mouseClicked ( MouseEvent  event  ) 

Invoked when the mouse button has been clicked (pressed and released) on a component.

Parameters:
event The associated MouseEvent.

void tit.gui.NewObservation.mouseEntered ( MouseEvent  event  ) 

Invoked when the mouse enters a component.

Parameters:
event The associated MouseEvent.

void tit.gui.NewObservation.mouseExited ( MouseEvent  event  ) 

Invoked when the mouse exits a component.

Parameters:
event The associated MouseEvent.

void tit.gui.NewObservation.mousePressed ( MouseEvent  event  ) 

Invoked when a mouse button has been pressed on a component.

Parameters:
event The associated MouseEvent.

void tit.gui.NewObservation.mouseReleased ( MouseEvent  event  ) 

Invoked when a mouse button has been released on a component.

Parameters:
event The associated MouseEvent.


Member Data Documentation

final String tit.gui.NewObservation.START = "START" [static, private]

The identifier for the start-panel.

final String tit.gui.NewObservation.STOP = "STOP" [static, private]

The identifier for the stop-panel.

final String tit.gui.NewObservation.SAVE = "SAVE" [static, private]

The identifier for the save-panel.

final int tit.gui.NewObservation.PROGRESS_INTERVAL = 1000 [static, private]

The interval of the progress timer.

ObservationTableModel tit.gui.NewObservation.observation [private]

The observation.

JTable tit.gui.NewObservation.table [private]

The table in which the observation is displayed.

ScrollDownScrollPane tit.gui.NewObservation.scrollbars [private]

The table scrollbars.

PersonalityEditor tit.gui.NewObservation.personality [private]

The personality-editor.

JButton tit.gui.NewObservation.save [private]

The save-button.

JButton tit.gui.NewObservation.saveas [private]

The save as-button.

JButton tit.gui.NewObservation.summarize [private]

The summarize-button.

File tit.gui.NewObservation.file [private]

The file we are editing.

boolean tit.gui.NewObservation.dirty [private]

The dirty flag.

CardLayout tit.gui.NewObservation.toplayout [private]

The top-panel's layout.

JPanel tit.gui.NewObservation.top [private]

The top-panel.

JButton tit.gui.NewObservation.start [private]

The start-button.

JButton tit.gui.NewObservation.stop [private]

The stop-button.

ProgressBar tit.gui.NewObservation.progress [private]

The progress bar showing the progress of the observation.

Timer tit.gui.NewObservation.stoptimer [private]

The timer which stops the observation.

PresentTimeObservation tit.gui.NewObservation.ptobservation [private]

A wrapper around the observation which records all actions now.

ObservationInput tit.gui.NewObservation.observationinput [private]

The observation input-component.

Timer tit.gui.NewObservation.progresstimer [private]

The timer which advances the progress bar.

Timer tit.gui.NewObservation.soundtimer [private]

The timer which plays a sound indicating the observation is nearly at an end.

AudioClip tit.gui.NewObservation.sound [private]

The sound which is played when the observation is at an end.

JPopupMenu tit.gui.NewObservation.popup [private]

The popup menu.

JMenuItem tit.gui.NewObservation.addbehaviour [private]

The add behaviour-popup menu item.

JMenuItem tit.gui.NewObservation.removebehaviour [private]

The remove behaviour-popup menu item.

long tit.gui.NewObservation.time [private]

The current time.


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