org.fraid.plugin.beans
Class TransformPlugIn

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

See Also:
Serialized Form

Field Summary
 int delay_ms
           
 DoublePoint[] initialObject
           
 boolean iterate
           
protected  boolean mIsDrawing
           
protected  javax.swing.JCheckBoxMenuItem mIterateMenuItem
           
protected  java.awt.Point mLastPoint
           
protected  java.util.Vector<java.awt.Point> mPoints
           
 java.awt.Color plotColor
           
 int pointInterval
           
 boolean replaceLast
           
 int steps
           
 
Fields inherited from class org.fraid.plugin.BehaviorBean
autoScale, backgroundColor, bottomRight, frameSize, gridColor, mAutoScaleMenuItem, mGridCrossPoints, mPainterThread, mPanel, numberGridMarkerDigitsX, numberGridMarkerDigitsY, upperLeft
 
Constructor Summary
TransformPlugIn()
           
 
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 doItemStateChanged(java.awt.event.ItemEvent aE)
           
 boolean doMouseClicked(java.awt.event.MouseEvent aE)
           
 boolean doMouseMoved(java.awt.event.MouseEvent aE)
           
 int getDelay_ms()
          Get the Delay_ms value.
 java.awt.Color getPlotColor()
          Get the PlotColors value.
 int getPointInterval()
          Get the PointInterval value.
 int getSteps()
          Get the Steps value.
 boolean isIterate()
          Get the Iterate value.
 boolean isReplaceLast()
          Get the ReplaceLast value.
 void setDelay_ms(int newDelay_ms)
          Set the Delay_ms value.
 void setGraphicsPanel(GraphicsUser aOwner)
          See superclass.
 void setIterate(boolean newIterate)
          Set the Iterate value.
 void setPlotColor(java.awt.Color newPlotColor)
          Set the PlotColors value.
 void setPointInterval(int newPointInterval)
          Set the PointInterval value.
 void setReplaceLast(boolean newReplaceLast)
          Set the ReplaceLast value.
 void setSteps(int newSteps)
          Set the Steps value.
 
Methods inherited from class org.fraid.plugin.BehaviorBean
actionPerformed, copyAlgorithmStructures, doKeyPressed, doKeyReleased, doKeyTyped, doMouseDragged, doMouseEntered, doMouseExited, doMousePressed, 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

plotColor

public java.awt.Color plotColor

iterate

public boolean iterate

replaceLast

public boolean replaceLast

pointInterval

public int pointInterval

delay_ms

public int delay_ms

steps

public transient int steps

initialObject

public transient DoublePoint[] initialObject

mPoints

protected transient java.util.Vector<java.awt.Point> mPoints

mLastPoint

protected transient java.awt.Point mLastPoint

mIterateMenuItem

protected transient javax.swing.JCheckBoxMenuItem mIterateMenuItem

mIsDrawing

protected transient boolean mIsDrawing
Constructor Detail

TransformPlugIn

public TransformPlugIn()
Method Detail

getDelay_ms

public int getDelay_ms()
Get the Delay_ms value.

Returns:
the Delay_ms value.

setDelay_ms

public void setDelay_ms(int newDelay_ms)
Set the Delay_ms value.

Parameters:
newDelay_ms - The new Delay_ms value.

getPointInterval

public int getPointInterval()
Get the PointInterval value.

Returns:
the PointInterval value.

setPointInterval

public void setPointInterval(int newPointInterval)
Set the PointInterval value.

Parameters:
newPointInterval - The new PointInterval value.

getSteps

public int getSteps()
Get the Steps value.

Returns:
the Steps value.

setSteps

public void setSteps(int newSteps)
Set the Steps value.

Parameters:
newSteps - The new Steps value.

isReplaceLast

public boolean isReplaceLast()
Get the ReplaceLast value.

Returns:
the ReplaceLast value.

setReplaceLast

public void setReplaceLast(boolean newReplaceLast)
Set the ReplaceLast value.

Parameters:
newReplaceLast - The new ReplaceLast value.

isIterate

public boolean isIterate()
Get the Iterate value.

Returns:
the Iterate value.

setIterate

public void setIterate(boolean newIterate)
Set the Iterate value.

Parameters:
newIterate - The new Iterate value.

getPlotColor

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

Returns:
the PlotColors value.

setPlotColor

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

Parameters:
newPlotColors - The new PlotColors 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

doItemStateChanged

public boolean doItemStateChanged(java.awt.event.ItemEvent aE)
Overrides:
doItemStateChanged in class BehaviorBean

doActionPerformed

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

doMouseClicked

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

doMouseMoved

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