Class Legend


  • public final class Legend
    extends com.hp.gagawa.java.FertileNode
    • Field Summary

      • Fields inherited from class com.hp.gagawa.java.FertileNode

        children
      • Fields inherited from class com.hp.gagawa.java.Node

        attributes_, parent_, tag_
    • Constructor Summary

      Constructors 
      Constructor Description
      Legend()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      Legend appendChild​(int index, com.hp.gagawa.java.Node child)
      Appends a child node at the given index
      Legend appendChild​(com.hp.gagawa.java.Node child)
      Appends a child node to the end of this element's DOM tree
      Legend appendChild​(com.hp.gagawa.java.Node... children)
      Appends the given children in the order given
      Legend appendChild​(List<com.hp.gagawa.java.Node> children)
      Appends a list of children in the order given in the list
      Legend appendText​(String text)
      Deprecated.
      This sets the raw text, you are responsible for encoding the string according to the HTML syntax!
      String getCSSClass()
      Deprecated.
      This gets the raw class list string, you are responsible for decoding the string according to the HTML syntax! newTag()
      String getId()
      Deprecated.
      This gets the raw ID string, you are responsible for decoding the string according to the HTML syntax! newTag()
      String getStyle()
      Deprecated.
      This gets the raw style string, you are responsible for decoding the string according to the HTML syntax! newTag()
      String getTitle()
      Deprecated.
      This gets the title string, you are responsible for decoding the string according to the HTML syntax! newTag()
      Legend removeChild​(com.hp.gagawa.java.Node child)
      Removes the child node
      Legend removeChildren()
      Removes all child nodes
      boolean removeCSSClass()
      Removes the CSS class.
      boolean removeId()
      Removes the ID attribute from this node.
      boolean removeStyle()
      Removes the style attribute from this node.
      boolean removeTitle()
      Removes the title attribute from this node.
      Legend setCSSClass​(String value)
      Deprecated.
      This sets the raw class name list string, you are responsible for encoding the string according to the HTML syntax! newTag()
      Legend setId​(String value)
      Deprecated.
      This sets the raw ID string, you are responsible for encoding the string according to the HTML syntax! newTag()
      Legend setStyle​(String value)
      Deprecated.
      This sets the raw style string, you are responsible for encoding the string according to the HTML syntax! newTag()
      Legend setTitle​(String value)
      Deprecated.
      This sets the raw title string, you are responsible for encoding the string according to the HTML syntax! newTag()
      • Methods inherited from class com.hp.gagawa.java.FertileNode

        getChild, getChildren, write
      • Methods inherited from class com.hp.gagawa.java.Node

        getAttribute, getParent, removeAttribute, setAttribute, setParent, writeClose, writeOpen
    • Constructor Detail

      • Legend

        public Legend()
    • Method Detail

      • appendChild

        public Legend appendChild​(com.hp.gagawa.java.Node child)
        Appends a child node to the end of this element's DOM tree
        Parameters:
        child - Node to be appended
        Returns:
        This node for chaining method calls.
      • appendChild

        public Legend appendChild​(int index,
                                  com.hp.gagawa.java.Node child)
        Appends a child node at the given index
        Parameters:
        index - Insertion point
        child - Node to be appended
        Returns:
        This node for chaining method calls.
      • appendChild

        public Legend appendChild​(List<com.hp.gagawa.java.Node> children)
        Appends a list of children in the order given in the list
        Parameters:
        children - Nodes to be appended
        Returns:
        This node for chaining method calls.
      • appendChild

        public Legend appendChild​(com.hp.gagawa.java.Node... children)
        Appends the given children in the order given
        Parameters:
        children - Nodes to be appended
        Returns:
        This node for chaining method calls.
      • appendText

        @Deprecated
        public Legend appendText​(String text)
        Deprecated.
        This sets the raw text, you are responsible for encoding the string according to the HTML syntax!
        Convenience method which appends a text node to this element
        Parameters:
        text - the text to be appended
        Returns:
        the node
      • getCSSClass

        @Deprecated
        public String getCSSClass()
        Deprecated.
        This gets the raw class list string, you are responsible for decoding the string according to the HTML syntax! newTag()
        Get the class names of this node.
        Returns:
        The list of class names.
      • getId

        @Deprecated
        public String getId()
        Deprecated.
        This gets the raw ID string, you are responsible for decoding the string according to the HTML syntax! newTag()
        Get the ID of this node.
        Returns:
        The ID of this node.
      • getStyle

        @Deprecated
        public String getStyle()
        Deprecated.
        This gets the raw style string, you are responsible for decoding the string according to the HTML syntax! newTag()
        Get the list of inline styles of this node.
        Returns:
        The list of inline styles.
      • getTitle

        @Deprecated
        public String getTitle()
        Deprecated.
        This gets the title string, you are responsible for decoding the string according to the HTML syntax! newTag()
        Get the title of this node.
        Returns:
        The title of this node.
      • removeCSSClass

        public boolean removeCSSClass()
        Removes the CSS class.
        Returns:
        This node for chaining method calls.
      • removeChild

        public Legend removeChild​(com.hp.gagawa.java.Node child)
        Removes the child node
        Parameters:
        child - Node to be removed
        Returns:
        This node for chaining method calls.
      • removeChildren

        public Legend removeChildren()
        Removes all child nodes
        Returns:
        This node for chaining method calls.
      • removeId

        public boolean removeId()
        Removes the ID attribute from this node.
        Returns:
        This node for chaining method calls.
      • removeStyle

        public boolean removeStyle()
        Removes the style attribute from this node.
        Returns:
        This node for chaining method calls.
      • removeTitle

        public boolean removeTitle()
        Removes the title attribute from this node.
        Returns:
        This node for chaining method calls.
      • setCSSClass

        @Deprecated
        public Legend setCSSClass​(String value)
        Deprecated.
        This sets the raw class name list string, you are responsible for encoding the string according to the HTML syntax! newTag()
        Sets the CSS class name list of this node.
        Parameters:
        value - The list of CSS class names.
        Returns:
        This node for chaining method calls.
      • setId

        @Deprecated
        public Legend setId​(String value)
        Deprecated.
        This sets the raw ID string, you are responsible for encoding the string according to the HTML syntax! newTag()
        Sets the ID of this node.
        Parameters:
        value - The ID to set.
        Returns:
        This node for chaining method calls.
      • setStyle

        @Deprecated
        public Legend setStyle​(String value)
        Deprecated.
        This sets the raw style string, you are responsible for encoding the string according to the HTML syntax! newTag()
        Sets the inline style of this node.
        Parameters:
        value - The inline style to set.
        Returns:
        This node for chaining method calls.
      • setTitle

        @Deprecated
        public Legend setTitle​(String value)
        Deprecated.
        This sets the raw title string, you are responsible for encoding the string according to the HTML syntax! newTag()
        Sets the title of this node.
        Parameters:
        value - The title to set.
        Returns:
        This node for chaining method calls.