java.lang.Object | |
↳ | com.microstrategy.web.app.gui.CartElementGeneric |
A generic Cart Element implementation. This class
provides a basic cart element with a display name, a value and
the selected property.
It is used by the GUI element Cart
to display individual elements
in the available and selected lists.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CartElementGeneric(String displayName, String value, boolean selected)
Constructor
|
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.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructor
Indicates whether given Cart element is selected or not.
Specifies whether this element has been selected.
flag | boolean value |
---|