protected class

EditorImpl.Button

extends Object
java.lang.Object
   ↳ com.microstrategy.web.app.gui.EditorImpl.Button

Summary

Constants
String BUTTON_STYLE
String IMAGE_BUTTON
String INPUT_BUTTON
String SUBMIT_STYLE
Protected Constructors
EditorImpl.Button()
Public Methods
String getBaseBean()
Returns the name of the base bean where the event is obtained from
String getButtonStyle()
Returns the style of the button
String getEnableFeatureId()
Returns the feature ID use to enable or disable the button
String getEventId()
Returns the event associated to the button
String getExtraAttributes()
Returns the extra attributes to add the the generated html node
String getExtraLink()
Returns the extra link to add to the event url
String getFeatureID()
Returns the feature ID for the button
String getId()
Returns the if of the button
String getImage()
Returns the name of the image file associated with the button
String getJavaScript()
Return the javascript to execute when the button is clicked on
String getTitle()
Returns the alt title of the image
String getType()
Returns the type of button, image link or input
void initFromXML(Node root)
void setBaseBean(String baseBean)
Sets the name of the base bean where the event is obtained from
void setButtonStyle(String buttonStyle)
Sets the type of button to used.
void setEnableFeatureId(String featureID)
Sets the feature ID use to enable or disable the button
void setEventId(String eventID)
Sets the event associated to the button
void setExtraAttributes(String extraAttributes)
Sets the extra attributes to add the the generated html node
void setExtraLink(String extraLink)
Sets the extra link to add to the event url
void setFeatureId(String featureID)
Sets the feature ID use for the button
void setId(String id)
Sets the id of the button
void setImage(String image)
Sets the name of the image file associated with the button
void setJavaScript(String javaScript)
Sets the javascript to execute when the button is clicked on
void setTitle(String title)
Sets the alt title of the image
void setType(String type)
Sets the type of button, image link or input
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String BUTTON_STYLE

Constant Value: "1"

public static final String IMAGE_BUTTON

Constant Value: "0"

public static final String INPUT_BUTTON

Constant Value: "1"

public static final String SUBMIT_STYLE

Constant Value: "0"

Protected Constructors

protected EditorImpl.Button ()

Public Methods

public String getBaseBean ()

Returns the name of the base bean where the event is obtained from

Returns
  • the name of the event's bean

public String getButtonStyle ()

Returns the style of the button

Returns
  • the button's style

public String getEnableFeatureId ()

Returns the feature ID use to enable or disable the button

Returns
  • the enable feature ID

public String getEventId ()

Returns the event associated to the button

Returns
  • the event id

public String getExtraAttributes ()

Returns the extra attributes to add the the generated html node

Returns
  • the extra attributes

public String getExtraLink ()

Returns the extra link to add to the event url

Returns
  • the extra link

public String getFeatureID ()

Returns the feature ID for the button

Returns
  • the feature ID

public String getId ()

Returns the if of the button

Returns
  • the button's id

public String getImage ()

Returns the name of the image file associated with the button

Returns
  • the image file name

public String getJavaScript ()

Return the javascript to execute when the button is clicked on

Returns
  • the javascript call

public String getTitle ()

Returns the alt title of the image

Returns
  • the alt title of the image

public String getType ()

Returns the type of button, image link or input

Returns
  • the type of button

public void initFromXML (Node root)

public void setBaseBean (String baseBean)

Sets the name of the base bean where the event is obtained from

Parameters
baseBean String with the name of the base bean to use

public void setButtonStyle (String buttonStyle)

Sets the type of button to used.

Parameters
buttonStyle could be either '0' (submit) or '1' ('button').

public void setEnableFeatureId (String featureID)

Sets the feature ID use to enable or disable the button

public void setEventId (String eventID)

Sets the event associated to the button

Parameters
eventID the event id

public void setExtraAttributes (String extraAttributes)

Sets the extra attributes to add the the generated html node

public void setExtraLink (String extraLink)

Sets the extra link to add to the event url

public void setFeatureId (String featureID)

Sets the feature ID use for the button

public void setId (String id)

Sets the id of the button

Parameters
id the button's id

public void setImage (String image)

Sets the name of the image file associated with the button

Parameters
image the image file name

public void setJavaScript (String javaScript)

Sets the javascript to execute when the button is clicked on

Parameters
javaScript the javascript call

public void setTitle (String title)

Sets the alt title of the image

public void setType (String type)

Sets the type of button, image link or input

Parameters
type the type of button