Tabnine Logo
CSSUtilities.convertPointerEvents
Code IndexAdd Tabnine to your IDE (free)

How to use
convertPointerEvents
method
in
org.apache.batik.bridge.CSSUtilities

Best Java code snippets using org.apache.batik.bridge.CSSUtilities.convertPointerEvents (Showing top 15 results out of 315)

origin: fr.avianey.apache-xmlgraphics/batik

  public static boolean isTextSensitive(Element e) {
    int     ptrEvts = CSSUtilities.convertPointerEvents(e);
    switch (ptrEvts) {
    case GraphicsNode.VISIBLE_PAINTED:   // fall-through is intended
    case GraphicsNode.VISIBLE_FILL:
    case GraphicsNode.VISIBLE_STROKE:
    case GraphicsNode.VISIBLE:
      return CSSUtilities.convertVisibility(e);
    case GraphicsNode.PAINTED:
    case GraphicsNode.FILL:              // fall-through is intended
    case GraphicsNode.STROKE:
    case GraphicsNode.ALL:
      return true;
    case GraphicsNode.NONE:
    default:
      return false;
    }
  }
}
origin: org.apache.xmlgraphics/batik-bridge

  public static boolean isTextSensitive(Element e) {
    int     ptrEvts = CSSUtilities.convertPointerEvents(e);
    switch (ptrEvts) {
    case GraphicsNode.VISIBLE_PAINTED:   // fall-through is intended
    case GraphicsNode.VISIBLE_FILL:
    case GraphicsNode.VISIBLE_STROKE:
    case GraphicsNode.VISIBLE:
      return CSSUtilities.convertVisibility(e);
    case GraphicsNode.PAINTED:
    case GraphicsNode.FILL:              // fall-through is intended
    case GraphicsNode.STROKE:
    case GraphicsNode.ALL:
      return true;
    case GraphicsNode.NONE:
    default:
      return false;
    }
  }
}
origin: apache/batik

  public static boolean isTextSensitive(Element e) {
    int     ptrEvts = CSSUtilities.convertPointerEvents(e);
    switch (ptrEvts) {
    case GraphicsNode.VISIBLE_PAINTED:   // fall-through is intended
    case GraphicsNode.VISIBLE_FILL:
    case GraphicsNode.VISIBLE_STROKE:
    case GraphicsNode.VISIBLE:
      return CSSUtilities.convertVisibility(e);
    case GraphicsNode.PAINTED:
    case GraphicsNode.FILL:              // fall-through is intended
    case GraphicsNode.STROKE:
    case GraphicsNode.ALL:
      return true;
    case GraphicsNode.NONE:
    default:
      return false;
    }
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Builds using the specified BridgeContext and element, the
 * specified graphics node.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes the graphics node to build
 * @param node the graphics node to build
 */
public void buildGraphicsNode(BridgeContext ctx,
               Element e,
               GraphicsNode node) {
  // 'opacity'
  node.setComposite(CSSUtilities.convertOpacity(e));
  // 'filter'
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  // 'mask'
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  // 'pointer-events'
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  initializeDynamicSupport(ctx, e, node);
  ctx.closeViewport(e);
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Builds using the specified BridgeContext and element, the
 * specified graphics node.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes the graphics node to build
 * @param node the graphics node to build
 */
public void buildGraphicsNode(BridgeContext ctx,
               Element e,
               GraphicsNode node) {
  // 'opacity'
  node.setComposite(CSSUtilities.convertOpacity(e));
  // 'filter'
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  // 'mask'
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  // 'pointer-events'
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  initializeDynamicSupport(ctx, e, node);
  ctx.closeViewport(e);
}
origin: apache/batik

/**
 * Builds using the specified BridgeContext and element, the
 * specified graphics node.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes the graphics node to build
 * @param node the graphics node to build
 */
public void buildGraphicsNode(BridgeContext ctx,
               Element e,
               GraphicsNode node) {
  // 'opacity'
  node.setComposite(CSSUtilities.convertOpacity(e));
  // 'filter'
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  // 'mask'
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  // 'pointer-events'
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  initializeDynamicSupport(ctx, e, node);
  ctx.closeViewport(e);
}
origin: org.apache.xmlgraphics/batik-bridge

node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Builds using the specified BridgeContext and element, the
 * specified graphics node.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes the graphics node to build
 * @param node the graphics node to build
 */
public void buildGraphicsNode(BridgeContext ctx,
               Element e,
               GraphicsNode node) {
  // 'opacity'
  node.setComposite(CSSUtilities.convertOpacity(e));
  // 'filter'
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  // 'mask'
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  // 'clip-path'
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  // 'pointer-events'
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  initializeDynamicSupport(ctx, e, node);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Builds using the specified BridgeContext and element, the
 * specified graphics node.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes the graphics node to build
 * @param node the graphics node to build
 */
public void buildGraphicsNode(BridgeContext ctx,
               Element e,
               GraphicsNode node) {
  // 'opacity'
  node.setComposite(CSSUtilities.convertOpacity(e));
  // 'filter'
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  // 'mask'
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  // 'clip-path'
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  // 'pointer-events'
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  initializeDynamicSupport(ctx, e, node);
}
origin: fr.avianey.apache-xmlgraphics/batik

node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
origin: apache/batik

/**
 * Builds using the specified BridgeContext and element, the
 * specified graphics node.
 *
 * @param ctx the bridge context to use
 * @param e the element that describes the graphics node to build
 * @param node the graphics node to build
 */
public void buildGraphicsNode(BridgeContext ctx,
               Element e,
               GraphicsNode node) {
  // 'opacity'
  node.setComposite(CSSUtilities.convertOpacity(e));
  // 'filter'
  node.setFilter(CSSUtilities.convertFilter(e, node, ctx));
  // 'mask'
  node.setMask(CSSUtilities.convertMask(e, node, ctx));
  // 'clip-path'
  node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
  // 'pointer-events'
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  initializeDynamicSupport(ctx, e, node);
}
origin: apache/batik

node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
origin: org.apache.xmlgraphics/batik-bridge

  break;
case SVGCSSEngine.POINTER_EVENTS_INDEX:
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  break;
case SVGCSSEngine.DISPLAY_INDEX:
origin: apache/batik

  break;
case SVGCSSEngine.POINTER_EVENTS_INDEX:
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  break;
case SVGCSSEngine.DISPLAY_INDEX:
origin: fr.avianey.apache-xmlgraphics/batik

  break;
case SVGCSSEngine.POINTER_EVENTS_INDEX:
  node.setPointerEventType(CSSUtilities.convertPointerEvents(e));
  break;
case SVGCSSEngine.DISPLAY_INDEX:
org.apache.batik.bridgeCSSUtilitiesconvertPointerEvents

Javadoc

Returns the type that describes how this graphics node reacts to events.

Popular methods of CSSUtilities

  • convertDisplay
    Returns true if the specified element has to be displayed, false otherwise. Checks the 'display' pro
  • computeStyleAndURIs
    Partially computes the style in the 'def' tree and set it in the 'use' tree. Note: This method must
  • convertClip
    Returns an array of floating offsets representing the 'clip' property or null if 'auto'. The offsets
  • convertClipPath
    Returns a Clip referenced by the specified element and which applies on the specified graphics node.
  • convertClipRule
    Returns the 'clip-rule' for the specified element.
  • convertColorInterpolation
    Returns the color space for the specified element. Checks the 'color-interpolation' property
  • convertColorInterpolationFilters
    Returns the color space for the specified filter element. Checks the 'color-interpolation-filters' p
  • convertColorRendering
    Fills the rendering hints for the specified element or do nothing if none has been specified. If the
  • convertCursor
    Returns the Cursor corresponding to the input element's cursor property
  • convertEnableBackground
    Returns the subregion of user space where access to the background image is allowed to happen.
  • convertFillRule
    Returns the 'fill-rule' for the specified element.
  • convertFilter
    Returns a Filter referenced by the specified element and which applies on the specified graphics nod
  • convertFillRule,
  • convertFilter,
  • convertFloodColor,
  • convertImageRendering,
  • convertLightingColor,
  • convertMask,
  • convertOpacity,
  • convertOverflow,
  • convertShapeRendering

Popular in Java

  • Reading from database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • getSystemService (Context)
  • addToBackStack (FragmentTransaction)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Top 12 Jupyter Notebook extensions
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