Class MegaTools
java.lang.Object
java.awt.event.MouseAdapter
javax.swing.event.MouseInputAdapter
org.graffiti.plugin.tool.AbstractTool
org.graffiti.plugin.tool.AbstractUndoableTool
org.graffiti.plugins.modes.defaults.MegaTools
- All Implemented Interfaces:
 MouseListener,MouseMotionListener,MouseWheelListener,EventListener,MouseInputListener,Tool,SelectionListener,SessionListener,Undoable
- Direct Known Subclasses:
 AdvancedLabelTool,LabelTool,MegaCreateTool,MegaMoveTool
public abstract class MegaTools extends AbstractUndoableTool
DOCUMENT ME!
- Version:
 - $Revision: 1.35.6.1 $
 - Author:
 - holleis
 
- 
Field Summary
Fields Modifier and Type Field Description static booleanMouseWheelZoomEnabled - 
Constructor Summary
Constructors Constructor Description MegaTools() - 
Method Summary
Modifier and Type Method Description voidfireSelectionChanged()DOCUMENT ME!ComponentgetFoundComponent()static MouseEventgetLastMouseE()static ComponentgetLastMouseSrc()voidmouseMoved(MouseEvent e)Temporarily marks the component under cursor.voidpostProcessImageCreation()voidpreProcessImageCreation()voidsessionChanged(Session s)Called when the active session is changed.voidsessionDataChanged(Session s)Called when the session data (not the session's graph data!) changed.voidsetFoundComponent(Component foundComponent)voidunmarkAll()Clears the selection.static booleanwasScrollPaneMovement()Methods inherited from class org.graffiti.plugin.tool.AbstractUndoableTool
isSelectionListener, isSessionListener, setUndoSupportMethods inherited from class org.graffiti.plugin.tool.AbstractTool
activate, activateTool, deactivate, deactivateAll, displayAsMarked, displayAsMarked, displayAsMarked, displayAsMarked, getActiveTool, highlight, isActive, isViewListener, selectionChanged, selectionListChanged, setGraph, setPrefs, unDisplayAsMarked, unDisplayAsMarkedMethods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseReleased, mouseWheelMovedMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleasedMethods inherited from interface java.awt.event.MouseMotionListener
mouseDraggedMethods inherited from interface org.graffiti.plugin.tool.Tool
getToolName 
- 
Field Details
- 
MouseWheelZoomEnabled
public static boolean MouseWheelZoomEnabled 
 - 
 - 
Constructor Details
- 
MegaTools
public MegaTools() 
 - 
 - 
Method Details
- 
fireSelectionChanged
public void fireSelectionChanged()DOCUMENT ME! - 
getFoundComponent
 - 
setFoundComponent
 - 
mouseMoved
Temporarily marks the component under cursor.- Specified by:
 mouseMovedin interfaceMouseMotionListener- Overrides:
 mouseMovedin classMouseAdapter- Parameters:
 e- the mouse event
 - 
sessionChanged
Called when the active session is changed.- Specified by:
 sessionChangedin interfaceSessionListener- Overrides:
 sessionChangedin classAbstractUndoableTool- Parameters:
 s- DOCUMENT ME!- See Also:
 SessionListener.sessionChanged(Session)
 - 
sessionDataChanged
Called when the session data (not the session's graph data!) changed.- Specified by:
 sessionDataChangedin interfaceSessionListener- Overrides:
 sessionDataChangedin classAbstractUndoableTool- Parameters:
 s- DOCUMENT ME!- See Also:
 SessionListener.sessionDataChanged(Session)
 - 
unmarkAll
public void unmarkAll()Clears the selection. Does not fire a selectionChanged event. - 
getLastMouseE
 - 
wasScrollPaneMovement
public static boolean wasScrollPaneMovement() - 
getLastMouseSrc
 - 
preProcessImageCreation
public void preProcessImageCreation() - 
postProcessImageCreation
public void postProcessImageCreation() 
 -