/** * This method ensures that any modification to a text * element and its children is going to be reflected * into the GVT tree. */ protected void initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node) { super.initializeDynamicSupport(ctx, e, node); if (ctx.isDynamic()) { // Only add the listeners if we are dynamic. addTextEventListeners(ctx, (NodeEventTarget) e); } }
/** * This method ensures that any modification to a text * element and its children is going to be reflected * into the GVT tree. */ protected void initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node) { super.initializeDynamicSupport(ctx, e, node); if (ctx.isDynamic()) { // Only add the listeners if we are dynamic. addTextEventListeners(ctx, (NodeEventTarget) e); } }
/** * This method ensures that any modification to a text * element and its children is going to be reflected * into the GVT tree. */ protected void initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node) { super.initializeDynamicSupport(ctx, e, node); if (ctx.isDynamic()) { // Only add the listeners if we are dynamic. addTextEventListeners(ctx, (NodeEventTarget) e); } }
/** * 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); }
/** * 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); }
/** * 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); }