Class Style

  • All Implemented Interfaces:
    java.io.Serializable

    public class Style
    extends SVGElement
    Holds title textual information within tree
    See Also:
    Serialized Form
    • Field Detail

      • type

        java.lang.String type
      • text

        java.lang.StringBuffer text
    • Constructor Detail

      • Style

        public Style()
        Creates a new instance of Stop
    • Method Detail

      • loaderAddText

        public void loaderAddText​(SVGLoaderHelper helper,
                                  java.lang.String text)
        Called during load process to add text scanned within a tag
        Overrides:
        loaderAddText in class SVGElement
      • build

        protected void build()
                      throws SVGException
        Description copied from class: SVGElement
        Called by internal processes to rebuild the geometry of this node from it's presentation attributes, style attributes and animated tracks.
        Overrides:
        build in class SVGElement
        Throws:
        SVGException
      • updateTime

        public boolean updateTime​(double curTime)
                           throws SVGException
        Description copied from class: SVGElement
        Updates all attributes in this diagram associated with a time event. Ie, all attributes with track information.
        Specified by:
        updateTime in class SVGElement
        Returns:
        - true if this node has changed state as a result of the time update
        Throws:
        SVGException
      • getStyleSheet

        public StyleSheet getStyleSheet()