#import <MSIWidgetHelper.h>
◆ arrayWithSecondaryDataProviderWidgetHelper:()
- (NSMutableArray*) arrayWithSecondaryDataProviderWidgetHelper: |
|
(ViewerDataModel *) |
viewerDataModel |
|
- Returns
- : widgetHelper for all secondary data provider
- Parameters
-
| the ViewerDataModel obj : one widgetHelper corresponds to one dataSet. MSIWidgetViewer has one default widgetHelper. If a widget has only one dataSet, superClass widgetViewer will help to create default widgetHelper corresponding to the dataSet. If a widget has 3 dataSet A,B,C, A is primary dataSet, superClass widgetViewer will help to create a default widgetHelper corresponding to dataSet A, you can get widgetHelper for the dataSet A and B through this API. |
◆ checkPrivilege:()
:chcek if user has privilege on this document.
- Returns
- :YES if user has the privilege
◆ ColorToInt:()
- (int) ColorToInt: |
|
(UIColor *) |
color |
|
get integer repsenting of UIColor in order 'RGB'
- Parameters
-
- Returns
- the color represented by integer in 'RGB' order
◆ dataProvider()
get data provider
- Returns
- object conforming to MSIDataProviderProtocol, please convert it to concrete object if there is any warning
◆ dataProviderByType:()
- Deprecated:
- :use (id<MSIDataProviderProtocol>)dataProvider instead, each widgetHelper handles only one dataSet;
◆ getArrayWithAllInfoWindowViewers()
- (NSArray*) getArrayWithAllInfoWindowViewers |
|
|
|
◆ getArrayWithInfoWindowViewersByAxisType:andUnitIndex:()
- (NSArray*) getArrayWithInfoWindowViewersByAxisType: |
|
(AxisType) |
axisType |
andUnitIndex: |
|
(int) |
unitIndex |
|
|
| |
◆ getColIndexByAxisType:andDepth:()
- (int) getColIndexByAxisType: |
|
(AxisType) |
type |
andDepth: |
|
(int) |
depth |
|
|
| |
- Returns
- : colIndex converted from depth
- Parameters
-
| the ViewerDataModel obj : if several colIndex has the same depth, return the min one |
◆ getColIndexByAxisType:andUnitIndex:()
- (int) getColIndexByAxisType: |
|
(AxisType) |
type |
andUnitIndex: |
|
(int) |
unitIndex |
|
|
| |
◆ getDepthByAxisType:andColIndex:()
- (int) getDepthByAxisType: |
|
(AxisType) |
type |
andColIndex: |
|
(int) |
col |
|
|
| |
- Returns
- : depth converted from colIndex
- Parameters
-
| the ViewerDataModel obj : the demo dataSet has one attribute, while two attribute forms. all the metric share the same depth RegionID DESC Profit Revenue depth: 0 0 1 1 colIndex : 0 1 2 3 |
◆ getImageViewerImageSource:()
+ (NSString*) getImageViewerImageSource: |
|
(UIView *) |
viewer |
|
return the imageSource in the viewer, only valid for MSIViewInPanelStackViewer_ImageViewer ,otherwise return nil
- Parameters
-
the | viewer we want to get image source from |
- Returns
- the text if viewer type is MSIViewInPanelStackViewer_ImageViewer ,sometimes the imagesource is dynamic image, we need to analyse and get the right image then set the righ image using
- (void) setImageViewer:(UIView *)viewer withImage:(UIImage *)image;
◆ getInfoWindowViewer()
- (UIView*) getInfoWindowViewer |
|
|
|
getInfoWindowViewer get the info window viewer for current view (if it exists)
◆ getInfoWindowViewerForIterator:()
◆ getLinkDrillCountByAxisType:andOrdinal:andDepth:()
- (NSInteger) getLinkDrillCountByAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
getLinkDrillCountByAxisType:andOrdinal:andDepth get link drill count at specific grid cell, return 0 if no linkdrill
- Returns
- an int means the number of linkdrill
◆ getLinkDrillDisplayStringByAxisType:andOrdinal:andDepth:andOrder:()
- (NSString*) getLinkDrillDisplayStringByAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
andOrder: |
|
(int) |
order |
|
|
| |
◆ getPanelStackViewer()
- (PanelStackViewer*) getPanelStackViewer |
|
|
|
getPanelStackViewer get the panelstack viewer for current view (if it exists)
◆ getPanelViewFromPanelStack:andRowIndex:()
- (UIView*) getPanelViewFromPanelStack: |
|
(NSString *) |
panelStackName |
andRowIndex: |
|
(int) |
rowIndex |
|
|
| |
return the panelView from the given panelStack name and row index of the dataset
- Parameters
-
the | target panelStack nodekey |
the | row index of the dataset |
- Returns
- the first panelView in the panelstack
◆ getSelectedElementIds:()
- (NSArray*) getSelectedElementIds: |
|
(NSString *) |
displayInfoID |
|
- Parameters
-
- Returns
- : array of initial selected element ID for given displayInfoID
◆ getSelectedElementProxyItems:()
◆ getSelectorTargetTypeFromAxis:andUnitIndex:()
- Parameters
-
axisType | and colIndex |
the | unit index |
- Returns
- :the selectorTargetType on a specific unit
◆ getSupportedOrientationByWidgetClass:()
+ (MSTROrientation) getSupportedOrientationByWidgetClass: |
|
(Class) |
widgetClass |
|
getSupportedOrientationByWidgetClass: returns supported orinetation by the widget in iPhone used in the section viewer
- Parameters
-
◆ getSupportedOrientationByWidgetStyle:()
+ (MSTROrientation) getSupportedOrientationByWidgetStyle: |
|
(NSString *) |
widgetStyle |
|
getSupportedOrientationByWidgetStyle: returns supported orinetation by the widget in iPhone used in the subsection viewer
- Parameters
-
style | of widget defined in Generic.h |
◆ getTemplate()
getTemplate get the widget template
- Returns
- DSSTemplate object
◆ getTextViewerText:()
+ (NSString*) getTextViewerText: |
|
(UIView *) |
viewer |
|
return the text in the viewer, only valid for MSIViewInPanelStackViewer_TextViewer ,otherwise return nil
- Parameters
-
the | viewer we want to get the text from |
- Returns
- the text if viewer type is MSIViewInPanelStackViewer_TextViewer,sometimes the text is dynamic text, we need to analyse, then set the righ text using + (void) setTextViewer:(UIView *)viewer withText:(NSString *)text;
◆ getUnitIndexByAxisType:andColIndex:()
- (int) getUnitIndexByAxisType: |
|
(AxisType) |
type |
andColIndex: |
|
(int) |
col |
|
|
| |
◆ getViewerTypeInPanelStackViewer:()
return the view type for the given view
- Parameters
-
the | viewer we want to get the type |
- Returns
- the view type EnumMSIViewTypeInPanelStackViewer
◆ getWebServerCredentials:()
getWebServerCredentials get web server credential for the document.
◆ getWidgetFrame()
- (CGRect) getWidgetFrame |
|
|
|
getWidgetFrame get widget frame if iPhone, the frame is the whole screen; if iPad, it's the actual size of the document
- Returns
- the frame of the widget
◆ handleCellSelectionAndInfoWindowOnView:frame:withAxis:andOrdinal:andDepth:andInfoWindowLayoutKey:andCaller:andSelector:()
- (EnumDataStatus) handleCellSelectionAndInfoWindowOnView: |
|
(UIView *) |
view |
frame: |
|
(CGRect) |
frame |
withAxis: |
|
(AxisType) |
iAxis |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
andInfoWindowLayoutKey: |
|
(NSString *) |
iwLayoutKey |
andCaller: |
|
(id< BinaryRetrievalHandler >) |
iCaller |
andSelector: |
|
(SEL) |
iCallbackFunction |
|
|
| |
handleCellSelectionForEntireRowAndInfoWindowOnView:frame:withAxisType:andOrdinal:andDepth: handle cell seleciton and handle info window some widget may need the entire row for the info window
handleHeaderSelectionsAndInfoWindowOnView:frame:withAxis:andOrdinal:andDepth:andInfoWindowLayoutKey; handle header seleciton and handle info window
- Parameters
-
view | the view where to attach the info window |
frame | the position of the info window |
iAxis | 0 means row axis, 1 means column axis |
iOrdinal | ordinal of the grid cell |
iDepth | depth of the grid cell |
iwLayoutKey | the info window layout key. |
◆ handleCellSelectionAndInfoWindowOnView:frame:withAxisType:andOrdinal:andDepth:()
- (EnumDataStatus) handleCellSelectionAndInfoWindowOnView: |
|
(UIView *) |
view |
frame: |
|
(CGRect) |
frame |
withAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- : two step first use (void) setupPopoverContext:(UIView*)targetView withFrame:(CGRect)targetFrame; then use (void) handleCellSelectionByAxisType:(AxisType)type andRowIndex:(int)row andColIndex:(int)col;
◆ handleCellSelectionAndInfoWindowOnView:frame:withGridIterator:withAxis:andOrdinal:andDepth:andInfoWindowLayoutKey:andCaller:andSelector:()
- (EnumDataStatus) handleCellSelectionAndInfoWindowOnView: |
|
(UIView *) |
view |
frame: |
|
(CGRect) |
frame |
withGridIterator: |
|
(DSSRWGridIterator *) |
gridIterator |
withAxis: |
|
(AxisType) |
iAxis |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
andInfoWindowLayoutKey: |
|
(NSString *) |
iwLayoutKey |
andCaller: |
|
(id< BinaryRetrievalHandler >) |
iCaller |
andSelector: |
|
(SEL) |
iCallbackFunction |
|
|
| |
◆ handleCellSelectionAndInfoWindowOnView:frame:withGridIterator:withAxisType:andOrdinal:andDepth:()
- (EnumDataStatus) handleCellSelectionAndInfoWindowOnView: |
|
(UIView *) |
view |
frame: |
|
(CGRect) |
frame |
withGridIterator: |
|
(DSSRWGridIterator *) |
gridIterator |
withAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
◆ handleCellSelectionByAxisType:andOrdinal:andDepth:()
- (void) handleCellSelectionByAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- :use (void) handleCellSelectionByAxisType:(AxisType)type andRowIndex:(int)row andColIndex:(int)col instead
◆ handleCellSelectionByAxisType:andOrdinals:andDepth:()
- (void) handleCellSelectionByAxisType: |
|
(AxisType) |
type |
andOrdinals: |
|
(NSArray *) |
iOrdinals |
andDepth: |
|
(int) |
iDepth |
|
|
| |
◆ handleCellSelectionByAxisType:andRowIndex:andColIndex:()
- (void) handleCellSelectionByAxisType: |
|
(AxisType) |
type |
andRowIndex: |
|
(int) |
row |
andColIndex: |
|
(int) |
col |
|
|
| |
◆ handleCellSelectionByAxisType:andRows:andColIndex:()
- (void) handleCellSelectionByAxisType: |
|
(AxisType) |
type |
andRows: |
|
(NSArray *) |
rows |
andColIndex: |
|
(int) |
col |
|
|
| |
handle cell selection for the whole row
◆ handleCellSelectionForEntireRowAndInfoWindowOnView:frame:withAxisType:andOrdinal:()
- (void) handleCellSelectionForEntireRowAndInfoWindowOnView: |
|
(UIView *) |
view |
frame: |
|
(CGRect) |
frame |
withAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
|
|
| |
- Deprecated:
- : two step first use (void) setupPopoverContext:(UIView*)targetView withFrame:(CGRect)targetFrame; then use (void) handleCellSelectionsForEntireRowByAxisType:(AxisType)type andRowIndex:(int)row;
◆ handleCellSelectionForEntireRowByAxisType:andOrdinal:()
- (void) handleCellSelectionForEntireRowByAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
|
|
| |
◆ handleCellSelectionsForEntireRowByAxisType:andRowIndex:()
- (void) handleCellSelectionsForEntireRowByAxisType: |
|
(AxisType) |
type |
andRowIndex: |
|
(int) |
row |
|
|
| |
handle cell selection for the whole row
◆ handleCellSelectionWithGridIterator:andAxisType:andOrdinal:andDepth:()
- (void) handleCellSelectionWithGridIterator: |
|
(DSSRWGridIterator *) |
gridIterator |
andAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
◆ handleCellSelectionWithGridIterator:andAxisType:andOrdinals:andDepth:()
- (void) handleCellSelectionWithGridIterator: |
|
(DSSRWGridIterator *) |
gridIterator |
andAxisType: |
|
(AxisType) |
type |
andOrdinals: |
|
(NSArray *) |
iOrdinals |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- :use (void)handleCellSelectionsForEntireRowByAxisType:(AxisType)type andRowIndex:(int)row instead
◆ handleCellSelectionWithMultiActionsParas:()
- (void) handleCellSelectionWithMultiActionsParas: |
|
(NSArray *) |
multiActionsParas |
|
◆ handleCellsSelectionAndInfoWindowOnView:frame:withAxisType:andOrdinals:andDepth:()
- (EnumDataStatus) handleCellsSelectionAndInfoWindowOnView: |
|
(UIView *) |
view |
frame: |
|
(CGRect) |
frame |
withAxisType: |
|
(AxisType) |
type |
andOrdinals: |
|
(NSArray *) |
iOrdinals |
andDepth: |
|
(int) |
iDepth |
|
|
| |
◆ handleHeaderSelectionByAxisType:andIndex:()
- (void) handleHeaderSelectionByAxisType: |
|
(AxisType) |
type |
andIndex: |
|
(NSInteger) |
index |
|
|
| |
- Deprecated:
- :use (void)handleHeaderSelectionsByAxisType:(AxisType)type andColIndex:(int)col instead
◆ handleHeaderSelectionsByAxisType:andColIndex:()
- (void) handleHeaderSelectionsByAxisType: |
|
(AxisType) |
type |
andColIndex: |
|
(int) |
col |
|
|
| |
handle header selection
- Parameters
-
◆ handleHeaderSelectionsWithColArrayByAxisType:andColArray:()
- (void) handleHeaderSelectionsWithColArrayByAxisType: |
|
(AxisType) |
iAxis |
andColArray: |
|
(NSArray *) |
iColArray |
|
|
| |
handle header selection for several columns
- Parameters
-
axisType | and colArry containing several colIndex |
◆ handleItemSelection:()
- (void) handleItemSelection: |
|
(int) |
itemIndex |
|
:This API is workable When dataType is RWControlDataType,
◆ handleLinkDrillByAxisType:andOrdinal:andDepth:()
- (void) handleLinkDrillByAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- : use (void)handleLinkDrillByAxisType:(AxisType)type andRowIndex:(int)row andColIndex:(int)col instead
◆ handleLinkDrillByAxisType:andOrdinal:andDepth:andOrder:()
- (void) handleLinkDrillByAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
andOrder: |
|
(int) |
order |
|
|
| |
◆ handleLinkDrillByAxisType:andOrdinals:andDepth:()
- (void) handleLinkDrillByAxisType: |
|
(AxisType) |
type |
andOrdinals: |
|
(NSArray *) |
iOrdinals |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- : use (void)handleLinkDrillByAxisType:(AxisType)type andRows:(NSArray*)rows andColIndex:(int)col instead
◆ handleLinkDrillByAxisType:andRowIndex:andColIndex:()
- (void) handleLinkDrillByAxisType: |
|
(AxisType) |
type |
andRowIndex: |
|
(int) |
row |
andColIndex: |
|
(int) |
col |
|
|
| |
handleLinkDrillByAxisType:andOrdinal:andDepth: hadle link drill
◆ handleLinkDrillByAxisType:andRows:andColIndex:()
- (void) handleLinkDrillByAxisType: |
|
(AxisType) |
type |
andRows: |
|
(NSArray *) |
rows |
andColIndex: |
|
(int) |
col |
|
|
| |
handleLinkDrillByAxisType:andRows:andColIndex handle multi selected rows.
◆ handleLinkDrillByGridIterator:andAxisType:andOrdinals:andDepth:()
- (void) handleLinkDrillByGridIterator: |
|
(DSSRWGridIterator *) |
gridIterator |
andAxisType: |
|
(AxisType) |
type |
andOrdinals: |
|
(NSArray *) |
iOrdinals |
andDepth: |
|
(int) |
iDepth |
|
|
| |
◆ handleLinkDrillOnMetricWithOrdinal:andDepth:()
- (void) handleLinkDrillOnMetricWithOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- : use (void)handleLinkDrillByAxisType:(AxisType)type andRowIndex:(int)row andColIndex:(int)col instead
◆ handleLinkDrillOnMetricWithOrdinals:andDepth:()
- (void) handleLinkDrillOnMetricWithOrdinals: |
|
(NSArray *) |
iOrdinals |
andDepth: |
|
(int) |
iDepth |
|
|
| |
◆ handleRegularDrillByAxisType:andOrdinal:andDepth:()
- (void) handleRegularDrillByAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- : use (BOOL)handleRegularDrillByAxisType:(AxisType)type andRowIndex:(int)row andColIndex:(int)col instead
◆ handleRegularDrillByAxisType:andRowIndex:andColIndex:()
- (void) handleRegularDrillByAxisType: |
|
(AxisType) |
type |
andRowIndex: |
|
(int) |
row |
andColIndex: |
|
(int) |
col |
|
|
| |
handleRegularDrillByAxisType:andOrdinal:andDepth: handle regular drill
◆ handleSelectionsForCoordinateArray:()
- (void) handleSelectionsForCoordinateArray: |
|
(NSArray *) |
array |
|
◆ handleSelectionsWithSelectionOperationArray:withCommander:()
+ (void) handleSelectionsWithSelectionOperationArray: |
|
(NSArray *) |
operations |
withCommander: |
|
(Commander *) |
commander |
|
|
| |
◆ handleURLLinkOnView:withURL:()
- (BOOL) handleURLLinkOnView: |
|
(UIView *) |
iView |
withURL: |
|
(NSString *) |
link |
|
|
| |
handleURLLinkOnView:withURL: handle URL link for attributes
- Parameters
-
- Returns
- Is the url valid or not.
◆ hasData()
hasData If there is data in widget's primary data provider
- Returns
- YES means there is data in widget's primary data provider
◆ hasImportantDrillPath:()
◆ hasInfoWindowDefinedOnUnit:()
◆ hasLinkDrillByAxisType:andOrdinal:andDepth:()
- (BOOL) hasLinkDrillByAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- : use (BOOL)hasLinkDrillByAxisType:(AxisType)type andRowIndex:(int)row andColIndex:(int)col instead
◆ hasLinkDrillByAxisType:andRowIndex:andColIndex:()
- (BOOL) hasLinkDrillByAxisType: |
|
(AxisType) |
type |
andRowIndex: |
|
(int) |
row |
andColIndex: |
|
(int) |
col |
|
|
| |
hasLinkDrillByAxisType:andOrdinal:andDepth: Is there link drill at specific grid cell
- Returns
- Yes means there is link drill
◆ hasLinkDrillByGridIterator:andAxisType:andOrdinal:andDepth:()
- (BOOL) hasLinkDrillByGridIterator: |
|
(DSSRWGridIterator *) |
gridIterator |
andAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
◆ hasLinkDrillDefined()
- (BOOL) hasLinkDrillDefined |
|
|
|
◆ hasLinkDrillOnMetricWithOrdinal:andDepth:()
- (BOOL) hasLinkDrillOnMetricWithOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- : use (BOOL)hasLinkDrillByAxisType:(AxisType)type andRowIndex:(int)row andColIndex:(int)col instead
◆ hasRegularDrillByAxisType:andOrdinal:andDepth:()
- (BOOL) hasRegularDrillByAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- : use (BOOL)hasRegularDrillByAxisType:(AxisType)type andRowIndex:(int)row andColIndex:(int)col instead
◆ hasRegularDrillByAxisType:andRowIndex:andColIndex:()
- (BOOL) hasRegularDrillByAxisType: |
|
(AxisType) |
type |
andRowIndex: |
|
(int) |
row |
andColIndex: |
|
(int) |
col |
|
|
| |
hasRegularDrillByAxisType:andOrdinal:andDepth: has regular drill
◆ hasRegularDrillByGridIterator:andAxisType:andOrdinal:andDepth:()
- (BOOL) hasRegularDrillByGridIterator: |
|
(DSSRWGridIterator *) |
gridIterator |
andAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
◆ hasURLLinkDefined()
- (BOOL) hasURLLinkDefined |
|
|
|
◆ hideControlledInfoWindow()
- (void) hideControlledInfoWindow |
|
|
|
hideControlledInfoWindow hide popped info window that is controled by current view (if it exists)
◆ hideInfoWindowContainsSelf()
- (void) hideInfoWindowContainsSelf |
|
|
|
hideInfoWindowContainsSelf hide the info window which contains the rwnode itself
◆ initHelper:withCommander:withProps:()
- (id) initHelper: |
|
(ViewerDataModel *) |
_viewerDataModel |
withCommander: |
|
(Commander *) |
_commander |
withProps: |
|
(NSString *) |
_widgetProps |
|
|
| |
◆ invalidateSecondaryDataProviders()
- (void) invalidateSecondaryDataProviders |
|
|
|
◆ isAnalysisDocument()
- (BOOL) isAnalysisDocument |
|
|
|
isAnalysisDocument check if the document is an IVE document, naming follows Flex
◆ isCellSelectableByAxisType:andOrdinal:andDepth:()
- (BOOL) isCellSelectableByAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- :use (BOOL) isCellSelectableByAxisType:(AxisType)type andRowIndex:(int)row andColIndex:(int)col instead
◆ isCellSelectableByAxisType:andRowIndex:andColIndex:()
- (BOOL) isCellSelectableByAxisType: |
|
(AxisType) |
type |
andRowIndex: |
|
(int) |
row |
andColIndex: |
|
(int) |
col |
|
|
| |
◆ isCellSelectableByGridIterator:andAxisType:andOrdinal:andDepth:()
- (BOOL) isCellSelectableByGridIterator: |
|
(DSSRWGridIterator *) |
iGridIterator |
andAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
◆ isColumnHasSelectableByAxisType:andColIndex:()
- (BOOL) isColumnHasSelectableByAxisType: |
|
(AxisType) |
type |
andColIndex: |
|
(int) |
col |
|
|
| |
check if this column has selectable cell. (If subtotal is can't selectable, element is selectable, return YES.)
◆ isCrosstabDataModel()
- (BOOL) isCrosstabDataModel |
|
|
|
- Deprecated:
isCrosstabDataModel check whether the data model is crosstab model
- Returns
- yes if it's crosstab data model
◆ isHeaderSelectableByAxisType:andColIndex:()
- (BOOL) isHeaderSelectableByAxisType: |
|
(AxisType) |
type |
andColIndex: |
|
(NSInteger) |
col |
|
|
| |
check header selectable
- Parameters
-
◆ isHeaderSelectableByAxisType:andIndex:()
- (BOOL) isHeaderSelectableByAxisType: |
|
(AxisType) |
type |
andIndex: |
|
(NSInteger) |
index |
|
|
| |
- Deprecated:
- :use (BOOL)isHeaderSelectableByAxisType:(AxisType)type andColIndex:(NSInteger)col instead
◆ isInfoWindowSupported()
- (BOOL) isInfoWindowSupported |
|
|
|
isInfoWindowSupported returns YES if info window is supported by current view
◆ isInInfoWindow()
isInInfoWindow returns YES if current view is in a panelstack as info window
◆ isInLayoutInfoWindow()
- (BOOL) isInLayoutInfoWindow |
|
|
|
isInLayoutInfoWindow returns YES if current view is in a info window layout
◆ isInPanelStack()
isInPanelStack returns YES if current view is in a panel stack viewer
◆ isLayoutInfoWindowSupported()
- (BOOL) isLayoutInfoWindowSupported |
|
|
|
isLayoutInfoWindowSupported returns YES if layout info window is supported by current view
◆ isMetricInRowAxis()
- (BOOL) isMetricInRowAxis |
|
|
|
- Deprecated:
- : we provide - (BOOL)isMetricInRowAxis in ModelData.h
◆ isMetricValid()
isMetricValid If the metric valid
- Returns
- YES means valid
◆ isPanelStackInfoWinDefinedForGridIterator:()
◆ isReport()
getIsReport: check if the we are running a report or a report service document
◆ isRWControl()
- Returns
- :return YES if the dataSet is RWControlDataType, or in another word ,the iterrator passed into the widgetHelper is RWControlGridIntertator
◆ isWidgetVisible()
isWidgetVisible get whether the widget is visible this method may return different values depending on which document view is choosen
- Returns
- true if widget is visible, false otherwise
◆ nodeKeyForWidget:()
- Returns
- :nodeKey string for the widget
◆ numOfAttributesInColumnAxis()
- (NSInteger) numOfAttributesInColumnAxis |
|
|
|
- Deprecated:
- : we provide (NSInteger) colAxisTemplateUnitCount in modelData.h
◆ numOfAttributesInRowAxis()
- (NSInteger) numOfAttributesInRowAxis |
|
|
|
- Deprecated:
- : we provide (NSInteger) rowAxisTemplateUnitCount in modelData.h
◆ numOfMetrics()
- (NSInteger) numOfMetrics |
|
|
|
- Deprecated:
- : we provide (NSInteger) metricCount in modelData.h
◆ numOfSecondaryDataProviders()
- (NSInteger) numOfSecondaryDataProviders |
|
|
|
◆ onlyInfoWindowDefined:()
onlyInfoWindowDefined: check if the unit targets only infowindow used in widget
- Parameters
-
◆ onlyInfoWindowDefinedOnAxis:()
- (BOOL) onlyInfoWindowDefinedOnAxis: |
|
(int) |
axis |
|
onlyInfoWindowDefinedOnAxis: check if the axis of template targets only infowindow used in widget
- Parameters
-
integer | indicating the axis. Pass 0 for row axis and 1 for column axis. |
◆ queueReusableView:forPanelStack:()
- (void) queueReusableView: |
|
(UIView *) |
view |
forPanelStack: |
|
(NSString *) |
panelStackName |
|
|
| |
◆ readDocumentColor:()
get the background color for document,color represented by integer in 'RGB' order
- Parameters
-
- Returns
- the color represented by integer in 'RGB' order
◆ readPanelColor:()
get the background color for panel view containing the input widgetViewer,color represented by integer in 'RGB' order
- Parameters
-
- Returns
- the color represented by integer in 'RGB' order
◆ readSubSectionColor:()
get the background color for subSection view containing the input widgetViewer,color represented by integer in 'RGB' order
- Parameters
-
- Returns
- the color represented by integer in 'RGB' order
◆ registerMasterView:forDataProviderAtIndex:()
- (void) registerMasterView: |
|
(id< IViewer >) |
iViewer |
forDataProviderAtIndex: |
|
(NSInteger) |
index |
|
|
| |
◆ registerMasterViewer:()
- (void) registerMasterViewer: |
|
(id< IViewer >) |
iViewer |
|
register view if the dataSet is not main data provider this is for the handleEvent method of the view
- Parameters
-
◆ registerViewer:()
- (void) registerViewer: |
|
(id< IViewer >) |
iViewer |
|
registerViewer: register viewer for main data provider users do not need to call this API
- Parameters
-
◆ reinit:()
◆ reInitDataModelIterator()
- (void) reInitDataModelIterator |
|
|
|
◆ reInitDataModels()
- (bool) reInitDataModels |
|
|
|
reInitDataModels refresh iterator and data model
- Returns
- true if success.
◆ reInitDataModelStruct()
- (bool) reInitDataModelStruct |
|
|
|
◆ secondaryDataProviderByType:andIndex:()
◆ secondaryDataProviderNodeKeys()
- (NSArray *) secondaryDataProviderNodeKeys |
|
|
|
◆ setImageViewer:withImage:()
+ (void) setImageViewer: |
|
(UIView *) |
viewer |
withImage: |
|
(UIImage *) |
image |
|
|
| |
set the right image for the viewer,only valid for MSIViewInPanelStackViewer_ImageViewer ,otherwise do nothing
- Parameters
-
the | viewer we want to set image for |
the | image we want to set |
◆ setInfoWindowPopup:()
- (void) setInfoWindowPopup: |
|
(BOOL) |
isInfoWindowPopup |
|
◆ setTextViewer:withText:()
+ (void) setTextViewer: |
|
(UIView *) |
viewer |
withText: |
|
(NSString *) |
text |
|
|
| |
set the right text for the viewer,only valid for MSIViewInPanelStackViewer_TextViewer ,otherwise do nothing
- Parameters
-
the | viewer we want to set text for |
the | text we want to set |
◆ setupHelper2:withCommander:withProps:()
- (id) setupHelper2: |
|
(DSSRWIterator *) |
_mpIterator |
withCommander: |
|
(Commander *) |
_commander |
withProps: |
|
(NSString *) |
_widgetProps |
|
|
| |
initHelper:withCommander:withProps: init method, users do not need to call it
- Parameters
-
(DSSRWIterator*)_mpIterator | |
_commander | the Commander obj |
_widgetProps | the widget properties |
- Returns
- MSIWidgetHelper obj
◆ setupPopoverContext:withFrame:()
- (void) setupPopoverContext: |
|
(UIView *) |
targetView |
withFrame: |
|
(CGRect) |
targetFrame |
|
|
| |
- Parameters
-
1 | : the targetView which the popOverView show on |
2 | : the frame popOver point to but not cover : show info window or change the posion of info window |
◆ unregisterMasterViewer:()
- (void) unregisterMasterViewer: |
|
(id< IViewer >) |
iViewer |
|
unregister view if you have called resisterMasterView:iViewer, you should call this API when iViewer dealloc
- Parameters
-
◆ validateLinkDrillCachedByAxisType:andOrdinal:andDepth:()
- (BOOL) validateLinkDrillCachedByAxisType: |
|
(AxisType) |
type |
andOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- :use validateLinkDrillCachedByAxisType:(AxisType)type andRowIndex:(int)row andColIndex:(int)col instead
◆ validateLinkDrillCachedByAxisType:andRowIndex:andColIndex:()
- (BOOL) validateLinkDrillCachedByAxisType: |
|
(AxisType) |
type |
andRowIndex: |
|
(int) |
row |
andColIndex: |
|
(int) |
col |
|
|
| |
- Returns
- :YES if cache of linkDrill exits in the cache,
◆ validateLinkDrillCachedOnMetricAtOrdinal:andDepth:()
- (BOOL) validateLinkDrillCachedOnMetricAtOrdinal: |
|
(int) |
iOrdinal |
andDepth: |
|
(int) |
iDepth |
|
|
| |
- Deprecated:
- :use validateLinkDrillCachedByAxisType:(AxisType)type andRowIndex:(int)row andColIndex:(int)col instead
◆ commander
◆ formatManager
◆ mpIterator
◆ selectionHelper
◆ viewerDataModel
◆ widgetProps
return the widget Properties, readonly.