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