public class

CartElementAttribute

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

Class Overview

Title: CartElementAttribute.

Description:

Copyright: Copyright (c) 2002

Company: Microstrategy, Inc.

Summary

Public Constructors
CartElementAttribute(String data)
Class 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)
Define if the element is selected or not
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.microstrategy.web.app.gui.CartElement

Public Constructors

public CartElementAttribute (String data)

Class constructor

Parameters
data String value with the value of the cart.

Public Methods

public String getDisplayName ()

Get display name to be used in HTML field.

Returns
  • String value with the display name for the element attribute

public String getValue ()

Gets formatted text for value field.

Returns
  • String value for the element attribute

public boolean isSelected ()

Indicates whether given Cart element is selected or not.

Returns
  • boolean value indicating if the element is selected or not. By default returns False

public void setSelected (boolean flag)

Define if the element is selected or not

Parameters
flag boolean value indicating if the element is selected or not.