Package com.microstrategy.web.app.gui
Class GuiElementFactory
- java.lang.Object
 - 
- com.microstrategy.web.app.gui.GuiElementFactory
 
 
- 
public final class GuiElementFactory extends java.lang.ObjectGuiElementFactory is the factory class for the gui elements This class is used to create instances for different GUI Element classes using its public methods. The GUI Elements can be configured by creating a file named GUIElements.properties. This file should exist in the classpath of the Application. The file specifies the actual class to be used for creating the GUI element. The name of the element is defined by the values of the constants in defined in this "CART,CART_ATTFORMS,EDITOR" and the value is the fully qualified class name for the implementation. For example, cart=com.microstrategy.web.app.gui.CartImpl editor=com.microstrategy.web.app.gui.EditorImpl- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCALENDARstatic java.lang.StringCARTstatic java.lang.StringCART_ATTFORMSstatic java.lang.StringCART_DUAL_AXISstatic java.lang.StringCART_ELEMENT_PICKERstatic java.lang.StringCART_EXPRESSIONstatic java.lang.StringCART_FONT_STYLESstatic java.lang.StringCART_OBJECT_BROWSERstatic java.lang.StringCONTACTS_CARTstatic java.lang.StringEDITORstatic java.lang.StringGUI_COMPONENTstatic java.lang.StringINCREMENTAL_FETCHstatic java.lang.StringMENUstatic java.lang.StringOBJECT_INFO_WIDGETstatic java.lang.StringQUICK_LINKSstatic java.lang.StringSCHEDULE_WIDGETstatic java.lang.StringSCROLLERstatic java.lang.StringSENDNOW_WIDGETstatic java.lang.StringSHORTCUT_ELEMENTstatic java.lang.StringSHORTCUT_LIST_ELEMENTstatic java.lang.StringSUBSCRIPTION_FILE_WIDGETstatic java.lang.StringSUBSCRIPTION_PRINT_WIDGETstatic java.lang.StringSUBSCRIPTION_WIDGETstatic java.lang.StringTOOLBARstatic java.lang.StringTREE_BOXDeprecated.Use (@link #TREE_VIEW} instead of this to render a tree view.static java.lang.StringTREE_CARTstatic java.lang.StringTREE_CART_EXPRESSIONstatic java.lang.StringTREE_VIEWConstant to specify the class name for the tree view.static java.lang.StringUSER_ENTITIES_TREE_CART 
- 
Method Summary
 
 - 
 
- 
- 
Field Detail
- 
CALENDAR
public static final java.lang.String CALENDAR
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
CART
public static final java.lang.String CART
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
CART_ATTFORMS
public static final java.lang.String CART_ATTFORMS
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
CART_EXPRESSION
public static final java.lang.String CART_EXPRESSION
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
TREE_CART
public static final java.lang.String TREE_CART
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
USER_ENTITIES_TREE_CART
public static final java.lang.String USER_ENTITIES_TREE_CART
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
CART_FONT_STYLES
public static final java.lang.String CART_FONT_STYLES
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
CART_DUAL_AXIS
public static final java.lang.String CART_DUAL_AXIS
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
CART_OBJECT_BROWSER
public static final java.lang.String CART_OBJECT_BROWSER
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
CART_ELEMENT_PICKER
public static final java.lang.String CART_ELEMENT_PICKER
- Since:
 - MicroStrategy Web 8.0.1
 - See Also:
 - Constant Field Values
 
 
- 
EDITOR
public static final java.lang.String EDITOR
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
GUI_COMPONENT
public static final java.lang.String GUI_COMPONENT
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
INCREMENTAL_FETCH
public static final java.lang.String INCREMENTAL_FETCH
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
SCROLLER
public static final java.lang.String SCROLLER
- Since:
 - MicroStrategy Web 8.1.0
 - See Also:
 - Constant Field Values
 
 
- 
MENU
public static final java.lang.String MENU
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
OBJECT_INFO_WIDGET
public static final java.lang.String OBJECT_INFO_WIDGET
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
QUICK_LINKS
public static final java.lang.String QUICK_LINKS
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
SCHEDULE_WIDGET
public static final java.lang.String SCHEDULE_WIDGET
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
SENDNOW_WIDGET
public static final java.lang.String SENDNOW_WIDGET
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
SHORTCUT_ELEMENT
public static final java.lang.String SHORTCUT_ELEMENT
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
SHORTCUT_LIST_ELEMENT
public static final java.lang.String SHORTCUT_LIST_ELEMENT
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
SUBSCRIPTION_FILE_WIDGET
public static final java.lang.String SUBSCRIPTION_FILE_WIDGET
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
SUBSCRIPTION_PRINT_WIDGET
public static final java.lang.String SUBSCRIPTION_PRINT_WIDGET
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
SUBSCRIPTION_WIDGET
public static final java.lang.String SUBSCRIPTION_WIDGET
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
TOOLBAR
public static final java.lang.String TOOLBAR
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
TREE_BOX
public static final java.lang.String TREE_BOX
Deprecated.Use (@link #TREE_VIEW} instead of this to render a tree view.- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
TREE_VIEW
public static final java.lang.String TREE_VIEW
Constant to specify the class name for the tree view.- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
TREE_CART_EXPRESSION
public static final java.lang.String TREE_CART_EXPRESSION
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
CONTACTS_CART
public static final java.lang.String CONTACTS_CART
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getInstance
public static GuiElementFactory getInstance()
get the instance of the factory- Returns:
 - the instance of the factory
 
 
- 
newGuiElement
public GuiElement newGuiElement(int guiElementType, AppContext context)
create a new gui element object by aEnumGuiElementstype- Parameters:
 guiElementType- the type of the gui elementcontext- the application context for this gui element- Returns:
 - the 
GuiElementobject 
 
- 
newEditor
public Editor newEditor(AppContext context)
create anEditorobject- Parameters:
 context- the application context- Returns:
 - the editor object
 
 
- 
newQuickLinks
public QuickLinks newQuickLinks(AppContext context)
create a newQuickLinksobject- Parameters:
 context- the application context- Returns:
 - the 
QuickLinksobject 
 
- 
newMenu
public Menu newMenu(AppContext context)
create a newMenuobject- Parameters:
 context- the application context- Returns:
 - the 
Menuobject 
 
- 
newCart
public Cart newCart(AppContext context)
create a newCartobject- Parameters:
 context- the application context- Returns:
 - the 
Cartobject 
 
- 
newCartExpression
public CartExpression newCartExpression(AppContext context)
create a newCartExpressionobject- Parameters:
 context- the application context- Returns:
 - the 
CartExpressionobject 
 
- 
newTreeCart
public TreeCart newTreeCart(AppContext context)
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
newUserEntitiesTreeCart
public TreeCart newUserEntitiesTreeCart(AppContext context)
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
newCartFontStyles
public CartFontStyles newCartFontStyles(AppContext context)
create a newCartFontStylesobject- Parameters:
 context- the application context- Returns:
 - the 
CartFontStylesobject 
 
- 
newCartDualAxisDistribution
public CartDualAxisDistribution newCartDualAxisDistribution(AppContext context)
create a newCartFontStylesobject- Parameters:
 context- the application context- Returns:
 - the 
CartDualAxisDistributionobject - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
newCartObjectBrowser
public CartObjectBrowser newCartObjectBrowser(AppContext context)
create a newCartObjectBrowserobject- Parameters:
 context- the application context- Returns:
 - the 
CartObjectBrowserobject - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
newCartElementPicker
public CartElementPicker newCartElementPicker(AppContext context)
create a newCartElementPickerobject- Parameters:
 context- the application context- Returns:
 - the 
CartElementPickerobject - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
newContactsCart
public ContactsCart newContactsCart(AppContext context)
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
newCartAttForms
public Cart newCartAttForms(AppContext context)
create a newCartobject- Parameters:
 context- the application context- Returns:
 - the 
Cartobject - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
newTreeCartExpression
public TreeCartExpression newTreeCartExpression(AppContext context)
Create a newTreeCartExpressionobject- Parameters:
 context- the application context- Returns:
 - the 
TreeCartExpressionobject - Since:
 - MicroStrategy Web 7.5.0
 
 
- 
newTreeBox
public TreeBox newTreeBox(AppContext context)
Deprecated.UsenewTreeView(AppContext)to render a tree component.create a newTreeBoxobject- Parameters:
 context- the application context- Returns:
 - the 
TreeBoxobject - Since:
 - MicroStrategy Web 7.5.0
 
 
- 
newTreeView
public TreeView newTreeView(AppContext context)
create a newTreeViewobject- Parameters:
 context- the application context- Returns:
 - the 
TreeViewobject - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
newIncrementalFetch
public IncrementalFetch newIncrementalFetch(AppContext context)
create a newIncrementalFetchobject- Parameters:
 context- the application context- Returns:
 - the 
IncrementalFetchobject 
 
- 
newScroller
public Scroller newScroller(AppContext context)
create a newScrollerobject- Parameters:
 context- the application context- Returns:
 - the 
Scrollerobject - Since:
 - MicroStrategy Web 8.1.0
 
 
- 
newCalendar
public GGCalendar newCalendar(AppContext context)
create a newGGCalendargui element- Parameters:
 context- the application context- Returns:
 - the 
GGCalendarobject 
 
- 
newSubscriptionWidget
public SubscriptionWidget newSubscriptionWidget(AppContext context)
create a newSubscriptionWidgetgui element- Parameters:
 context- the application context- Returns:
 - the 
SubscriptionWidgetobject 
 
- 
newSubscriptionFileWidget
public SubscriptionFileWidget newSubscriptionFileWidget(AppContext context)
create a newSubscriptionFileWidgetgui element- Parameters:
 context- the application context- Returns:
 - the 
SubscriptionFileWidgetobject - Since:
 - MicroStrategy Web 7.5.1
 
 
- 
newSubscriptionPrintWidget
public SubscriptionPrintWidget newSubscriptionPrintWidget(AppContext context)
create a newSubscriptionFileWidgetgui element- Parameters:
 context- the application context- Returns:
 - the 
SubscriptionFileWidgetobject - Since:
 - MicroStrategy Web 7.5.1
 
 
- 
newScheduleWidget
public ScheduleWidget newScheduleWidget(AppContext context)
create a newScheduleWidgetgui element- Parameters:
 context- the application context- Returns:
 - the 
ScheduleWidgetobject 
 
- 
newSendNowWidget
public SendNowWidget newSendNowWidget(AppContext context)
create a newSendNowWidgetgui element- Parameters:
 context- the application context- Returns:
 - the 
SendNowWidgetobject 
 
- 
newObjectInfoWidget
public ObjectInfoWidget newObjectInfoWidget(AppContext context)
create a newObjectInfoWidgetgui element- Parameters:
 context- the application context- Returns:
 - the 
ObjectInfoWidgetobject 
 
- 
newToolbar
public Toolbar newToolbar(AppContext context)
create a newToolbargui element- Parameters:
 context- the application context- Returns:
 - the 
Toolbarobject - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
newShortcutList
public ShortcutListElement newShortcutList(AppContext context)
create a newShortcutListElementgui element- Parameters:
 context- the application context- Returns:
 - the 
ShortcutListElementobject - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
newShortcut
public ShortcutElement newShortcut(AppContext context)
create a newShortcutElementgui element- Parameters:
 context- the application context- Returns:
 - the 
ShortcutElementobject - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
newGuiComponent
public GuiComponent newGuiComponent(AppContext context)
create a newGuiComponentgui element- Parameters:
 context- the application context- Returns:
 - the 
GuiComponentobject 
 
- 
newGuiComponent
public GuiComponent newGuiComponent()
create a newGuiComponentgui element- Returns:
 - the 
GuiComponentobject 
 
- 
getImplClassMap
protected java.util.Map getImplClassMap()
Returns a Map object containing the implementation name of the classes governed by this factory.- Returns:
 - a populated Map instance.
 - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getImplClass
protected java.lang.Object getImplClass(java.lang.String className)
- Parameters:
 className- the name of the class to instanciate.- Returns:
 - an Object representing the implementation class based on the class name provided.
 - Since:
 - MicroStrategy Web 8.0.0
 
 
 - 
 
 -