congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ConcreteTextSelector.dispatchSelectionEvent
Code IndexAdd Tabnine to your IDE (free)

How to use
dispatchSelectionEvent
method
in
org.apache.batik.bridge.ConcreteTextSelector

Best Java code snippets using org.apache.batik.bridge.ConcreteTextSelector.dispatchSelectionEvent (Showing top 12 results out of 315)

origin: org.apache.xmlgraphics/batik-bridge

public void clearSelection() {
  if (selectionNode == null) {
    return;
  }
  dispatchSelectionEvent(new SelectionEvent
    (null, SelectionEvent.SELECTION_CLEARED, null));
  selectionNode = null;
  selectionNodeRoot = null;
}
origin: fr.avianey.apache-xmlgraphics/batik

public void clearSelection() {
  if (selectionNode == null) {
    return;
  }
  dispatchSelectionEvent(new SelectionEvent
    (null, SelectionEvent.SELECTION_CLEARED, null));
  selectionNode = null;
  selectionNodeRoot = null;
}
origin: apache/batik

public void clearSelection() {
  if (selectionNode == null) {
    return;
  }
  dispatchSelectionEvent(new SelectionEvent
    (null, SelectionEvent.SELECTION_CLEARED, null));
  selectionNode = null;
  selectionNodeRoot = null;
}
origin: apache/batik

public void changeCompleted (GraphicsNodeChangeEvent gnce) {
  if (selectionNode == null) {
    return;
  }
  Shape newShape =
    ((Selectable)selectionNode).getHighlightShape();
  dispatchSelectionEvent
    (new SelectionEvent(getSelection(),
              SelectionEvent.SELECTION_CHANGED,
              newShape));
}
origin: org.apache.xmlgraphics/batik-bridge

public void changeCompleted (GraphicsNodeChangeEvent gnce) {
  if (selectionNode == null) {
    return;
  }
  Shape newShape =
    ((Selectable)selectionNode).getHighlightShape();
  dispatchSelectionEvent
    (new SelectionEvent(getSelection(),
              SelectionEvent.SELECTION_CHANGED,
              newShape));
}
origin: fr.avianey.apache-xmlgraphics/batik

public void changeCompleted (GraphicsNodeChangeEvent gnce) {
  if (selectionNode == null) {
    return;
  }
  Shape newShape =
    ((Selectable)selectionNode).getHighlightShape();
  dispatchSelectionEvent
    (new SelectionEvent(getSelection(),
              SelectionEvent.SELECTION_CHANGED,
              newShape));
}
origin: org.apache.xmlgraphics/batik-bridge

public void setSelection(Mark begin, Mark end) {
  TextNode node = begin.getTextNode();
  if (node != end.getTextNode()) {
    throw new RuntimeException("Markers not from same TextNode");
  }
  node.setSelection(begin, end);
  selectionNode = node;
  selectionNodeRoot = node.getRoot();
  Object selection = getSelection();
  Shape  shape     = node.getHighlightShape();
  dispatchSelectionEvent(new SelectionEvent
    (selection, SelectionEvent.SELECTION_DONE, shape));
}
origin: fr.avianey.apache-xmlgraphics/batik

public void setSelection(Mark begin, Mark end) {
  TextNode node = begin.getTextNode();
  if (node != end.getTextNode()) {
    throw new Error("Markers not from same TextNode");
  }
  node.setSelection(begin, end);
  selectionNode = node;
  selectionNodeRoot = node.getRoot();
  Object selection = getSelection();
  Shape  shape     = node.getHighlightShape();
  dispatchSelectionEvent(new SelectionEvent
    (selection, SelectionEvent.SELECTION_DONE, shape));
}
origin: apache/batik

public void setSelection(Mark begin, Mark end) {
  TextNode node = begin.getTextNode();
  if (node != end.getTextNode()) {
    throw new RuntimeException("Markers not from same TextNode");
  }
  node.setSelection(begin, end);
  selectionNode = node;
  selectionNodeRoot = node.getRoot();
  Object selection = getSelection();
  Shape  shape     = node.getHighlightShape();
  dispatchSelectionEvent(new SelectionEvent
    (selection, SelectionEvent.SELECTION_DONE, shape));
}
origin: fr.avianey.apache-xmlgraphics/batik

dispatchSelectionEvent(
    new SelectionEvent(null,
        SelectionEvent.SELECTION_STARTED,
  Shape newShape;
  newShape = ((Selectable)selectionNode).getHighlightShape();
  dispatchSelectionEvent
    (new SelectionEvent(oldSelection,
              SelectionEvent.SELECTION_DONE,
      ((Selectable) selectionNode).getHighlightShape();
    dispatchSelectionEvent(
      new SelectionEvent(null,
        SelectionEvent.SELECTION_CHANGED,
Shape newShape =
  ((Selectable) source).getHighlightShape();
dispatchSelectionEvent(
    new SelectionEvent(oldSelection,
        SelectionEvent.SELECTION_DONE,
origin: org.apache.xmlgraphics/batik-bridge

dispatchSelectionEvent(
    new SelectionEvent(null,
        SelectionEvent.SELECTION_STARTED,
  Shape newShape;
  newShape = ((Selectable)selectionNode).getHighlightShape();
  dispatchSelectionEvent
    (new SelectionEvent(oldSelection,
              SelectionEvent.SELECTION_DONE,
      ((Selectable) selectionNode).getHighlightShape();
    dispatchSelectionEvent(
      new SelectionEvent(null,
        SelectionEvent.SELECTION_CHANGED,
Shape newShape =
  ((Selectable) source).getHighlightShape();
dispatchSelectionEvent(
    new SelectionEvent(oldSelection,
        SelectionEvent.SELECTION_DONE,
origin: apache/batik

dispatchSelectionEvent(
    new SelectionEvent(null,
        SelectionEvent.SELECTION_STARTED,
  Shape newShape;
  newShape = ((Selectable)selectionNode).getHighlightShape();
  dispatchSelectionEvent
    (new SelectionEvent(oldSelection,
              SelectionEvent.SELECTION_DONE,
      ((Selectable) selectionNode).getHighlightShape();
    dispatchSelectionEvent(
      new SelectionEvent(null,
        SelectionEvent.SELECTION_CHANGED,
Shape newShape =
  ((Selectable) source).getHighlightShape();
dispatchSelectionEvent(
    new SelectionEvent(oldSelection,
        SelectionEvent.SELECTION_DONE,
org.apache.batik.bridgeConcreteTextSelectordispatchSelectionEvent

Javadoc

Reports whether the current selection contains any objects.

Popular methods of ConcreteTextSelector

  • clearSelection
  • <init>
  • addSelectionListener
    Add a SelectionListener to this Selector's notification list.
  • checkSelectGesture
  • getSelection
  • isDeselectGesture
  • isSelectAllGesture
  • isSelectContinueGesture
  • isSelectEndGesture
  • isSelectStartGesture
  • mouseClicked
  • mouseDragged
  • mouseClicked,
  • mouseDragged,
  • mouseEntered,
  • mouseExited,
  • mousePressed,
  • mouseReleased,
  • removeSelectionListener,
  • report,
  • setSelection

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onCreateOptionsMenu (Activity)
  • String (java.lang)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Reference (javax.naming)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now