org.graffiti.plugins.modes.advanced.nodeResize
Class NodeResizeTool

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by javax.swing.event.MouseInputAdapter
          extended by org.graffiti.plugins.modes.deprecated.AbstractTool
              extended by org.graffiti.plugins.modes.deprecated.AbstractUndoableTool
                  extended by org.graffiti.plugins.modes.advanced.AbstractEditingTool
                      extended by org.graffiti.plugins.modes.advanced.nodeResize.NodeResizeTool
All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener, MouseInputListener, ViewListener, FunctionComponent, org.graffiti.plugins.modes.deprecated.Tool, SelectionListener, SessionListener, Undoable

Deprecated.

@Deprecated
public class NodeResizeTool
extends AbstractEditingTool

Tool for resizing nodes.


Field Summary
 
Fields inherited from class org.graffiti.plugins.modes.advanced.AbstractEditingTool
BOTTOM, CENTER, CENTER_HORIZONTAL, CENTER_VERTICAL, DEFAULT, DOWN, LEFT, RIGHT, TOP, UP
 
Constructor Summary
NodeResizeTool(ToolPlugin toolPlugin, PositionInfo positionInfo)
          Deprecated. Creates a new NodeResizeTool object.
 
Method Summary
 void deactivate()
          Deprecated. Classes that overwrite this method should call super.deactive first.
 FunctionAction getFunctionAction(String functionName)
          Deprecated. DOCUMENT ME!
 FunctionComponent getSubComponent(String name)
          Deprecated. Implementation of FunctionComponent
 boolean isDuringNodeResize()
          Deprecated. DOCUMENT ME!
 void setDuringNodeResize(boolean isDuringNodeResize)
          Deprecated. DOCUMENT ME!
 
Methods inherited from class org.graffiti.plugins.modes.advanced.AbstractEditingTool
activate, addAttributesToMap, addAttributesToMap, afterEvent, beforeEvent, fireSelectionChanged, getActiveJComponent, getAttributesMap, getBendCoords, getCooAttNode, getDummySupportViews, getGEMap, getGraph, getMode, getNodeCoords, getNodeDims, getNodesUnderMouse, getPositionInfo, getPrefs, getSelection, getToolPlugin, getTopEdge, getTopEdgeComponent, getTopGEComponent, getTopGraphElement, getTopNode, getTopNodeComponent, getUndoSupport, getViewComponent, getZoomedPosition, isInDefaultMode, isInMultiCommandMode, isMarked, isMarked, isViewListener, mark, mark, mouseDragged, mouseEntered, mouseExited, mouseMoved, nodeAdded, sessionChanged, setAttributesMap, setBendCoords, setModeToDefault, setNodeCoords, setNodeDims, switchToDefaultMode, switchToMultiCommandMode, unmark, unmark, unmarkAll, viewChanged
 
Methods inherited from class org.graffiti.plugins.modes.deprecated.AbstractUndoableTool
isSelectionListener, isSessionListener, sessionDataChanged, setUndoSupport
 
Methods inherited from class org.graffiti.plugins.modes.deprecated.AbstractTool
displayAsMarked, displayAsMarked, displayAsMarked, displayAsMarked, highlight, isActive, selectionChanged, selectionListChanged, setGraph, setPrefs, unDisplayAsMarked, unDisplayAsMarked, unDisplayAsMarked, unDisplayAsMarked
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mousePressed, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mousePressed, mouseReleased
 

Constructor Detail

NodeResizeTool

public NodeResizeTool(ToolPlugin toolPlugin,
                      PositionInfo positionInfo)
Deprecated. 
Creates a new NodeResizeTool object.

Parameters:
toolPlugin - DOCUMENT ME!
positionInfo - DOCUMENT ME!
Method Detail

setDuringNodeResize

public void setDuringNodeResize(boolean isDuringNodeResize)
Deprecated. 
DOCUMENT ME!

Parameters:
isDuringNodeResize - The isDuringNodeResize to set.

isDuringNodeResize

public boolean isDuringNodeResize()
Deprecated. 
DOCUMENT ME!

Returns:
Returns the isDuringNodeResize.

getFunctionAction

public FunctionAction getFunctionAction(String functionName)
Deprecated. 
DOCUMENT ME!

Specified by:
getFunctionAction in interface FunctionComponent
Overrides:
getFunctionAction in class AbstractEditingTool
Parameters:
functionName - DOCUMENT ME!
Returns:
DOCUMENT ME!

getSubComponent

public FunctionComponent getSubComponent(String name)
Deprecated. 
Implementation of FunctionComponent

Specified by:
getSubComponent in interface FunctionComponent
Overrides:
getSubComponent in class AbstractEditingTool
Parameters:
name - DOCUMENT ME!
Returns:
DOCUMENT ME!

deactivate

public void deactivate()
Deprecated. 
Classes that overwrite this method should call super.deactive first.

Specified by:
deactivate in interface org.graffiti.plugins.modes.deprecated.Tool
Overrides:
deactivate in class AbstractEditingTool
See Also:
Tool.deactivate()


Generated at 2012-05-30 11:01:25 PM CEST