Codota Logo
BindableElement
Code IndexAdd Codota to your IDE (free)

How to use
BindableElement
in
org.apache.batik.anim.dom

Best Java code snippets using org.apache.batik.anim.dom.BindableElement (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: fr.avianey.apache-xmlgraphics/batik

  /**
   * Returns the shadow tree.
   */
  public Node getCSSLastChild() {
    return getCSSFirstChild();
  }
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns a new uninitialized instance of this object's class.
 */
protected Node newNode() {
  return new BindableElement(null, null, namespaceURI, localName);
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Fires a ShadowTreeEvent of the given type on this element.
 */
protected void fireShadowTreeEvent(BindableElement elt,
                  String type,
                  XBLShadowTreeElement e) {
  DocumentEvent de = (DocumentEvent) elt.getOwnerDocument();
  ShadowTreeEvent evt
    = (ShadowTreeEvent) de.createEvent("ShadowTreeEvent");
  evt.initShadowTreeEventNS(XBL_NAMESPACE_URI, type, true, false, e);
  elt.dispatchEvent(evt);
}
origin: fr.avianey.apache-xmlgraphics/batik

  cm.dispose();
elt.setShadowTree(null);
XBLRecord rec = getRecord(oldShadow);
rec.boundElement = null;
   docSubtreeListener, false, null);
fireShadowTreeEvent(elt, XBL_PREBIND_EVENT_TYPE, newShadow);
elt.setShadowTree(newShadow);
XBLRecord rec = getRecord(newShadow);
rec.boundElement = elt;
AbstractDocument doc
  = (AbstractDocument) elt.getOwnerDocument();
XBLManager xm = doc.getXBLManager();
ContentManager cm = new ContentManager(newShadow, xm);
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Invoked when an MutationEvent of type 'DOMNodeInserted' is fired.
 */
public void handleDOMNodeInsertedEvent(MutationEvent evt) {
  // Only rebuild the graphics tree if this custom element is not bound.
  BindableElement be = (BindableElement) e;
  Element shadowTree = be.getXblShadowTree();
  if (shadowTree == null && evt.getTarget() instanceof Element) {
    handleElementAdded((CompositeGraphicsNode) node, 
              e, 
              (Element) evt.getTarget());
  }
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Get the shadow tree of a node.
 */
public Element getXblShadowTree(Node n) {
  if (n instanceof BindableElement) {
    BindableElement elt = (BindableElement) n;
    return elt.getShadowTree();
  }
  return null;
}
origin: org.apache.xmlgraphics/batik-bridge

  cm.dispose();
elt.setShadowTree(null);
XBLRecord rec = getRecord(oldShadow);
rec.boundElement = null;
   docSubtreeListener, false, null);
fireShadowTreeEvent(elt, XBL_PREBIND_EVENT_TYPE, newShadow);
elt.setShadowTree(newShadow);
XBLRecord rec = getRecord(newShadow);
rec.boundElement = elt;
AbstractDocument doc
  = (AbstractDocument) elt.getOwnerDocument();
XBLManager xm = doc.getXBLManager();
ContentManager cm = new ContentManager(newShadow, xm);
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Invoked when an MutationEvent of type 'DOMNodeInserted' is fired.
 */
public void handleDOMNodeInsertedEvent(MutationEvent evt) {
  // Only rebuild the graphics tree if this custom element is not bound.
  BindableElement be = (BindableElement) e;
  Element shadowTree = be.getXblShadowTree();
  if (shadowTree == null && evt.getTarget() instanceof Element) {
    handleElementAdded((CompositeGraphicsNode) node, 
              e, 
              (Element) evt.getTarget());
  }
}
origin: apache/batik

/**
 * Get the shadow tree of a node.
 */
public Element getXblShadowTree(Node n) {
  if (n instanceof BindableElement) {
    BindableElement elt = (BindableElement) n;
    return elt.getShadowTree();
  }
  return null;
}
origin: org.apache.xmlgraphics/batik-anim

  /**
   * Returns the shadow tree.
   */
  public Node getCSSLastChild() {
    return getCSSFirstChild();
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Fires a ShadowTreeEvent of the given type on this element.
 */
protected void fireShadowTreeEvent(BindableElement elt,
                  String type,
                  XBLShadowTreeElement e) {
  DocumentEvent de = (DocumentEvent) elt.getOwnerDocument();
  ShadowTreeEvent evt
    = (ShadowTreeEvent) de.createEvent("ShadowTreeEvent");
  evt.initShadowTreeEventNS(XBL_NAMESPACE_URI, type, true, false, e);
  elt.dispatchEvent(evt);
}
origin: apache/batik

  cm.dispose();
elt.setShadowTree(null);
XBLRecord rec = getRecord(oldShadow);
rec.boundElement = null;
   docSubtreeListener, false, null);
fireShadowTreeEvent(elt, XBL_PREBIND_EVENT_TYPE, newShadow);
elt.setShadowTree(newShadow);
XBLRecord rec = getRecord(newShadow);
rec.boundElement = elt;
AbstractDocument doc
  = (AbstractDocument) elt.getOwnerDocument();
XBLManager xm = doc.getXBLManager();
ContentManager cm = new ContentManager(newShadow, xm);
origin: apache/batik

/**
 * Returns a new uninitialized instance of this object's class.
 */
protected Node newNode() {
  return new BindableElement(null, null, namespaceURI, localName);
}
origin: apache/batik

/**
 * Invoked when an MutationEvent of type 'DOMNodeInserted' is fired.
 */
public void handleDOMNodeInsertedEvent(MutationEvent evt) {
  // Only rebuild the graphics tree if this custom element is not bound.
  BindableElement be = (BindableElement) e;
  Element shadowTree = be.getXblShadowTree();
  if (shadowTree == null && evt.getTarget() instanceof Element) {
    handleElementAdded((CompositeGraphicsNode) node, 
              e, 
              (Element) evt.getTarget());
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Get the shadow tree of a node.
 */
public Element getXblShadowTree(Node n) {
  if (n instanceof BindableElement) {
    BindableElement elt = (BindableElement) n;
    return elt.getShadowTree();
  }
  return null;
}
origin: apache/batik

  /**
   * Returns the shadow tree.
   */
  public Node getCSSLastChild() {
    return getCSSFirstChild();
  }
}
origin: apache/batik

/**
 * Fires a ShadowTreeEvent of the given type on this element.
 */
protected void fireShadowTreeEvent(BindableElement elt,
                  String type,
                  XBLShadowTreeElement e) {
  DocumentEvent de = (DocumentEvent) elt.getOwnerDocument();
  ShadowTreeEvent evt
    = (ShadowTreeEvent) de.createEvent("ShadowTreeEvent");
  evt.initShadowTreeEventNS(XBL_NAMESPACE_URI, type, true, false, e);
  elt.dispatchEvent(evt);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Returns a new uninitialized instance of this object's class.
 */
protected Node newNode() {
  return new BindableElement(null, null, namespaceURI, localName);
}
origin: org.apache.xmlgraphics/batik-bridge

Element shadowTree = be.getXblShadowTree();
origin: fr.avianey.apache-xmlgraphics/batik

public void dispose() {
  BindableElement be = (BindableElement) e;
  if (be != null && be.getCSSFirstChild() != null) {
    disposeTree(be.getCSSFirstChild());
  }
  super.dispose();
}
org.apache.batik.anim.domBindableElement

Javadoc

This class implements foreign namespace elements that can be bound with XBL.

Most used methods

  • getCSSFirstChild
    Returns the shadow tree.
  • <init>
    Creates a new BindableElement object.
  • dispatchEvent
  • getOwnerDocument
  • getShadowTree
    Returns the shadow tree for this bindable element.
  • getXblShadowTree
  • setShadowTree
    Sets the shadow tree for this bindable element.

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JFileChooser (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
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