Package com.microstrategy.web.app.gui
Class SimpleCartElement
- java.lang.Object
-
- com.microstrategy.web.app.gui.SimpleCartElement
-
- All Implemented Interfaces:
CartElement
public class SimpleCartElement extends java.lang.Object implements CartElement
- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description SimpleCartElement(java.lang.String displayName, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDisplayName()Get display name to be used in HTML field.java.lang.StringgetValue()Gets formatted text for value field.booleanisSelected()Indicates whether given Cart element is selected or not.voidsetSelected(boolean flag)Specifies whether this element has been selected.
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:CartElementGet display name to be used in HTML field.- Specified by:
getDisplayNamein interfaceCartElement- Returns:
- String
-
getValue
public java.lang.String getValue()
Description copied from interface:CartElementGets formatted text for value field.- Specified by:
getValuein interfaceCartElement- Returns:
- String
-
isSelected
public boolean isSelected()
Description copied from interface:CartElementIndicates whether given Cart element is selected or not.- Specified by:
isSelectedin interfaceCartElement- Returns:
- boolean value
-
setSelected
public void setSelected(boolean flag)
Description copied from interface:CartElementSpecifies whether this element has been selected.- Specified by:
setSelectedin interfaceCartElement- Parameters:
flag- boolean value
-
-