Class CartElementWebElement

  • All Implemented Interfaces:
    CartElement

    public class CartElementWebElement
    extends java.lang.Object
    implements CartElement
    This class represents an instance of WebElement as part of the Cart. This provides the default values for name and value for the element in the cart.
    Since:
    MicroStrategy Web 8.0.1
    • Constructor Summary

      Constructors 
      Constructor Description
      CartElementWebElement​(WebElement element)
      Constructor which creates an instance based on the WebElement being passed in.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDisplayName()
      Get display name to be used in HTML field.
      java.lang.String getValue()
      Gets formatted text for value field.
      boolean isSelected()
      Indicates whether given Cart element is selected or not.
      void setSelected​(boolean flag)
      Specifies whether this element has been selected.
      void setValue​(java.lang.String text)
      Sets formatted text for value field.
      • Methods inherited from class java.lang.Object

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

      • CartElementWebElement

        public CartElementWebElement​(WebElement element)
        Constructor which creates an instance based on the WebElement being passed in.
        Parameters:
        element - - the WebElement being referred to by this class.