public class

CartElementWebElement

extends Object
implements CartElement
java.lang.Object
   ↳ com.microstrategy.web.app.beans.CartElementWebElement

Class Overview

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.

Summary

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

Public Constructors

public CartElementWebElement (WebElement element)

Constructor which creates an instance based on the WebElement being passed in.

Parameters
element - the WebElement being referred to by this class.

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

public void setValue (String text)

Sets formatted text for value field.

Parameters
text String