Package samer.maths
Class MatrixPanel
- java.lang.Object
-
- BaseViewer
-
- samer.maths.MatrixPanel
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.awt.event.FocusListener, java.util.EventListener
public class MatrixPanel extends BaseViewer implements java.awt.event.FocusListener, java.awt.event.ActionListener
A text based matrix editor
-
-
Constructor Summary
Constructors Constructor and Description MatrixPanel(Matrix A)
MatrixPanel(Matrix A, boolean qedit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
actionPerformed(java.awt.event.ActionEvent e)
void
focusGained(java.awt.event.FocusEvent e)
void
focusLost(java.awt.event.FocusEvent e)
void
update(java.util.Observable o, java.lang.Object src)
-
-
-
Constructor Detail
-
MatrixPanel
public MatrixPanel(Matrix A)
-
MatrixPanel
public MatrixPanel(Matrix A, boolean qedit)
-
-
Method Detail
-
update
public void update(java.util.Observable o, java.lang.Object src)
-
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Specified by:
focusGained
in interfacejava.awt.event.FocusListener
-
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Specified by:
focusLost
in interfacejava.awt.event.FocusListener
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
-