001/********************************************** 002 * Copyright (C) 2010 Lukas Laag 003 * This file is part of lib-gwt-svg. 004 * 005 * libgwtsvg is free software: you can redistribute it and/or modify 006 * it under the terms of the GNU Lesser General Public License as published by 007 * the Free Software Foundation, either version 3 of the License, or 008 * (at your option) any later version. 009 * 010 * libgwtsvg is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 013 * GNU Lesser General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public License 016 * along with libgwtsvg. If not, see http://www.gnu.org/licenses/ 017 **********************************************/ 018/* 019 * Copyright (c) 2004 World Wide Web Consortium, 020 * 021 * (Massachusetts Institute of Technology, European Research Consortium for 022 * Informatics and Mathematics, Keio University). All Rights Reserved. This 023 * work is distributed under the W3C(r) Software License [1] in the hope that 024 * it will be useful, but WITHOUT ANY WARRANTY; without even the implied 025 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 026 * 027 * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 028 */ 029 030package org.vectomatic.dom.svg; 031 032import com.google.gwt.core.client.JavaScriptObject; 033 034/** 035 * Used for attributes of type {@link org.vectomatic.dom.svg.OMSVGLengthList} 036 * which can be animated. 037 */ 038public class OMSVGAnimatedLengthList extends JavaScriptObject { 039 protected OMSVGAnimatedLengthList() { 040 } 041 042 // Implementation of the svg::SVGAnimatedLengthList W3C IDL interface 043 /** 044 * The base value of the given attribute before applying any animations. 045 */ 046 public final native OMSVGLengthList getBaseVal() /*-{ 047 return @org.vectomatic.dom.svg.OMNode::convertList(Lcom/google/gwt/core/client/JavaScriptObject;)(this.baseVal); 048 }-*/; 049 /** 050 * A <a href="#ReadOnlyLengthList">read only</a> {@link org.vectomatic.dom.svg.OMSVGLengthList} 051 * representing the current animated value of the given attribute. If the 052 * given attribute is not currently being animated, then the {@link org.vectomatic.dom.svg.OMSVGLengthList} 053 * will have the same contents as {@link org.vectomatic.dom.svg.OMSVGAnimatedLengthList#getBaseVal()}. 054 * The object referenced by {@link org.vectomatic.dom.svg.OMSVGAnimatedLengthList#getAnimVal()} 055 * will always be distinct from the one referenced by {@link org.vectomatic.dom.svg.OMSVGAnimatedLengthList#getBaseVal()}, 056 * even when the attribute is not animated. 057 */ 058 public final native OMSVGLengthList getAnimVal() /*-{ 059 return @org.vectomatic.dom.svg.OMNode::convertList(Lcom/google/gwt/core/client/JavaScriptObject;)(this.animVal); 060 }-*/; 061 062}