java.lang.Object | |
↳ | com.microstrategy.web.app.gui.CartElements |
Title: CartElements.
Description:
Copyright: Copyright (c) 2002
Company: Microstrategy, Inc.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CartElements() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
add(CartElement unit)
Adds the given
CartElement object to the collection. | ||||||||||
void |
clear()
Clears all objects from the collection.
| ||||||||||
boolean |
containsObject(CartElement object)
Returns true if the collection contains the given object, false if it does not.
| ||||||||||
Enumeration |
elements()
Returns a java.util.Enumeration containing the objects in this collection.
| ||||||||||
CartElement |
get(int index)
Returns the cart element unit in the collection with the given index.
| ||||||||||
boolean |
isEmpty()
Returns whether the collection is empty.
| ||||||||||
void |
remove(CartElement unit)
Removes the display unit from the collection.
| ||||||||||
int |
size()
Returns the number of items in the collection.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Adds the given CartElement
object to the collection.
unit | The CartElement object to add to the collection. |
---|
UnsupportedOperationException | Thrown if the collection is read-only. |
---|
Clears all objects from the collection.
UnsupportedOperationException | Thrown in the case of a read-only collection. |
---|
Returns true if the collection contains the given object, false if it does not.
object | The CartElement object to search for in the folder. |
---|
Returns a java.util.Enumeration containing the objects in this collection.
Returns the cart element unit in the collection with the given index.
index | The index of the object within the available cart element unit collection to return. |
---|
CartElement
object corresponding to the given index in the collection.IndexOutOfBoundsException | Thrown if the given index is invalid. |
---|
Returns whether the collection is empty.
Removes the display unit from the collection.
unit | The CartElement object to be removed from the collection. |
---|
UnsupportedOperationException | Thrown if the collection is marked as read-only. |
---|---|
IndexOutOfBoundsException | Thrown if the given index is invalid. |
Returns the number of items in the collection.