Package gda.spring.propertyeditors
Class RealMatrixPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
gda.spring.propertyeditors.RealMatrixPropertyEditor
- All Implemented Interfaces:
PropertyEditor
A
PropertyEditor for matrices. Strings must be in the format
{{1,2,3},{4,5,6},{7,8,9}} or {{1;2;3};{4;5;6};{7;8;9}}.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
RealMatrixPropertyEditor
public RealMatrixPropertyEditor()Creates a matrix property editor.
-
-
Method Details
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
getValue
public org.apache.commons.math.linear.RealMatrix getValue()- Specified by:
getValuein interfacePropertyEditor- Overrides:
getValuein classPropertyEditorSupport
-
getAsText
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-