| java.lang.Object | |
| ↳ | com.microstrategy.web.app.beans.CartElementWebElement |
This class represents an instance of WebElement as
part of the Cart. This provides the default values for name and
value for the element in the cart.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
CartElementWebElement(WebElement element)
Constructor which creates an instance based on the
WebElement being passed in. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getDisplayName()
Get display name to be used in HTML field.
| ||||||||||
| 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.
| ||||||||||
| void |
setValue(String text)
Sets formatted text for value field.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.web.app.gui.CartElement
| |||||||||||
Constructor which creates an instance based on the
WebElement being passed in.
| element | - the WebElement being referred to by this class.
|
|---|
Indicates whether given Cart element is selected or not.
Specifies whether this element has been selected.
| flag | boolean value |
|---|
Sets formatted text for value field.
| text | String |
|---|