001package com.hfg.svg.filtereffect; 002 003import com.hfg.svg.AbstractSvgNode; 004import com.hfg.svg.SVG; 005import com.hfg.svg.SvgAttr; 006import com.hfg.svg.SvgNode; 007import com.hfg.xml.XMLTag; 008 009//------------------------------------------------------------------------------ 010/** 011 Object representation of an SVG (Scalable Vector Graphics) 'feMergeNode' filter effect tag. 012 013 @author J. Alex Taylor, hairyfatguy.com 014 */ 015//------------------------------------------------------------------------------ 016// com.hfg XML/HTML Coding Library 017// 018// This library is free software; you can redistribute it and/or 019// modify it under the terms of the GNU Lesser General Public 020// License as published by the Free Software Foundation; either 021// version 2.1 of the License, or (at your option) any later version. 022// 023// This library is distributed in the hope that it will be useful, 024// but WITHOUT ANY WARRANTY; without even the implied warranty of 025// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 026// Lesser General Public License for more details. 027// 028// You should have received a copy of the GNU Lesser General Public 029// License along with this library; if not, write to the Free Software 030// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 031// 032// J. Alex Taylor, President, Founder, CEO, COO, CFO, OOPS hairyfatguy.com 033// jataylor@hairyfatguy.com 034//------------------------------------------------------------------------------ 035 036public class SvgFeMergeNode extends AbstractSvgNode implements SvgNode 037{ 038 //########################################################################### 039 // CONSTRUCTORS 040 //########################################################################### 041 042 //--------------------------------------------------------------------------- 043 public SvgFeMergeNode() 044 { 045 super(SVG.feMergeNode); 046 } 047 048 //--------------------------------------------------------------------------- 049 public SvgFeMergeNode(XMLTag inXMLTag) 050 { 051 this(); 052 initFromXMLTag(inXMLTag); 053 } 054 055 //########################################################################### 056 // PUBLIC METHODS 057 //########################################################################### 058 059 060 //--------------------------------------------------------------------------- 061 public SvgFeMergeNode setIn(FeInput inValue) 062 { 063 setAttribute(SvgAttr.in, inValue); 064 return this; 065 } 066 067 //--------------------------------------------------------------------------- 068 public SvgFeMergeNode setHeight(int inValue) 069 { 070 setAttribute(SvgAttr.height, inValue); 071 return this; 072 } 073 074 //--------------------------------------------------------------------------- 075 public SvgFeMergeNode setHeight(String inValue) 076 { 077 setAttribute(SvgAttr.height, inValue); 078 return this; 079 } 080 081 //--------------------------------------------------------------------------- 082 public SvgFeMergeNode setResult(String inValue) 083 { 084 setAttribute(SvgAttr.result, inValue); 085 return this; 086 } 087 088 //--------------------------------------------------------------------------- 089 public SvgFeMergeNode setWidth(int inValue) 090 { 091 setAttribute(SvgAttr.width, inValue); 092 return this; 093 } 094 095 //--------------------------------------------------------------------------- 096 public SvgFeMergeNode setWidth(String inValue) 097 { 098 setAttribute(SvgAttr.width, inValue); 099 return this; 100 } 101 102 //--------------------------------------------------------------------------- 103 public SvgFeMergeNode setX(int inValue) 104 { 105 setAttribute(SvgAttr.x, inValue); 106 return this; 107 } 108 109 //--------------------------------------------------------------------------- 110 public SvgFeMergeNode setX(String inValue) 111 { 112 setAttribute(SvgAttr.x, inValue); 113 return this; 114 } 115 116 117 //--------------------------------------------------------------------------- 118 public SvgFeMergeNode setY(int inValue) 119 { 120 setAttribute(SvgAttr.y, inValue); 121 return this; 122 } 123 124 //--------------------------------------------------------------------------- 125 public SvgFeMergeNode setY(String inValue) 126 { 127 setAttribute(SvgAttr.y, inValue); 128 return this; 129 } 130 131 132}