MADataReportViewController

Description

The MADataReportViewController class is used to work with the report containing several different data views.

Inheritance Hierarchy

          NSObject

          UIResponder

          UIViewController

          MABaseReportViewController

          MADataReportViewController

Supported Protocols

<MADataViewControllerDelegate>

<MAMailComposerDelegate>

<NSCoding>

<UIAppearanceContainer>

<UIPopoverControllerDelegate>

Comments

The class is a base one for the following classes:

Properties

activeDataViewController. Current view controller.

dataViewControllers. Array of report view controllers.

hasSettingsController. Indicates whether settings bar exists.

reportActionsController. Report action controller.

reportSettingsController. Report setup controller.

selectedDataViewControllerIndex. Current view index.

showTitle. Indicates whether report title is displayed.

viewSettingsController. Current report view setup controller.

Properties inherited from MABaseReportViewController

canGeneratePDFContent. Determines whether a PDF file with report is created.

delegate. Determines the object that is used to work with report view controller.

isPopoverShown. Determines whether a popup window is displayed.

pdfContentTitle. Determines PDF file name.

reportTitle. Determines report title.

screenshot. Determines report contents screenshot.

waiterView. Sets modal window with report loading indicator.

Methods

createRightBarButtonItems. Creates an array of buttons for actions with report on title bar located on the right.

setDataViewControllerWithIndex:. Sets current view index.

Methods inherited from MABaseReportViewController

composeMail. Displays mailing window.

generatePDFWithCompletionBlock:. Saves report as PDF file.

hideActivityIndicator. Hides report loading indicator.

hidePopover. Hides the current popup window.

hideWaiter. Hides the modal window with report loading indicator.

initWithDelegate:. Initializes report.

loadState. Loads report state.

saveState. Saves report state.

showActivityIndicator. Displays the modal window with report loading indicator.

showInPopover:fromBarButtonItem:. Displays controller in the popup window from the specified element.

showInPopover:fromView:. Displays the controller in the popup window from the specified view.

showInPopover:fromView:inRect:permittedArrowDirections:. Displays the controller in the popup window from the specified view with the specified arrow direction.

showWaiterWithTitle:andMessage:. Displays the modal window with report loading indicator, specified title and message.

Methods inherited from <BaseSettingsDelegate>

historyUpdatedFromController. Refreshes controller view.

performSettingsAction:. Executes operation by key.

performSettingsAction:withParameter:. Executes operation by key with specified parameter.

setSettingsBoolValue:forKey:. Sets logical value for view parameter by key.

setSettingsDoubleValue:forKey:. Sets real value for view parameter by key.

setSettingsIntValue:forKey:. Sets integer value for view parameter by key.

setSettingsValue:forKey:. Sets value for view parameter by key.

settingsBoolValueForKey:. Returns logical value of view parameter by key.

settingsControlEnabledForKey:. Returns whether value of view parameter by key can be edited.

settingsControlVisibleForKey:. Returns whether edited value of view parameter by key is displayed.

settingsDoubleValueForKey:. Returns real value of view parameter by key.

settingsIconForKey:. Returns icon by key.

settingsIntValueForKey:. Returns integer value of view parameter by key.

settingsMaxValueForKey:. Returns maximum value of view parameter by key.

settingsMinValueForKey:. Returns minimum value of view parameter by key.

settingsTextForKey:withValue:. Returns text for view parameter value by key.

settingsValueForKey:. Returns view parameter value by key.

settingsValuesDictForKey:. Returns dictionary of possible pairs "text-value" for view parameter by key.

settingsValuesEnumForKey:. Returns value options of view parameter by key.

Methods inherited from <MADataViewControllerDelegate>

configurationForDataViewController:. Returns view controller settings dictionary.

dataViewController:availabilityUpdated:. Enables user interaction with controller.

dataViewController:showSettingsController:fromView:. Displays view settings menu.

dataViewControllerChangedSelection:. Refreshes the controller after changing data source selection.

dataViewControllerDidFinishCalculations:. Hides loading indicator after execution calculation.

dataViewControllerHideSettings:. Hides view settings menu.

dataViewControllerReadyForScreenshot:. Prepares the view for creating a screenshot.

dataViewControllerReloadTitle:. Refreshes view controller title.

dataViewControllerWillStartCalculations:. Displays loading indicator after before executing calculation.

setBarButtonItems:forDataViewController:. Sets array of buttons for view navigation bar.

setState:forDataViewController:. Saves view controller state.

stateForDataViewController:. Returns the saved view controller state.

Methods inherited from <MAMailComposerDelegate>

mailComposerFinishedWithSuccess. Informs the controller that email is successfully sent.

Static Methods

selectedIndex. Returns current view index.

See also:

Classes. The Mobile Application Component