public class

StyleInfo

extends AbstractConfigurationElementList
java.lang.Object
   ↳ com.microstrategy.utils.config.AbstractConfigurationElement
     ↳ com.microstrategy.utils.config.AbstractConfigurationElementList
       ↳ com.microstrategy.web.app.tasks.config.StyleInfo

Class Overview

THIS CLASS IS NOT SUPPORTED FOR USE IN CUSTOM APPLICATION DEVELOPMENT. THE CLASS IS SUBJECT TO CHANGE IN FUTURE RELEASES AND SOME METHODS AND PROPERTIES MAY NOT BE SUITABLE FOR CUSTOM DEVELOPMENT.

Summary

Constants
String ATTR_VALUE_SOURCE_CONSTANT
String ATTR_VALUE_SOURCE_PARAMETER
String NODE_STYLE
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
StyleInfo()
Class constructor.
Public Methods
void addActualParameter(ActualParameterInfo actualParameter)
Add this actual parameter to the list
void addActualParameter(Object key, ActualParameterInfo actualParameter)
void deleteActualParameter(Object key)
deletes the actual parameter from the list which is associated with the given key
void deleteAllActualParameters()
deletes all the actual parameters.
void getActualParameter(Object key)
returns the actual parameter that is associated with the given key
HashList getActualParameters()
String getName()
String getSource()
void setName(String name)
set the name of style object
void setSource(String source)
sets the source attribute of the style object
Protected Methods
int getStyleSource()
boolean isKeyAttribute(String name)
this method is called only while saving this object.
[Expand]
Inherited Methods
From class com.microstrategy.utils.config.AbstractConfigurationElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
From class java.lang.Object
From interface com.microstrategy.utils.config.ConfigurationElement
From interface com.microstrategy.utils.config.ConfigurationElementList
From interface com.microstrategy.utils.config.ConfigurationFile

Constants

public static final String ATTR_VALUE_SOURCE_CONSTANT

Constant Value: "const"

public static final String ATTR_VALUE_SOURCE_PARAMETER

Constant Value: "parameter"

public static final String NODE_STYLE

Constant Value: "style"

Public Constructors

public StyleInfo ()

Class constructor. Initializes a new -empty- instance of the StyleInfo class.

Public Methods

public void addActualParameter (ActualParameterInfo actualParameter)

Add this actual parameter to the list

Parameters
actualParameter The actual parameter that will be added to the actual parameters list

public void addActualParameter (Object key, ActualParameterInfo actualParameter)

Parameters
key - key associated with this actual parameter
actualParameter The actual parameter that will be added to the actual parameters list

public void deleteActualParameter (Object key)

deletes the actual parameter from the list which is associated with the given key

Parameters
key The key associated with actual parameter

public void deleteAllActualParameters ()

deletes all the actual parameters.

public void getActualParameter (Object key)

returns the actual parameter that is associated with the given key

Parameters
key The key associated with actual parameter

public HashList getActualParameters ()

Returns
  • the list of all the actual parameters associated with style object

public String getName ()

Returns
  • the name of the style

public String getSource ()

Returns
  • the source attribute of style object

public void setName (String name)

set the name of style object

Parameters
name The name of the style object

public void setSource (String source)

sets the source attribute of the style object

Parameters
source the new value of the source attribute

Protected Methods

protected int getStyleSource ()

protected boolean isKeyAttribute (String name)

this method is called only while saving this object. so that the attributes even identical to original must be saved as delta.