public class

CartElementBasic

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

Class Overview

Title: CartElementBasic.

Description: Basic implementation of the cart element that does not depend on other objects.
Properties can be set directly.

Copyright: Copyright (c) 2002

Company: Microstrategy, Inc.

Summary

Public Constructors
CartElementBasic(String value, String displayName)
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 setDisplayName(String displayName)
void setSelected(boolean flag)
Specifies whether this element has been selected.
void setValue(String value)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.microstrategy.web.app.gui.CartElement

Public Constructors

public CartElementBasic (String value, String displayName)

Public Methods

public String getDisplayName ()

Get display name to be used in HTML field.

Returns
  • String

public String getValue ()

Gets formatted text for value field.

Returns
  • String

public boolean isSelected ()

Indicates whether given Cart element is selected or not.

Returns
  • boolean value

public void setDisplayName (String displayName)

public void setSelected (boolean flag)

Specifies whether this element has been selected.

Parameters
flag boolean value

public void setValue (String value)