com.mxgraph.swing.handler
Class mxVertexHandler
- java.lang.Object
-
- com.mxgraph.swing.handler.mxCellHandler
-
- com.mxgraph.swing.handler.mxVertexHandler
-
public class mxVertexHandler extends mxCellHandler
-
-
Field Summary
Fields Modifier and Type Field and Description static java.awt.Cursor[]CURSORS
-
Constructor Summary
Constructors Constructor and Description mxVertexHandler(mxGraphComponent graphComponent, mxCellState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.awt.ColorgetSelectionColor()Returns the color used to draw the selection border.java.awt.StrokegetSelectionStroke()Returns the stroke used to draw the selection border.voidmouseDragged(java.awt.event.MouseEvent e)Processes the given event.voidmouseReleased(java.awt.event.MouseEvent e)Processes the given event.voidpaint(java.awt.Graphics g)Paints the visible handles of this handler.-
Methods inherited from class com.mxgraph.swing.handler.mxCellHandler
getBounds, getGraphComponent, getIndex, getIndexAt, getState, getToolTipText, isActive, isHandlesVisible, isLabel, isLabelMovable, mouseMoved, mousePressed, refresh, reset, setHandlesVisible, start
-
-
-
-
Constructor Detail
-
mxVertexHandler
public mxVertexHandler(mxGraphComponent graphComponent, mxCellState state)
- Parameters:
graphComponent-state-
-
-
Method Detail
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
Description copied from class:mxCellHandlerProcesses the given event.- Overrides:
mouseDraggedin classmxCellHandler
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
Description copied from class:mxCellHandlerProcesses the given event.- Overrides:
mouseReleasedin classmxCellHandler
-
getSelectionColor
public java.awt.Color getSelectionColor()
Description copied from class:mxCellHandlerReturns the color used to draw the selection border. This implementation returns null.- Overrides:
getSelectionColorin classmxCellHandler
-
getSelectionStroke
public java.awt.Stroke getSelectionStroke()
Description copied from class:mxCellHandlerReturns the stroke used to draw the selection border. This implementation returns null.- Overrides:
getSelectionStrokein classmxCellHandler
-
paint
public void paint(java.awt.Graphics g)
Description copied from class:mxCellHandlerPaints the visible handles of this handler.- Overrides:
paintin classmxCellHandler
-
-
DataMelt 3.0 © DataMelt by jWork.ORG