org.nuiton.math.matrix.gui.MatrixPanelEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nuiton-matrix Show documentation
Show all versions of nuiton-matrix Show documentation
Librairie de matrice multi-dimensions.
The newest version!
/* *##% NuitonMatrix
* Copyright (C) 2004 - 2009 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* . ##%*/
package org.nuiton.math.matrix.gui;
import java.util.EventObject;
import org.nuiton.math.matrix.MatrixND;
/**
* MatrixPanelEvent.
*
* Created: 21 mars 2006 14:53:25
*
* @author poussin
* @version $Revision: 164 $
*
* Last update: $Date: 2009-06-16 20:13:11 +0200 (mar., 16 juin 2009) $
* by : $Author: tchemit $
*/
public class MatrixPanelEvent extends EventObject {
/** serialVersionUID. */
private static final long serialVersionUID = 368165247855055401L;
/**
* @param source
*/
public MatrixPanelEvent(MatrixEditor source) {
super(source);
}
public MatrixND getMatrix() {
MatrixND result = ((MatrixEditor) getSource()).getMatrix();
return result;
}
}