Class mxInsertHandler

  • All Implemented Interfaces:
    java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener

    public class mxInsertHandler
    extends mxMouseAdapter
    • Field Detail

      • graphComponent

        protected mxGraphComponent graphComponent
        Reference to the enclosing graph component.
      • enabled

        protected boolean enabled
        Specifies if this handler is enabled. Default is true.
      • style

        protected java.lang.String style
      • first

        protected java.awt.Point first
      • lineWidth

        protected float lineWidth
      • lineColor

        protected java.awt.Color lineColor
      • rounded

        protected boolean rounded
    • Constructor Detail

      • mxInsertHandler

        public mxInsertHandler​(mxGraphComponent graphComponent,
                               java.lang.String style)
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean value)
      • isStartEvent

        public boolean isStartEvent​(java.awt.event.MouseEvent e)
      • start

        public void start​(java.awt.event.MouseEvent e)
      • mousePressed

        public void mousePressed​(java.awt.event.MouseEvent e)
        Specified by:
        mousePressed in interface java.awt.event.MouseListener
        mousePressed in class mxMouseAdapter
      • mouseDragged

        public void mouseDragged​(java.awt.event.MouseEvent e)
        Specified by:
        mouseDragged in interface java.awt.event.MouseMotionListener
        mouseDragged in class mxMouseAdapter
      • mouseReleased

        public void mouseReleased​(java.awt.event.MouseEvent e)
        Specified by:
        mouseReleased in interface java.awt.event.MouseListener
        mouseReleased in class mxMouseAdapter
      • insertCell

        public java.lang.Object insertCell​(mxRectangle bounds)
      • reset

        public void reset()
      • paint

        public void paint​(java.awt.Graphics g)