org.fraid.plugin.beans
Class Plot3DPlugIn

java.lang.Object
  extended by org.fraid.plugin.BehaviorBean
      extended by org.fraid.plugin.beans.Plot3DPlugIn
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, BehaviorBeanInterface, ChangeAwareObject
Direct Known Subclasses:
Plot3FPlugIn, Plot3PlugIn, Transform3PlugIn

public class Plot3DPlugIn
extends BehaviorBean

See Also:
Serialized Form

Nested Class Summary
 class Plot3DPlugIn.FakeGridVector
           
 
Field Summary
 java.awt.Point draggingPoint
           
 Model3D mModel
           
 ColorMap plotColors
           
 boolean plotCoordSystem
           
 boolean printFunctionNames
           
 double xyAngleInRad
           
 double xzAngleInRad
           
 
Fields inherited from class org.fraid.plugin.BehaviorBean
autoScale, backgroundColor, bottomRight, frameSize, gridColor, mAutoScaleMenuItem, mGridCrossPoints, mPainterThread, mPanel, numberGridMarkerDigitsX, numberGridMarkerDigitsY, upperLeft
 
Constructor Summary
Plot3DPlugIn()
           
 
Method Summary
 java.lang.Object clone()
          Clone when saving to file.
 void completePopupMenu(javax.swing.JPopupMenu aPopup)
          See superclass.
 boolean doActionPerformed(java.awt.event.ActionEvent aE)
           
 boolean doMouseDragged(java.awt.event.MouseEvent aE)
           
 boolean doMousePressed(java.awt.event.MouseEvent aE)
           
 ColorMap getPlotColors()
          Get the PlotColors value.
 double getXyAngleInRad()
          Get the XyAngleInRad value.
 double getXzAngleInRad()
          Get the XzAngleInRad value.
 boolean isPlotCoordSystem()
          Get the PlotCoordSystem value.
 boolean isPrintFunctionNames()
          Get the PrintFunctionNames value.
 void setGraphicsPanel(GraphicsUser aOwner)
          See superclass.
protected  void setGraphicsPanelNoThread(GraphicsUser aOwner)
           
 void setPlotColors(ColorMap newPlotColors)
          Set the PlotColors value.
 void setPlotCoordSystem(boolean newPlotCoordSystem)
          Set the PlotCoordSystem value.
 void setPrintFunctionNames(boolean newPrintFunctionNames)
          Set the PrintFunctionNames value.
 void setXyAngleInRad(double newXyAngleInRad)
          Set the XyAngleInRad value.
 void setXzAngleInRad(double newXzAngleInRad)
          Set the XzAngleInRad value.
 
Methods inherited from class org.fraid.plugin.BehaviorBean
actionPerformed, copyAlgorithmStructures, doItemStateChanged, doKeyPressed, doKeyReleased, doKeyTyped, doMouseClicked, doMouseEntered, doMouseExited, doMouseMoved, doMouseReleased, doObjectChanged, getAlgorithm, getBackgroundColor, getBottomRight, getFrameSize, getGridColor, getNumberGridMarkerDigitsX, getNumberGridMarkerDigitsY, getToolTipText, getUpperLeft, isAutoScale, itemStateChanged, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, objectChanged, setAutoScale, setBackgroundColor, setBottomRight, setFrameSize, setGridColor, setLimits, setNumberGridMarkerDigitsX, setNumberGridMarkerDigitsY, setUpperLeft
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

plotColors

public ColorMap plotColors

printFunctionNames

public boolean printFunctionNames

plotCoordSystem

public boolean plotCoordSystem

xyAngleInRad

public double xyAngleInRad

xzAngleInRad

public double xzAngleInRad

draggingPoint

public transient java.awt.Point draggingPoint

mModel

public transient Model3D mModel
Constructor Detail

Plot3DPlugIn

public Plot3DPlugIn()
Method Detail

getPlotColors

public ColorMap getPlotColors()
Get the PlotColors value.

Returns:
the PlotColors value.

setPlotColors

public void setPlotColors(ColorMap newPlotColors)
Set the PlotColors value.

Parameters:
newPlotColors - The new PlotColors value.

isPlotCoordSystem

public boolean isPlotCoordSystem()
Get the PlotCoordSystem value.

Returns:
the PlotCoordSystem value.

setPlotCoordSystem

public void setPlotCoordSystem(boolean newPlotCoordSystem)
Set the PlotCoordSystem value.

Parameters:
newPlotCoordSystem - The new PlotCoordSystem value.

isPrintFunctionNames

public boolean isPrintFunctionNames()
Get the PrintFunctionNames value.

Returns:
the PrintFunctionNames value.

setPrintFunctionNames

public void setPrintFunctionNames(boolean newPrintFunctionNames)
Set the PrintFunctionNames value.

Parameters:
newPrintFunctionNames - The new PrintFunctionNames value.

getXyAngleInRad

public double getXyAngleInRad()
Get the XyAngleInRad value.

Returns:
the XyAngleInRad value.

setXyAngleInRad

public void setXyAngleInRad(double newXyAngleInRad)
Set the XyAngleInRad value.

Parameters:
newXyAngleInRad - The new XyAngleInRad value.

getXzAngleInRad

public double getXzAngleInRad()
Get the XzAngleInRad value.

Returns:
the XzAngleInRad value.

setXzAngleInRad

public void setXzAngleInRad(double newXzAngleInRad)
Set the XzAngleInRad value.

Parameters:
newXzAngleInRad - The new XzAngleInRad value.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Description copied from class: BehaviorBean
Clone when saving to file.

Overrides:
clone in class BehaviorBean
Returns:
an Object value
Throws:
java.lang.CloneNotSupportedException - if an error occurs

setGraphicsPanel

public void setGraphicsPanel(GraphicsUser aOwner)
                      throws PlugInException
Description copied from class: BehaviorBean
See superclass.

Specified by:
setGraphicsPanel in interface BehaviorBeanInterface
Overrides:
setGraphicsPanel in class BehaviorBean
Parameters:
aOwner - a GraphicsUser value
Throws:
PlugInException - if an error occurs

setGraphicsPanelNoThread

protected void setGraphicsPanelNoThread(GraphicsUser aOwner)
                                 throws PlugInException
Throws:
PlugInException

completePopupMenu

public void completePopupMenu(javax.swing.JPopupMenu aPopup)
Description copied from class: BehaviorBean
See superclass.

Specified by:
completePopupMenu in interface BehaviorBeanInterface
Overrides:
completePopupMenu in class BehaviorBean
Parameters:
aPopup - a JPopupMenu value

doActionPerformed

public boolean doActionPerformed(java.awt.event.ActionEvent aE)
Overrides:
doActionPerformed in class BehaviorBean

doMousePressed

public boolean doMousePressed(java.awt.event.MouseEvent aE)
Overrides:
doMousePressed in class BehaviorBean

doMouseDragged

public boolean doMouseDragged(java.awt.event.MouseEvent aE)
Overrides:
doMouseDragged in class BehaviorBean


Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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 Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.