Class CartElementTree

  • All Implemented Interfaces:
    CartElement

    public class CartElementTree
    extends java.lang.Object
    implements CartElement
    Since:
    MicroStrategy Web 9.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      CartElementTree()  
      CartElementTree​(java.lang.String displayName, java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAttr​(java.lang.String name)  
      java.lang.String getDisplayName()
      Get display name to be used in HTML field.
      WebEvent getEvent()  
      java.lang.String getId()  
      java.lang.String getImage()  
      java.lang.String getValue()
      Gets formatted text for value field.
      boolean isExpanded()  
      boolean isLeaf()  
      boolean isSelected()
      Indicates whether given Cart element is selected or not.
      void setAttr​(java.lang.String name, java.lang.String value)  
      protected void setDisplayName​(java.lang.String displayName)  
      void setEvent​(WebEvent event)  
      void setId​(java.lang.String id)  
      void setImage​(java.lang.String src)  
      void setIsExpanded​(boolean value)  
      void setIsLeaf​(boolean value)  
      void setSelected​(boolean flag)
      Specifies whether this element has been selected.
      protected void setValue​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CartElementTree

        public CartElementTree()
      • CartElementTree

        public CartElementTree​(java.lang.String displayName,
                               java.lang.String value)
    • Method Detail

      • getId

        public java.lang.String getId()
      • setId

        public void setId​(java.lang.String id)
      • getImage

        public java.lang.String getImage()
      • setImage

        public void setImage​(java.lang.String src)
      • isExpanded

        public boolean isExpanded()
      • setIsExpanded

        public void setIsExpanded​(boolean value)
      • isLeaf

        public boolean isLeaf()
      • setIsLeaf

        public void setIsLeaf​(boolean value)
      • setEvent

        public void setEvent​(WebEvent event)
      • getDisplayName

        public java.lang.String getDisplayName()
        Description copied from interface: CartElement
        Get display name to be used in HTML field.
        Specified by:
        getDisplayName in interface CartElement
        Returns:
        String
      • setDisplayName

        protected void setDisplayName​(java.lang.String displayName)
      • getValue

        public java.lang.String getValue()
        Description copied from interface: CartElement
        Gets formatted text for value field.
        Specified by:
        getValue in interface CartElement
        Returns:
        String
      • setValue

        protected void setValue​(java.lang.String value)
      • isSelected

        public boolean isSelected()
        Description copied from interface: CartElement
        Indicates whether given Cart element is selected or not.
        Specified by:
        isSelected in interface CartElement
        Returns:
        boolean value
      • setSelected

        public void setSelected​(boolean flag)
        Description copied from interface: CartElement
        Specifies whether this element has been selected.
        Specified by:
        setSelected in interface CartElement
        Parameters:
        flag - boolean value
      • setAttr

        public void setAttr​(java.lang.String name,
                            java.lang.String value)
      • getAttr

        public java.lang.String getAttr​(java.lang.String name)