java.lang.Object | |||
↳ | com.microstrategy.utils.config.AbstractConfigurationElement | ||
↳ | com.microstrategy.utils.config.AbstractConfigurationElementList | ||
↳ | com.microstrategy.web.app.ShortcutListSet |
The ShortcutListSet class groups a list of
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | ShortcutListSet.EventActionMapping |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ATT_BASE_BEAN | xml attribute name for the base bean property of the shortcut list set | |||||||||
String | ATT_FEATURE_ID | xml attribute name for the feature associated with this shortcut list set | |||||||||
String | ATT_JS_FILE | xml attribute name for the js file associated with the list set | |||||||||
String | ATT_NAME | xml attribute name for the nmae of the shortcut list set | |||||||||
String | ATT_SCRIPT_CLASS | xml attribute name for the script class associated with the list set | |||||||||
int | EVENT_UNDEFINED | ||||||||||
String | NODE_SHORTCUT_LISTS | constant for the shorcut list set node name |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ShortcutListSet()
Class constructor.
| |||||||||||
ShortcutListSet(Node root)
Class constructor.
| |||||||||||
ShortcutListSet(Node root, ShortcutListSet defaultListSet)
Class constructor.
| |||||||||||
ShortcutListSet(Document doc)
Class constructor.
| |||||||||||
ShortcutListSet(Document doc, ShortcutListSet defaultListSet)
Class constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WebAttributeList |
getAttributeList()
Returns the
WebAttributeList associated with this ShortcutListSet. | ||||||||||
String |
getBaseBean()
Returns the name of the base-bean associated with this ShortcutListSet
| ||||||||||
ShortcutListSet |
getDefaultListSet()
This method is deprecated.
Not used anymore. A more generic framework is now in place to support default values
and values from multiple sources. See
AbstractConfigurationElement .
| ||||||||||
HashList | getEventMapping() | ||||||||||
String |
getFeatureId()
Get the feature Id associated with this shortcut list set.
| ||||||||||
String |
getJavascriptFile()
Returns the javascript file name associated with this ShortcutListSet
| ||||||||||
String |
getName()
Returns the name of the ShortcutList instance, which is used as a unique identifier.
| ||||||||||
String |
getScriptClass()
Returns the script-class of the JavaScript bone associated with this ShortcutListSet
| ||||||||||
ShortcutList |
getShortcutList(String name)
Returns the
ShortcutList associated with the given name. | ||||||||||
void |
setBaseBean(String value)
Indicates the bean from the pages bean hierarchy associated with the shortcut lists in the
set.
| ||||||||||
void |
setFeatureId(String featureId)
Sets the feature Id associated with this shortcut list set.
| ||||||||||
void |
setJavascriptFile(String value)
If the shortcut list set is associated with a JavaScript bone,
this property defines the JavaScript file that contains the
JavaScript class corresponding to the JavaScript bone.
| ||||||||||
void |
setName(String name)
Sets the name, a unique identifier for the ShortcutList instance
| ||||||||||
void |
setScriptClass(String value)
Associates this ShortcutListSet with a JavaScript bone,
the script-class defines the name of the corresponding
JavaScript class
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getKeyAttribute()
This method must return the attribute that uniquely identifies this element among its siblings;
if no single attribute can be used, return null and override the
getKey and
setKey methods. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
xml attribute name for the base bean property of the shortcut list set
xml attribute name for the feature associated with this shortcut list set
xml attribute name for the js file associated with the list set
xml attribute name for the nmae of the shortcut list set
xml attribute name for the script class associated with the list set
constant for the shorcut list set node name
Class constructor. Initializes a new -empty- instance of the ShortcutListSet class.
Class constructor. Initializes a ShortcutListSet instance and populates it based on the information included in the XML Node
root | Node instance representing the shortcut list information. |
---|
Class constructor. Initializes a ShortcutList instance based on the information included in the XML Node and the default shorctcut list set provided.
root | Node instance representing the shortcut list information. |
---|---|
defaultListSet | the default ShortcutListSet to use Default Lists will be taken from this parameter |
Class constructor. Initializes a ShortcutList instance based on the information included in the DOM Document
doc | Document instance representing the shortcut list information. |
---|
Class constructor. Initializes a ShortcutList instance based on the information included in the DOM Document
doc | Document instance representing the shortcut list information. |
---|---|
defaultListSet | the default ShortcutListSet to use Default Lists will be taken from this parameter |
Returns the WebAttributeList
associated with this ShortcutListSet.
These attribute
elements define name-value pairs of html attributes
that are added to the objects container (that is, added within the
attributes
element is used with system pickers and toolbars, but not menus.Returns the name of the base-bean associated with this ShortcutListSet
This method is deprecated.
Not used anymore. A more generic framework is now in place to support default values
and values from multiple sources. See AbstractConfigurationElement
.
Returns the default ShortcutListSet
object that was used to populate default values
for this ShortcutListSet
in the constructor. If none, it returns null
.
Get the feature Id associated with this shortcut list set. The feature Id controls whether the shortcut list set is visible or not depending on user privileges and application settings.
Returns the javascript file name associated with this ShortcutListSet
Returns the name of the ShortcutList instance, which is used as a unique identifier.
Returns the script-class of the JavaScript bone associated with this ShortcutListSet
Returns the ShortcutList
associated with the given name.
Indicates the bean from the pages bean hierarchy associated with the shortcut lists in the set. If a shortcut list object inside the set does not define a base bean attribute, the value of this base-bean attribute is used in tasks such as resolving features for the shortcut list.
Sets the feature Id associated with this shortcut list set. The feature Id controls whether the shortcut list set is visible or not depending on user privileges and application settings.
featureId | the feature Id associated with this shortcut list set. |
---|
If the shortcut list set is associated with a JavaScript bone, this property defines the JavaScript file that contains the JavaScript class corresponding to the JavaScript bone.
Sets the name, a unique identifier for the ShortcutList instance
Associates this ShortcutListSet with a JavaScript bone, the script-class defines the name of the corresponding JavaScript class
This method must return the attribute that uniquely identifies this element among its siblings;
if no single attribute can be used, return null and override the getKey
and
setKey
methods.