Package com.microstrategy.web.app.gui
Class CartElementTU
- java.lang.Object
-
- com.microstrategy.web.app.gui.CartElementTU
-
- All Implemented Interfaces:
CartElement
public class CartElementTU extends java.lang.Object implements CartElement
Title: CartElementTU.
Description:
Copyright: Copyright (c) 2002
Company: Microstrategy, Inc.
- Since:
- MicroStrategy Web 8.0.0
-
-
Constructor Summary
Constructors Constructor Description CartElementTU(WebTemplateUnit templateUnit)
Class 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.WebTemplateUnit
getTemplateUnitObject()
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.
-
-
-
Constructor Detail
-
CartElementTU
public CartElementTU(WebTemplateUnit templateUnit)
Class constructor.- Parameters:
templateUnit
-WebTemplateUnit
instance to initialize this cart instance.
-
-
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
value with the formatted text for the value field.
-
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
vale with the display name to be used as HTML field.
-
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 inticating whether the given cart element is selected or not.
-
setSelected
public void setSelected(boolean flag)
Specifies whether this element has been selected.- Specified by:
setSelected
in interfaceCartElement
- Parameters:
flag
-boolean
value indicating if this cart element is selected or not.
-
getTemplateUnitObject
public WebTemplateUnit getTemplateUnitObject()
- Returns:
WebTemplateUnit
instance associated with this cart instance.
-
-