org.fraid.plugin.beans
Class PhasePlugIn

java.lang.Object
  extended by org.fraid.plugin.BehaviorBean
      extended by org.fraid.plugin.beans.PhasePlugIn
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

public class PhasePlugIn
extends BehaviorBean

See Also:
Serialized Form

Field Summary
 double deltaDenominator
           
 java.awt.Color directionFieldColor
           
 int distanceBetweenVectors
           
 double endValue
           
 java.util.Vector<DoublePoint> mStartPoints
           
 java.awt.Color plotColor
           
 double startValue
           
 double timeLength
           
 double vectorDenominator
           
 
Fields inherited from class org.fraid.plugin.BehaviorBean
autoScale, backgroundColor, bottomRight, frameSize, gridColor, mAutoScaleMenuItem, mGridCrossPoints, mPainterThread, mPanel, numberGridMarkerDigitsX, numberGridMarkerDigitsY, upperLeft
 
Constructor Summary
PhasePlugIn()
           
 
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 doMousePressed(java.awt.event.MouseEvent aE)
           
 PaintAlgorithmThread getAlgorithm()
          Returns the current algorithm
 double getDeltaDenominator()
          Get the DeltaDenominator value.
 java.awt.Color getDirectionFieldColor()
          Get the DirectionFieldColor value.
 int getDistanceBetweenVectors()
          Get the DistanceBetweenVectors value.
 double getEndValue()
          Get the EndValue value.
 java.awt.Color getPlotColor()
          Get the PlotColor value.
 double getStartValue()
          Get the StartValue value.
 double getTimeLength()
          Get the TimeLength value.
 double getVectorDenominator()
          Get the VectorDenominator value.
 void setDeltaDenominator(double newDeltaDenominator)
          Set the DeltaDenominator value.
 void setDirectionFieldColor(java.awt.Color newDirectionFieldColor)
          Set the DirectionFieldColor value.
 void setDistanceBetweenVectors(int newDistanceBetweenVectors)
          Set the DistanceBetweenVectors value.
 void setEndValue(double newEndValue)
          Set the EndValue value.
 void setGraphicsPanel(GraphicsUser aOwner)
          See superclass.
 void setPlotColor(java.awt.Color newPlotColor)
          Set the PlotColor value.
 void setStartValue(double newStartValue)
          Set the StartValue value.
 void setTimeLength(double newTimeLength)
          Set the TimeLength value.
 void setVectorDenominator(double newVectorDenominator)
          Set the VectorDenominator value.
 
Methods inherited from class org.fraid.plugin.BehaviorBean
actionPerformed, copyAlgorithmStructures, doItemStateChanged, doKeyPressed, doKeyReleased, doKeyTyped, doMouseClicked, doMouseDragged, doMouseEntered, doMouseExited, doMouseMoved, doMouseReleased, doObjectChanged, 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

plotColor

public java.awt.Color plotColor

directionFieldColor

public java.awt.Color directionFieldColor

startValue

public double startValue

endValue

public double endValue

deltaDenominator

public double deltaDenominator

timeLength

public double timeLength

distanceBetweenVectors

public int distanceBetweenVectors

vectorDenominator

public double vectorDenominator

mStartPoints

public transient java.util.Vector<DoublePoint> mStartPoints
Constructor Detail

PhasePlugIn

public PhasePlugIn()
Method Detail

getVectorDenominator

public double getVectorDenominator()
Get the VectorDenominator value.

Returns:
the VectorDenominator value.

setVectorDenominator

public void setVectorDenominator(double newVectorDenominator)
Set the VectorDenominator value.

Parameters:
newVectorDenominator - The new VectorDenominator value.

getDistanceBetweenVectors

public int getDistanceBetweenVectors()
Get the DistanceBetweenVectors value.

Returns:
the DistanceBetweenVectors value.

setDistanceBetweenVectors

public void setDistanceBetweenVectors(int newDistanceBetweenVectors)
Set the DistanceBetweenVectors value.

Parameters:
newDistanceBetweenVectors - The new DistanceBetweenVectors value.

getDirectionFieldColor

public java.awt.Color getDirectionFieldColor()
Get the DirectionFieldColor value.

Returns:
the DirectionFieldColor value.

setDirectionFieldColor

public void setDirectionFieldColor(java.awt.Color newDirectionFieldColor)
Set the DirectionFieldColor value.

Parameters:
newDirectionFieldColor - The new DirectionFieldColor value.

getTimeLength

public double getTimeLength()
Get the TimeLength value.

Returns:
the TimeLength value.

setTimeLength

public void setTimeLength(double newTimeLength)
Set the TimeLength value.

Parameters:
newTimeLength - The new TimeLength value.

getDeltaDenominator

public double getDeltaDenominator()
Get the DeltaDenominator value.

Returns:
the DeltaDenominator value.

setDeltaDenominator

public void setDeltaDenominator(double newDeltaDenominator)
Set the DeltaDenominator value.

Parameters:
newDeltaDenominator - The new DeltaDenominator value.

getPlotColor

public java.awt.Color getPlotColor()
Get the PlotColor value.

Returns:
the PlotColor value.

setPlotColor

public void setPlotColor(java.awt.Color newPlotColor)
Set the PlotColor value.

Parameters:
newPlotColor - The new PlotColor value.

getStartValue

public double getStartValue()
Get the StartValue value.

Returns:
the StartValue value.

setStartValue

public void setStartValue(double newStartValue)
Set the StartValue value.

Parameters:
newStartValue - The new StartValue value.

getEndValue

public double getEndValue()
Get the EndValue value.

Returns:
the EndValue value.

setEndValue

public void setEndValue(double newEndValue)
Set the EndValue value.

Parameters:
newEndValue - The new EndValue 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

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

getAlgorithm

public PaintAlgorithmThread getAlgorithm()
Description copied from class: BehaviorBean
Returns the current algorithm

Specified by:
getAlgorithm in interface BehaviorBeanInterface
Overrides:
getAlgorithm in class BehaviorBean
Returns:
a PaintAlgorithmThread value

doMousePressed

public boolean doMousePressed(java.awt.event.MouseEvent aE)
Overrides:
doMousePressed 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.