Class CartElementGeneric

  • All Implemented Interfaces:
    CartElement

    public class CartElementGeneric
    extends java.lang.Object
    implements CartElement
    A generic Cart Element implementation. This class provides a basic cart element with a display name, a value and the selected property. It is used by the GUI element Cart to display individual elements in the available and selected lists.
    Since:
    MicroStrategy Web 9.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      CartElementGeneric​(java.lang.String displayName, java.lang.String value, boolean selected)
      Constructor
    • 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.
      • Methods inherited from class java.lang.Object

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

      • CartElementGeneric

        public CartElementGeneric​(java.lang.String displayName,
                                  java.lang.String value,
                                  boolean selected)
        Constructor
        Parameters:
        displayName -
        value -
        selected -