org.fraid.plugin
Interface BehaviorBeanInterface
- All Superinterfaces:
- java.awt.event.ActionListener, ChangeAwareObject, java.util.EventListener, java.awt.event.ItemListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.io.Serializable
- All Known Implementing Classes:
- AggregationPlotPlugIn, BehaviorBean, CobWebPlugIn, Color3DPlugIn, ConsumptionDiagramPlugIn, FunctionPlotPlugIn, IterFractPlugIn, JuliaPlugIn, MandelbrotPlugIn, MapPlotPlugIn, NewtonPlugIn, OrbitDiagram2PlugIn, OrbitDiagramPlugIn, PhasePlugIn, Plot2PlugIn, Plot3DPlugIn, Plot3FPlugIn, Plot3PlugIn, PMChartPlugIn, SpectrumPlugIn, Transform3PlugIn, TransformPlugIn
public interface BehaviorBeanInterface
- extends java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.KeyListener, ChangeAwareObject
All FrAid plugins implement this.
A plugin together with an algorith and a GraphicsUser generate the FrAid graphics.
Note all the interfaces it extends.
- See Also:
GraphicsUser
,
PaintAlgorithmThread
Method Summary |
void |
completePopupMenu(javax.swing.JPopupMenu popup)
If the current GraphicsUser has a popup menu, this will attach the appropriate menu items needed for this algorithm. |
PaintAlgorithmThread |
getAlgorithm()
Returns the algorithm used. |
void |
setGraphicsPanel(GraphicsUser aPanel)
Do not use this directly! The initialization is user->plugin->algorithm->user
(starts with GraphicsUser.setPlugIn ). |
Methods inherited from interface java.awt.event.ActionListener |
actionPerformed |
Methods inherited from interface java.awt.event.ItemListener |
itemStateChanged |
Methods inherited from interface java.awt.event.MouseListener |
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased |
Methods inherited from interface java.awt.event.MouseMotionListener |
mouseDragged, mouseMoved |
Methods inherited from interface java.awt.event.KeyListener |
keyPressed, keyReleased, keyTyped |
completePopupMenu
void completePopupMenu(javax.swing.JPopupMenu popup)
- If the current GraphicsUser has a popup menu, this will attach the appropriate menu items needed for this algorithm.
- Parameters:
popup
- a JPopupMenu
value
getAlgorithm
PaintAlgorithmThread getAlgorithm()
- Returns the algorithm used.
- Returns:
- a
PaintAlgorithmThread
value
setGraphicsPanel
void setGraphicsPanel(GraphicsUser aPanel)
throws PlugInException
- Do not use this directly! The initialization is user->plugin->algorithm->user
(starts with GraphicsUser.setPlugIn ).
- Parameters:
aPanel
- a GraphicsUser
value
- Throws:
PlugInException
- if an error occurs
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.