Tabnine Logo
TextNode.getRoot
Code IndexAdd Tabnine to your IDE (free)

How to use
getRoot
method
in
org.apache.batik.bridge.TextNode

Best Java code snippets using org.apache.batik.bridge.TextNode.getRoot (Showing top 3 results out of 315)

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: 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));
}
org.apache.batik.bridgeTextNodegetRoot

Popular methods of TextNode

  • getTextRuns
    Returns a list of text runs.
  • getAttributedCharacterIterator
    Returns the attributed character iterator of this text node.
  • getHighlightShape
    Returns the shape used to outline this text node.
  • getLocation
    Returns the location of this text node.
  • getMarkerForChar
    Return the marker for the character at index in this nodes AttributedCharacterIterator. Before Char
  • setTextPainter
    Sets the text painter of this text node. If the specified text painter is null, this text node will
  • setTextRuns
    Sets the list of text runs of this text node.
  • <init>
    Constructs a new empty TextNode.
  • contains
  • fireGraphicsNodeChangeCompleted
  • fireGraphicsNodeChangeStarted
  • getBounds
  • fireGraphicsNodeChangeStarted,
  • getBounds,
  • getGeometryBounds,
  • getGlobalTransform,
  • getPrimitiveBounds,
  • getRenderingHints,
  • getText,
  • invalidateGeometryCache,
  • setAttributedCharacterIterator

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Best IntelliJ 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