<AGSPopupsContainer> Protocol Reference


Description

A protocol that needs to be adopted by an object wishes to serve as an AGSPopupsContainer.

See also:
AGSPopupsContainerViewController
Since:
2.0
Inheritance diagram for <AGSPopupsContainer>:
AGSPopupsContainerViewController

List of all members.

Public Member Functions

(UIBarButtonItem
*customActionButton) 
- __attribute__
(void) - clearAllPopups
(void) - showAdditionalPopups:
(void) - startEditingCurrentPopup

Properties

UIBarButtonItem * actionButton
UIView * actionSheetContainerView
AGSGeometrycurrentEditingGeometry
AGSPopupcurrentPopup
UIBarButtonItem * defaultActionButton
UIBarButtonItem * defaultDoneButton
id< AGSPopupsContainerDelegatedelegate
UIBarButtonItem * doneButton
AGSPopupsContainerEditingStyle editingStyle
BOOL inEditingMode
UIViewController * modalPresenter
NSArray * popups
AGSPopupsContainerStyle style
UIColor * styleColor

Member Function Documentation

- (UIBarButtonItem* customActionButton) __attribute__ ((deprecated))   

You can replace the button that appears on the right side of the Navigation Bar with a custom button through this property.

Since:
2.0
Deprecated:
Deprecated at 2.1. Please use actionButton instead.

Reimplemented in AGSPopupsContainerViewController.

- (void) clearAllPopups  

Clears all the popups currently being shown. This is useful if you want to cache a reference to the popups container so it doesn't have to reload from a NIB everytime it is shown.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.

- (void) showAdditionalPopups: (NSArray *)  popupInfos  

Popups view controller should show additional popups as defined by input.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.

- (void) startEditingCurrentPopup  

Method to start editing the currently displayed popup.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.


Property Documentation

- (UIBarButtonItem*) actionButton [read, write, retain]

You can replace the button that appears on the right side of the top bar of the container view with a custom button through this property. This button is only used when not in editing mode.

Since:
2.1

Reimplemented in AGSPopupsContainerViewController.

- (UIView*) actionSheetContainerView [read, write, assign]

The UIView that will act as a container for any UIActionSheet.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.

- (AGSGeometry*) currentEditingGeometry [read, retain]

When in edit mode and geometry editing is allowed, this property returns a mutable geometry that you can edit and when editing is finished, it will be set on the feature.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.

- (AGSPopup*) currentPopup [read, retain]

The current AGSPopup that is being viewed.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.

- (UIBarButtonItem*) defaultActionButton [read, retain]

The default action button that is shown.

Since:
2.1

Reimplemented in AGSPopupsContainerViewController.

- (UIBarButtonItem*) defaultDoneButton [read, retain]

The default done button that is shown.

Since:
2.1

Reimplemented in AGSPopupsContainerViewController.

- (id<AGSPopupsContainerDelegate>) delegate [read, write, required, assign]

The delegate.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.

- (UIBarButtonItem*) doneButton [read, write, retain]

You can replace the button that appears on the left side of the top bar of the container view with a custom button through this property. This button is only used when not in editing mode.

Since:
2.1

Reimplemented in AGSPopupsContainerViewController.

- (AGSPopupsContainerEditingStyle) editingStyle [read, write, assign]

The style that is used in the AGSPopupsContainer for editing.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.

- (BOOL) inEditingMode [read, assign]

Whether the AGSPopupsContainer is in a process of editing.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.

- (UIViewController*) modalPresenter [read, write, retain]

The UIViewController that should be used for presenting modal view controllers from within this AGSPopupsContainer. This is useful when using this view controller as a standalone object and when it's not part of a view controller hierarchy.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.

- (NSArray*) popups [read, write, retain]

Main data structure for supplying individual popupviewcontroller's their data

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.

- (AGSPopupsContainerStyle) style [read, write, assign]

The style for the AGSPopupsContainer.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.

- (UIColor*) styleColor [read, write, retain]

The UIColor that is used along with the style AGSPopupsContainerStyleCustomColor.

Since:
2.0

Reimplemented in AGSPopupsContainerViewController.