org.apache.batik.bridge
Interface FilterPrimitiveBridge

All Superinterfaces:
Bridge
All Known Subinterfaces:
FilterBridge
All Known Implementing Classes:
SVGFeCompositeElementBridge, SVGFeComponentTransferElementBridge, SVGFeMergeElementBridge, SVGFeImageElementBridge, SVGFeDisplacementMapElementBridge, SVGFeColorMatrixElementBridge, SVGFeOffsetElementBridge, SVGFeFloodElementBridge, SVGFeGaussianBlurElementBridge, SVGFeTurbulenceElementBridge, SVGFeMorphologyElementBridge, SVGFeTileElementBridge, SVGFeBlendElementBridge

public interface FilterPrimitiveBridge
extends Bridge

Implementations of this interface are able to bridge a specific filter primitive, modeled by a DOM element, to a concrete Filter.


Method Summary
 Filter create(GraphicsNode filteredNode, BridgeContext bridgeContext, Element filterElement, Element filteredElement, Filter in, java.awt.geom.Rectangle2D filterRegion, java.util.Map filterMap)
          Returns the Filter that implements the filter operation modeled by the input DOM element
 void update(BridgeMutationEvent evt)
          Update the Filter object to reflect the current configuration in the Element that models the filter.
 

Method Detail

create

public Filter create(GraphicsNode filteredNode,
                     BridgeContext bridgeContext,
                     Element filterElement,
                     Element filteredElement,
                     Filter in,
                     java.awt.geom.Rectangle2D filterRegion,
                     java.util.Map filterMap)
Returns the Filter that implements the filter operation modeled by the input DOM element
Parameters:
filteredNode - the GVT node to which the filter will be attached.
bridgeContext - the context to use.
filterElement - DOM element that represents a filter abstraction
filteredElement - DOM element that references the input filter element.
in - the Filter that represents the current filter input if the filter chain.
filterRegion - the filter area defined for the filter chain the new node will be part of.
filterMap - a map where the mediator can map a name to the Filter it creates. Other FilterBridges can then access a filter node from the filterMap if they know its name.

update

public void update(BridgeMutationEvent evt)
Update the Filter object to reflect the current configuration in the Element that models the filter.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.