java.lang.Object | |
↳ | com.microstrategy.utils.config.ClientSideLayouts |
This class provides the front-end from retrieving client-side layout contents for use with the Javascript UI Library (JUIL). It interacts with server-side caches to reduce the number of file accesses. In this respect, it is merely a helper class for client-side layouts.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | BLOCK_PROPERTY_LAYOUT_CLASS_NAME | The name of the Block Property that we will scan for layout classes. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ClientSideLayouts() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static String |
getLayoutClassName(String layoutClass)
Returns the layout class name without the plugin macro.
| ||||||||||
static String |
getLayoutStatement(String layoutClass)
Returns a JavaScript statement which defines the layout for a
given layout class.
| ||||||||||
static void |
getLayoutStatementsFromBlock(MarkupOutput out, Block block, String propName)
Get an entire set of JavaScript layout statements by scanning a
Block tree for all layout classes that are defined in a specific named
Block Property.
| ||||||||||
static void |
getLayoutStatementsFromBlock(MarkupOutput out, Block block)
Get an entire set of JavaScript layout statements by scanning a
Block tree for all layout classes that are defined in a specific named
Block Property.
| ||||||||||
static String |
getPlugin(String layoutClass)
Returns the plugin macro contained in the layout class property.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The name of the Block Property that we will scan for layout classes.
Returns the layout class name without the plugin macro.
layoutClass | The layout class property value for the block. It may contains a plugin macro, such as "@plugin1:". |
---|
Returns a JavaScript statement which defines the layout for a given layout class.
layoutClass | The name of the layout class to retrieve. |
---|
null
is returned.
Get an entire set of JavaScript layout statements by scanning a Block tree for all layout classes that are defined in a specific named Block Property.
out | The MarkupOutput to generate the JavaScript
statements into. |
---|---|
block | The Block instance to scan for layout classes
referenced in a BlockProperty value. |
propName | The name of the BlockProperty to inspect for
layout class names.
|
Get an entire set of JavaScript layout statements by scanning a
Block tree for all layout classes that are defined in a specific named
Block Property. The name of the Block Property to inspect is defined in
BLOCK_PROPERTY_LAYOUT_CLASS_NAME
.
out | The MarkupOutput to generate the JavaScript
statements into. |
---|---|
block | The Block instance to scan for layout classes
referenced in a BlockProperty value. |
Returns the plugin macro contained in the layout class property.
layoutClass | The layout class property value for the block. It may contains a plugin macro, such as "@plugin1:". |
---|