Package com.microstrategy.web.app.gui
Class CartElementTree
- java.lang.Object
-
- com.microstrategy.web.app.gui.CartElementTree
-
- All Implemented Interfaces:
CartElement
public class CartElementTree extends java.lang.Object implements CartElement
- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description CartElementTree()
CartElementTree(java.lang.String displayName, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAttr(java.lang.String name)
java.lang.String
getDisplayName()
Get display name to be used in HTML field.WebEvent
getEvent()
java.lang.String
getId()
java.lang.String
getImage()
java.lang.String
getValue()
Gets formatted text for value field.boolean
isExpanded()
boolean
isLeaf()
boolean
isSelected()
Indicates whether given Cart element is selected or not.void
setAttr(java.lang.String name, java.lang.String value)
protected void
setDisplayName(java.lang.String displayName)
void
setEvent(WebEvent event)
void
setId(java.lang.String id)
void
setImage(java.lang.String src)
void
setIsExpanded(boolean value)
void
setIsLeaf(boolean value)
void
setSelected(boolean flag)
Specifies whether this element has been selected.protected void
setValue(java.lang.String value)
-
-
-
Method Detail
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getImage
public java.lang.String getImage()
-
setImage
public void setImage(java.lang.String src)
-
isExpanded
public boolean isExpanded()
-
setIsExpanded
public void setIsExpanded(boolean value)
-
isLeaf
public boolean isLeaf()
-
setIsLeaf
public void setIsLeaf(boolean value)
-
getEvent
public WebEvent getEvent()
-
setEvent
public void setEvent(WebEvent event)
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:CartElement
Get display name to be used in HTML field.- Specified by:
getDisplayName
in interfaceCartElement
- Returns:
- String
-
setDisplayName
protected void setDisplayName(java.lang.String displayName)
-
getValue
public java.lang.String getValue()
Description copied from interface:CartElement
Gets formatted text for value field.- Specified by:
getValue
in interfaceCartElement
- Returns:
- String
-
setValue
protected void setValue(java.lang.String value)
-
isSelected
public boolean isSelected()
Description copied from interface:CartElement
Indicates whether given Cart element is selected or not.- Specified by:
isSelected
in interfaceCartElement
- Returns:
- boolean value
-
setSelected
public void setSelected(boolean flag)
Description copied from interface:CartElement
Specifies whether this element has been selected.- Specified by:
setSelected
in interfaceCartElement
- Parameters:
flag
- boolean value
-
setAttr
public void setAttr(java.lang.String name, java.lang.String value)
-
getAttr
public java.lang.String getAttr(java.lang.String name)
-
-