public class

CartElementGeneric

extends Object
implements CartElement
java.lang.Object
   ↳ com.microstrategy.web.app.gui.CartElementGeneric

Class Overview

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.

Summary

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
From class java.lang.Object
From interface com.microstrategy.web.app.gui.CartElement

Public Constructors

public CartElementGeneric (String displayName, String value, boolean selected)

Constructor

Public Methods

public String getDisplayName ()

Get display name to be used in HTML field.

Returns
  • String
See Also

public String getValue ()

Gets formatted text for value field.

Returns
  • String
See Also

public boolean isSelected ()

Indicates whether given Cart element is selected or not.

Returns
  • boolean value
See Also

public void setSelected (boolean flag)

Specifies whether this element has been selected.

Parameters
flag boolean value