Package com.microstrategy.web.app.utils
Class GridWidget
- java.lang.Object
-
- com.microstrategy.web.app.utils.GridWidget
-
public class GridWidget extends java.lang.Object
Represents a Widget that can be applied to a grid in a report services document.
This can be a widget from widget.xml, a visualizations from visualizations.xml or both
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
propsEditor
static int
TYPE_ANDROID
static int
TYPE_ANDROID_TABLET
static int
TYPE_DTHML
static int
TYPE_FLASH
static int
TYPE_IPAD
static int
TYPE_IPHONE
-
Constructor Summary
Constructors Constructor Description GridWidget(Widget wg, AppContext appContext)
GridWidget(Visualization vis, AppContext appContext)
GridWidget(java.lang.String id, AppContext appContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVisualization(Visualization vis)
Visualization
getAndroidTabletVisualization()
Visualization
getAndroidVisualization()
java.lang.String
getId()
Visualization
getIPadVisualization()
Visualization
getIPhoneVisualization()
java.lang.String
getName()
int
getType()
Visualization
getVisualization()
Widget
getWidget()
-
-
-
Field Detail
-
TYPE_FLASH
public static final int TYPE_FLASH
- See Also:
- Constant Field Values
-
TYPE_DTHML
public static final int TYPE_DTHML
- See Also:
- Constant Field Values
-
TYPE_IPHONE
public static final int TYPE_IPHONE
- See Also:
- Constant Field Values
-
TYPE_IPAD
public static final int TYPE_IPAD
- See Also:
- Constant Field Values
-
TYPE_ANDROID
public static final int TYPE_ANDROID
- See Also:
- Constant Field Values
-
TYPE_ANDROID_TABLET
public static final int TYPE_ANDROID_TABLET
- See Also:
- Constant Field Values
-
propsEditor
public java.lang.String propsEditor
-
-
Constructor Detail
-
GridWidget
public GridWidget(java.lang.String id, AppContext appContext)
-
GridWidget
public GridWidget(Widget wg, AppContext appContext)
-
GridWidget
public GridWidget(Visualization vis, AppContext appContext)
-
-
Method Detail
-
addVisualization
public void addVisualization(Visualization vis)
-
getName
public java.lang.String getName()
-
getId
public java.lang.String getId()
-
getType
public int getType()
-
getWidget
public Widget getWidget()
-
getVisualization
public Visualization getVisualization()
-
getIPhoneVisualization
public Visualization getIPhoneVisualization()
-
getIPadVisualization
public Visualization getIPadVisualization()
-
getAndroidVisualization
public Visualization getAndroidVisualization()
-
getAndroidTabletVisualization
public Visualization getAndroidTabletVisualization()
-
-