Ignore:
Timestamp:
2018-10-14T15:15:50+02:00 (8 years ago)
Author:
Don-vip
Message:

see #14319, see #16838 - update to svgSalamander 1.1.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/com/kitfox/svg/SVGElement.java

    r11525 r14328  
    156156
    157157    /**
     158     * @param retVec
    158159     * @return an ordered list of nodes from the root of the tree to this node
    159160     */
     
    212213     * Searches children for given element. If found, returns index of child.
    213214     * Otherwise returns -1.
     215     * @param child
     216     * @return index of child
    214217     */
    215218    public int indexOfChild(SVGElement child)
     
    221224     * Swaps 2 elements in children.
    222225     *
    223      * @i index of first
    224      * @j index of second
    225      *
    226      * @return true if successful, false otherwise
     226     * @param i index of first child
     227     * @param j index of second child
     228     * @throws com.kitfox.svg.SVGException
    227229     */
    228230    public void swapChildren(int i, int j) throws SVGException
     
    246248     * @param helper - An object passed to all SVG elements involved in this
    247249     * build process to aid in sharing information.
     250     * @param parent
     251     * @throws org.xml.sax.SAXException
    248252     */
    249253    public void loaderStartElement(SVGLoaderHelper helper, Attributes attrs, SVGElement parent) throws SAXException
     
    317321     * Called after the start element but before the end element to indicate
    318322     * each child tag that has been processed
     323     * @param helper
     324     * @param child
     325     * @throws com.kitfox.svg.SVGElementException
    319326     */
    320327    public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException
     
    346353    /**
    347354     * Called during load process to add text scanned within a tag
     355     * @param helper
     356     * @param text
    348357     */
    349358    public void loaderAddText(SVGLoaderHelper helper, String text)
     
    354363     * Called to indicate that this tag and the tags it contains have been
    355364     * completely processed, and that it should finish any load processes.
     365     * @param helper
     366     * @throws com.kitfox.svg.SVGParseException
    356367     */
    357368    public void loaderEndElement(SVGLoaderHelper helper) throws SVGParseException
     
    370381     * Called by internal processes to rebuild the geometry of this node from
    371382     * it's presentation attributes, style attributes and animated tracks.
     383     * @throws com.kitfox.svg.SVGException
    372384     */
    373385    protected void build() throws SVGException
     
    420432     * Hack to allow nodes to temporarily change their parents. The Use tag will
    421433     * need this so it can alter the attributes that a particular node uses.
     434     * @param context
    422435     */
    423436    protected void pushParentContext(SVGElement context)
     
    465478     * style attribute, checks attributes of parents back to root until one
    466479     * found.
     480     * @return
    467481     */
    468482    public boolean getStyle(StyleAttribute attrib, boolean recursive) throws SVGException
     
    523537
    524538    /**
     539     * @param styName
    525540     * @return the raw style value of this attribute. Does not take the
    526541     * presentation value or animation into consideration. Used by animations to
     
    536551     * Copies the presentation attribute into the passed one.
    537552     *
     553     * @param attrib
    538554     * @return - True if attribute was read successfully
     555     * @throws com.kitfox.svg.SVGException
    539556     */
    540557    public boolean getPres(StyleAttribute attrib) throws SVGException
     
    558575
    559576    /**
     577     * @param styName
    560578     * @return the raw presentation value of this attribute. Ignores any
    561579     * modifications applied by style attributes or animation. Used by
     
    810828     * all attributes with track information.
    811829     *
     830     * @param curTime
    812831     * @return - true if this node has changed state as a result of the time
    813832     * update
     833     * @throws com.kitfox.svg.SVGException
    814834     */
    815835    abstract public boolean updateTime(double curTime) throws SVGException;
Note: See TracChangeset for help on using the changeset viewer.