Package com.microstrategy.web.app.gui
Class CartElementBasic
- java.lang.Object
-
- com.microstrategy.web.app.gui.CartElementBasic
-
- All Implemented Interfaces:
CartElement
public class CartElementBasic extends java.lang.Object implements CartElement
Title: CartElementBasic.
Description: Basic implementation of the cart element that does not depend on other objects.
Properties can be set directly.Copyright: Copyright (c) 2002
Company: Microstrategy, Inc.
- Since:
- MicroStrategy Web 8.0.2
-
-
Constructor Summary
Constructors Constructor Description CartElementBasic(java.lang.String value, java.lang.String displayName)
-
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
setDisplayName(java.lang.String displayName)
void
setSelected(boolean flag)
Specifies whether this element has been selected.void
setValue(java.lang.String value)
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Description copied from interface:CartElement
Gets formatted text for value field.- Specified by:
getValue
in interfaceCartElement
- Returns:
- String
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:CartElement
Get display name to be used in HTML field.- Specified by:
getDisplayName
in interfaceCartElement
- Returns:
- String
-
isSelected
public boolean isSelected()
Description copied from interface:CartElement
Indicates whether given Cart element is selected or not.- Specified by:
isSelected
in interfaceCartElement
- 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 interfaceCartElement
- Parameters:
flag
- boolean value
-
setValue
public void setValue(java.lang.String value)
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
-
-