Package com.microstrategy.web.app.gui
Class CartElementAttribute
- java.lang.Object
-
- com.microstrategy.web.app.gui.CartElementAttribute
-
- All Implemented Interfaces:
CartElement
public class CartElementAttribute extends java.lang.Object implements CartElement
Title: CartElementAttribute.
Description:
Copyright: Copyright (c) 2002
Company: Microstrategy, Inc.
- Since:
- MicroStrategy Web 8.0.0
-
-
Constructor Summary
Constructors Constructor Description CartElementAttribute(java.lang.String data)Class constructor
-
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)Define if the element is selected or not
-
-
-
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:
Stringvalue with the display name for the element attribute
-
getValue
public java.lang.String getValue()
Description copied from interface:CartElementGets formatted text for value field.- Specified by:
getValuein interfaceCartElement- Returns:
Stringvalue for the element attribute
-
isSelected
public boolean isSelected()
Description copied from interface:CartElementIndicates whether given Cart element is selected or not.- Specified by:
isSelectedin interfaceCartElement- Returns:
booleanvalue indicating if the element is selected or not. By default returnsFalse
-
setSelected
public void setSelected(boolean flag)
Define if the element is selected or not- Specified by:
setSelectedin interfaceCartElement- Parameters:
flag-booleanvalue indicating if the element is selected or not.
-
-