All Packages Class Hierarchy This Package Previous Next Index
Class BrainWave.PatternSetEditorDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----BrainWave.PatternSetEditorDialog
- public class PatternSetEditorDialog
- extends Dialog
- implements ActionListener
A Modal Dialog that allows for editing the values
of patterns as part of the set of patterns.
This class will also export and import the values
as a simple text represention of the vectors
witin the set.
- Author:
- Doug South
-
addButton
-
-
cancelButton
-
-
deleteButton
-
-
editor
-
-
editorTableModel
-
-
fileDialog
-
-
numberOfValues
- Used when adding a new row to the pattern set.
-
okButton
-
-
parentFrame
-
-
patterns
-
-
patternSet
-
-
patternSetParser
-
-
readButton
-
-
scrollPane
-
-
writeButton
-
-
PatternSetEditorDialog(Frame, PatternSet)
-
-
actionPerformed(ActionEvent)
-
-
addPattern()
- Add a new pattern to the PatternSet.
-
clonePatterns(PatternSet)
- Makes a copy of the Patterns within a PatternSet.
-
setPatternSet(PatternSet)
-
-
setVisible(boolean)
- This Dialog's show positions the Dialog to appear
centred over its parent frame.
scrollPane
protected ScrollPane scrollPane
okButton
protected Button okButton
cancelButton
protected Button cancelButton
addButton
protected Button addButton
deleteButton
protected Button deleteButton
writeButton
protected Button writeButton
readButton
protected Button readButton
parentFrame
protected Frame parentFrame
editor
protected JTable editor
patternSet
protected PatternSet patternSet
patterns
protected Vector patterns
editorTableModel
protected PatternSetEditorDialog. EditorTableModel editorTableModel
fileDialog
protected FileDialog fileDialog
numberOfValues
protected int numberOfValues
- Used when adding a new row to the pattern set. This is done
just in case the vector is empty because of deletions
by the user.
patternSetParser
protected PatternSetParser patternSetParser
PatternSetEditorDialog
public PatternSetEditorDialog(Frame frame,
PatternSet patternSet)
setPatternSet
public void setPatternSet(PatternSet ps)
actionPerformed
public void actionPerformed(ActionEvent event)
setVisible
public void setVisible(boolean visible)
- This Dialog's show positions the Dialog to appear
centred over its parent frame.
- Overrides:
- setVisible in class Component
clonePatterns
protected Vector clonePatterns(PatternSet patternSet)
- Makes a copy of the Patterns within a PatternSet.
addPattern
protected void addPattern()
- Add a new pattern to the PatternSet.
All Packages Class Hierarchy This Package Previous Next Index