Codota Logo
BasicMarqueeHandler.mouseReleased
Code IndexAdd Codota to your IDE (free)

How to use
mouseReleased
method
in
org.jgraph.graph.BasicMarqueeHandler

Best Java code snippets using org.jgraph.graph.BasicMarqueeHandler.mouseReleased (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: net.sf.ingenias/editor

/**
 *  Description of the Method
 *
 *@param  e  Description of Parameter
 */
public void mouseMoved(MouseEvent e) {		
  // Check Mode and Find Port
  if (e != null && getGraph()!=null && getSourcePortAt(e.getPoint()) != null &&
      !e.isConsumed() && getGraph().isPortsVisible()) {
    // Set Cusor on Graph (Automatically Reset)
    getGraph().setCursor(new Cursor(Cursor.HAND_CURSOR));
    // Consume Event
    e.consume();
  }
  // Call Superclass
  super.mouseReleased(e);
}
origin: net.sf.ingenias/ingeniasjgraphmod

  marquee.mouseReleased(null);
if (mouseListener != null)
  mouseListener.mouseReleased(null);
origin: net.sf.ingenias/ingeniasjgraphmod

public void mouseReleased(MouseEvent e) {
  try {
    if (e != null && !e.isConsumed() && graph != null
        && graph.isEnabled()) {
      if (handler == marquee && marquee != null)
        marquee.mouseReleased(e);
      else if (handler == handle && handle != null)
        handle.mouseReleased(e);
      if (isDescendant(cell, focus) && e.getModifiers() != 0) {
        // Do not switch to parent if Special Selection
        cell = focus;
      }
      if (!e.isConsumed() && cell != null) {
        Object tmp = cell.getCell();
        boolean wasSelected = graph.isCellSelected(tmp);
        if (!e.isPopupTrigger() || !wasSelected) {
          selectCellForEvent(tmp, e);
          focus = cell;
          postProcessSelection(e, tmp, wasSelected);
        }
      }
    }
  } finally {
    handler = null;
    cell = null;
  }
}
origin: net.sf.ingenias/editor

start = current = null;
super.mouseReleased(e);
if (getGraph()!=null){
origin: uk.org.mygrid.taverna.scufl/scufl-ui

super.mouseReleased(e);
org.jgraph.graphBasicMarqueeHandlermouseReleased

Javadoc

Stops the current marquee selection.

Popular methods of BasicMarqueeHandler

  • mouseDragged
    Includes the specified startPoint in the marquee selection. Calls overlay.
  • mousePressed
    Start the marquee at the specified startPoint. This invokes expandMarqueeToPoint to initialize marqu
  • <init>
  • isForceMarqueeEvent
  • mouseMoved
    Empty.
  • overlay
    Draw the current state of the handler. This is called twice by the overlay method and also by the pa
  • handleMarqueeEvent
    Hook for subclassers. Current implementation checks if graph selection is enabled. This is called fr
  • isMarqueeTriggerEvent
    Hook for subclassers. Current implementation checks if graph selection is enabled. This is called fr
  • paint
    Called after the component was repainted (after autoscroll). This is used to indicate that the graph
  • processMouseDraggedEvent
    Called from mouse dragged to update the marquee state during a repaint.

Popular in Java

  • Reactive rest calls using spring rest template
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now