org.apache.batik.bridge

Class SVGFeComponentTransferElementBridge

public class SVGFeComponentTransferElementBridge extends AbstractSVGFilterPrimitiveElementBridge

Bridge class for the <feComponentTransfer> element.
Nested Class Summary
static classSVGFeComponentTransferElementBridge.SVGFeFuncAElementBridge
Bridge class for the <feFuncA> element.
static classSVGFeComponentTransferElementBridge.SVGFeFuncBElementBridge
Bridge class for the <feFuncB> element.
protected abstract static classSVGFeComponentTransferElementBridge.SVGFeFuncElementBridge
The base bridge class for component transfer function.
static classSVGFeComponentTransferElementBridge.SVGFeFuncGElementBridge
Bridge class for the <feFuncG> element.
static classSVGFeComponentTransferElementBridge.SVGFeFuncRElementBridge
Bridge class for the <feFuncR> element.
Constructor Summary
SVGFeComponentTransferElementBridge()
Constructs a new bridge for the <feComponentTransfer> element.
Method Summary
FiltercreateFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
Creates a Filter primitive according to the specified parameters.
StringgetLocalName()
Returns 'feComponentTransfer'.

Constructor Detail

SVGFeComponentTransferElementBridge

public SVGFeComponentTransferElementBridge()
Constructs a new bridge for the <feComponentTransfer> element.

Method Detail

createFilter

public Filter createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
Creates a Filter primitive according to the specified parameters.

Parameters: ctx the bridge context to use filterElement the element that defines a filter filteredElement the element that references the filter filteredNode the graphics node to filter inputFilter 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.

getLocalName

public String getLocalName()
Returns 'feComponentTransfer'.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.