org.jscience.mathematics.algebraic.matrices.gui
Class QuaternionEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.jscience.mathematics.algebraic.matrices.gui.QuaternionEditor
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.beans.PropertyEditor, java.util.EventListener

public class QuaternionEditor
extends java.beans.PropertyEditorSupport
implements java.beans.PropertyChangeListener

Graphic editor for Quaternion.


Constructor Summary
QuaternionEditor()
          Creates a new QuaternionEditor object.
 
Method Summary
 java.awt.Component getCustomEditor()
          DOCUMENT ME!
 java.lang.String getJavaInitializationString()
          DOCUMENT ME!
 java.lang.Object getValue()
          DOCUMENT ME!
 void propertyChange(java.beans.PropertyChangeEvent ev)
          This QuaternionEditor listens to used QuaternionEditorPanel and this method is called, if a the "quaternion" property of QuaternionEditorPanel is changed.
 void setValue(java.lang.Object obj)
          DOCUMENT ME!
 boolean supportsCustomEditor()
          DOCUMENT ME!
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuaternionEditor

public QuaternionEditor()
Creates a new QuaternionEditor object.

Method Detail

setValue

public void setValue(java.lang.Object obj)
DOCUMENT ME!

Specified by:
setValue in interface java.beans.PropertyEditor
Overrides:
setValue in class java.beans.PropertyEditorSupport
Parameters:
obj - DOCUMENT ME!

getValue

public java.lang.Object getValue()
DOCUMENT ME!

Specified by:
getValue in interface java.beans.PropertyEditor
Overrides:
getValue in class java.beans.PropertyEditorSupport
Returns:
DOCUMENT ME!

getCustomEditor

public java.awt.Component getCustomEditor()
DOCUMENT ME!

Specified by:
getCustomEditor in interface java.beans.PropertyEditor
Overrides:
getCustomEditor in class java.beans.PropertyEditorSupport
Returns:
DOCUMENT ME!

supportsCustomEditor

public boolean supportsCustomEditor()
DOCUMENT ME!

Specified by:
supportsCustomEditor in interface java.beans.PropertyEditor
Overrides:
supportsCustomEditor in class java.beans.PropertyEditorSupport
Returns:
DOCUMENT ME!

getJavaInitializationString

public java.lang.String getJavaInitializationString()
DOCUMENT ME!

Specified by:
getJavaInitializationString in interface java.beans.PropertyEditor
Overrides:
getJavaInitializationString in class java.beans.PropertyEditorSupport
Returns:
DOCUMENT ME!

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent ev)
This QuaternionEditor listens to used QuaternionEditorPanel and this method is called, if a the "quaternion" property of QuaternionEditorPanel is changed.

Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Parameters:
ev - DOCUMENT ME!