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.itf; 031 032import org.vectomatic.dom.svg.OMSVGPointList; 033 034 /** 035 * <p>The {@link org.vectomatic.dom.svg.itf.ISVGAnimatedPoints} interface 036 * supports elements which have a <span class='attr-name'>'points'</span> 037 * attribute which holds a list of coordinate values and which support the 038 * ability to animate that attribute.</p> <p>Additionally, the <span class='attr-name'>'points'</span> 039 * attribute on the original element accessed via the XML DOM (e.g., using 040 * the <code>getAttribute()</code> method call) will reflect any changes made 041 * to {@link org.vectomatic.dom.svg.itf.ISVGAnimatedPoints#getPoints()}.</p> 042 */ 043public interface ISVGAnimatedPoints { 044 /** 045 * Provides access to the base (i.e., static) contents of the <span class='attr-name'>'points'</span> 046 * attribute. 047 */ 048 public OMSVGPointList getPoints(); 049 /** 050 * Provides access to the current animated contents of the <span class='attr-name'>'points'</span> 051 * attribute. If the given attribute or property is being animated, contains 052 * the current animated value of the attribute or property. If the given attribute 053 * or property is not currently being animated, contains the same value as 054 * {@link org.vectomatic.dom.svg.itf.ISVGAnimatedPoints#getPoints()}. 055 */ 056 public OMSVGPointList getAnimatedPoints(); 057}