Public Member Functions | |
EditObservation (Observable originalobservation, Personality originalpersonality) throws IOException | |
EditObservation (ObservationReader reader) throws IOException | |
EditObservation (File fileinit) throws IOException, SAXException, ParserConfigurationException | |
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) |
Static Public Member Functions | |
static EditObservation | readTITFile (File titfile) throws IOException |
Private Member Functions | |
void | saveObservation () |
void | saveObservationAs () |
void | summarizeObservation () |
void | closeWindow () |
void | addBehaviour () |
void | removeBehaviour () |
Private Attributes | |
ObservationTableModel | observation |
JTable | table |
ScrollDownScrollPane | scrollbars |
PersonalityEditor | personality |
JButton | save |
JButton | saveas |
JButton | summarize |
File | file |
boolean | dirty |
JPopupMenu | popup |
JMenuItem | addbehaviour |
JMenuItem | removebehaviour |
tit.gui.EditObservation.EditObservation | ( | Observable | originalobservation, | |
Personality | originalpersonality | |||
) | throws IOException |
Constructs a new EditObservation
.
originalobservation | The observation to edit. | |
originalpersonality | The personality to edit. |
IOException | Is thrown when something goes wrong while reading the input. |
tit.gui.EditObservation.EditObservation | ( | ObservationReader | reader | ) | throws IOException |
Constructs a new EditObservation
.
reader | The ObservationXMLReader from which the input is read. |
IOException | Is thrown when something goes wrong while reading the input. |
tit.gui.EditObservation.EditObservation | ( | File | fileinit | ) | throws IOException, SAXException, ParserConfigurationException |
fileinit | The File from which the input is read. |
IOException | Is thrown when something goes wrong while reading the input. | |
SAXException | Is thrown when something goes wrong while reading the input. | |
ParserConfigurationException | Is thrown when something goes wrong while reading the input. |
static EditObservation tit.gui.EditObservation.readTITFile | ( | File | titfile | ) | throws IOException [static] |
Reads an (old) tit-file.
titfile | The tit-file. |
EditObservation
instance. IOException | Is thrown when something goes wrong while reading the tit file. |
void tit.gui.EditObservation.saveObservation | ( | ) | [private] |
Saves the observation.
void tit.gui.EditObservation.saveObservationAs | ( | ) | [private] |
Saves the observation.
void tit.gui.EditObservation.summarizeObservation | ( | ) | [private] |
Summarizes the observation.
void tit.gui.EditObservation.closeWindow | ( | ) | [private] |
Closes this window.
void tit.gui.EditObservation.addBehaviour | ( | ) | [private] |
Adds a behaviour to the table.
void tit.gui.EditObservation.removeBehaviour | ( | ) | [private] |
Removes all the selected behaviours in the table.
void tit.gui.EditObservation.actionPerformed | ( | ActionEvent | event | ) |
Handles ActionEvent
s.
event | The associated ActionEvent . |
void tit.gui.EditObservation.internalFrameActivated | ( | InternalFrameEvent | event | ) |
Invoked when an internal frame is activated.
event | The associated InternalFrameEvent . |
void tit.gui.EditObservation.internalFrameClosed | ( | InternalFrameEvent | event | ) |
Invoked when an internal frame has been closed.
event | The associated InternalFrameEvent . |
void tit.gui.EditObservation.internalFrameClosing | ( | InternalFrameEvent | event | ) |
Invoked when an internal frame is in the process of being closed.
event | The associated InternalFrameEvent . |
void tit.gui.EditObservation.internalFrameDeactivated | ( | InternalFrameEvent | event | ) |
Invoked when an internal frame is de-activated.
event | The associated InternalFrameEvent . |
void tit.gui.EditObservation.internalFrameDeiconified | ( | InternalFrameEvent | event | ) |
Invoked when an internal frame is de-iconified.
event | The associated InternalFrameEvent . |
void tit.gui.EditObservation.internalFrameIconified | ( | InternalFrameEvent | event | ) |
Invoked when an internal frame is iconified.
event | The associated InternalFrameEvent . |
void tit.gui.EditObservation.internalFrameOpened | ( | InternalFrameEvent | event | ) |
Invoked when a internal frame has been opened.
event | The associated InternalFrameEvent . |
void tit.gui.EditObservation.tableChanged | ( | TableModelEvent | event | ) |
Invoked when a table model has been changed.
event | The associated TableModelEvent . |
void tit.gui.EditObservation.stateChanged | ( | ChangeEvent | event | ) |
Invoked when the target of the listener has changed its state.
event | The associated ChangeEvent . |
void tit.gui.EditObservation.mouseClicked | ( | MouseEvent | event | ) |
Invoked when the mouse button has been clicked (pressed and released) on a component.
event | The associated MouseEvent . |
void tit.gui.EditObservation.mouseEntered | ( | MouseEvent | event | ) |
Invoked when the mouse enters a component.
event | The associated MouseEvent . |
void tit.gui.EditObservation.mouseExited | ( | MouseEvent | event | ) |
Invoked when the mouse exits a component.
event | The associated MouseEvent . |
void tit.gui.EditObservation.mousePressed | ( | MouseEvent | event | ) |
Invoked when a mouse button has been pressed on a component.
event | The associated MouseEvent . |
void tit.gui.EditObservation.mouseReleased | ( | MouseEvent | event | ) |
Invoked when a mouse button has been released on a component.
event | The associated MouseEvent . |
The observation.
JTable tit.gui.EditObservation.table [private] |
The table in which the observation is displayed.
The table scrollbars.
The personality-editor.
JButton tit.gui.EditObservation.save [private] |
The save-button.
JButton tit.gui.EditObservation.saveas [private] |
The save as-button.
JButton tit.gui.EditObservation.summarize [private] |
The summarize-button.
File tit.gui.EditObservation.file [private] |
The file we are editing.
boolean tit.gui.EditObservation.dirty [private] |
The dirty flag.
JPopupMenu tit.gui.EditObservation.popup [private] |
The popup menu.
JMenuItem tit.gui.EditObservation.addbehaviour [private] |
The add behaviour-popup menu item.
JMenuItem tit.gui.EditObservation.removebehaviour [private] |
The remove behaviour-popup menu item.