Documentation of 'com.mxgraph.swing.handler.mxSelectionCellsHandler' Java class
mxSelectionCellsHandler
com.mxgraph.swing.handler

Class mxSelectionCellsHandler

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


    public class mxSelectionCellsHandler
    extends java.lang.Object
    implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener
    • Field Detail

      • DEFAULT_MAX_HANDLERS

        public static int DEFAULT_MAX_HANDLERS
        Defines the default value for maxHandlers. Default is 100.
    • Constructor Detail

      • mxSelectionCellsHandler

        public mxSelectionCellsHandler(mxGraphComponent graphComponent)
        Parameters:
        graphComponent -
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled(boolean value)
      • isVisible

        public boolean isVisible()
      • setVisible

        public void setVisible(boolean value)
      • getMaxHandlers

        public int getMaxHandlers()
      • setMaxHandlers

        public void setMaxHandlers(int value)
      • getHandler

        public mxCellHandler getHandler(java.lang.Object cell)
      • mousePressed

        public void mousePressed(java.awt.event.MouseEvent e)
        Dispatches the mousepressed event to the subhandles. This is called from the connection handler as subhandles have precedence over the connection handler.
        Specified by:
        mousePressed in interface java.awt.event.MouseListener
      • mouseMoved

        public void mouseMoved(java.awt.event.MouseEvent e)
        Specified by:
        mouseMoved in interface java.awt.event.MouseMotionListener
      • mouseDragged

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

        public void mouseReleased(java.awt.event.MouseEvent e)
        Specified by:
        mouseReleased in interface java.awt.event.MouseListener
      • getToolTipText

        public java.lang.String getToolTipText(java.awt.event.MouseEvent e)
        Redirects the tooltip handling of the JComponent to the graph component, which in turn may use getHandleToolTipText in this class to find a tooltip associated with a handle.
      • reset

        public void reset()
      • refresh

        public void refresh()
      • paintHandles

        public void paintHandles(java.awt.Graphics g)
      • mouseClicked

        public void mouseClicked(java.awt.event.MouseEvent arg0)
        Specified by:
        mouseClicked in interface java.awt.event.MouseListener
      • mouseEntered

        public void mouseEntered(java.awt.event.MouseEvent arg0)
        Specified by:
        mouseEntered in interface java.awt.event.MouseListener
      • mouseExited

        public void mouseExited(java.awt.event.MouseEvent arg0)
        Specified by:
        mouseExited in interface java.awt.event.MouseListener

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.