Package com.microstrategy.web.app.beans
Class GridFormatHelper
- java.lang.Object
-
- com.microstrategy.web.beans.GridWebFormatHelper
-
- com.microstrategy.web.app.beans.GridFormatHelper
-
public class GridFormatHelper extends GridWebFormatHelper
This class provides a series of methods that aid on the manipulation of grid formatting properties.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.beans.GridWebFormatHelper
LOCAL_TARGET_ALL_METRICS, LOCAL_TARGET_ALL_REPORT, LOCAL_TARGET_GRID_BORDER, LOCAL_TARGET_GRID_CONTAINER
-
-
Constructor Summary
Constructors Constructor Description GridFormatHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetDefaultNumberDateDescriptor(AppContext appContext, java.lang.String numberDateLocale, java.lang.String descriptorId)For the specified locale, obtain which is the descriptor to be usedstatic java.lang.StringgetNumberDateLocale(AppContext appContext)Based on the user's preferences, obtain which locale should be used for formatting number and dates-
Methods inherited from class com.microstrategy.web.beans.GridWebFormatHelper
constructNumberFormat, convertColorDecimalToHTMLHex, getAxis, getComparedPropertyValue, getComparedPropertyValue, getGridFormatObjectsArray, getGridFormatObjectsArray, getGridFormatObjectsArray, getGridFormatObjectsArray, getGridFormatObjectsArray, getGridTemplate, getMetric, getPropertyUseDefault, getPropertyValue, getPropertyValue, getTemplateUnit, getUnitType
-
-
-
-
Method Detail
-
getNumberDateLocale
public static java.lang.String getNumberDateLocale(AppContext appContext)
Based on the user's preferences, obtain which locale should be used for formatting number and dates- Parameters:
appContext-AppContextinitialized instance- Returns:
- the string code of the locale selected by the user on his/her preferences
-
getDefaultNumberDateDescriptor
public static java.lang.String getDefaultNumberDateDescriptor(AppContext appContext, java.lang.String numberDateLocale, java.lang.String descriptorId)
For the specified locale, obtain which is the descriptor to be used- Parameters:
appContext-AppContextinitialized instancenumberDateLocale- the string code of the locale selected by the userdescriptorId- the id of the descriptor requested- Returns:
- the
Stringvalue corresponding to the descriptor id sent as parameter
-
-