This object bundles up a set of parameters and ships them off to TTBasicNavigator's openURLAction method. More...

#import <TTURLAction.h>

Inheritance diagram for TTURLAction:
NSObject

List of all members.

Public Member Functions

(id) - initWithURLPath:
 Initialize a TTURLAction object with a URL path.
(id) - init
(TTURLAction *) - applyParentURLPath:
 nil
(TTURLAction *) - applyQuery:
 nil
(TTURLAction *) - applyState:
 nil
(TTURLAction *) - applyAnimated:
 NO
(TTURLAction *) - applyWithDelay:
 NO
(TTURLAction *) - applySourceRect:
 CGRectZero
(TTURLAction *) - applySourceView:
 nil
(TTURLAction *) - applySourceButton:
 nil
(TTURLAction *) - applyTransition:
 UIViewAnimationTransitionNone

Static Public Member Functions

(id) + action
 Create an autoreleased TTURLAction object.
(id) + actionWithURLPath:
 Create an autoreleased TTURLAction object with a URL path.

Protected Attributes

NSString_urlPath
NSString_parentURLPath
NSDictionary_query
NSDictionary_state
BOOL _animated
BOOL _withDelay
CGRect _sourceRect
UIView_sourceView
UIBarButtonItem * _sourceButton
UIViewAnimationTransition _transition

Properties

NSStringurlPath
NSStringparentURLPath
NSDictionaryquery
NSDictionarystate
BOOL animated
BOOL withDelay
CGRect sourceRect
UIViewsourceView
UIBarButtonItem * sourceButton
UIViewAnimationTransition transition

Detailed Description

This object bundles up a set of parameters and ships them off to TTBasicNavigator's openURLAction method.

This object is designed with the chaining principle in mind. Once you've created a TTURLAction object, you can apply any other property to the object via the apply* methods. Each of these methods returns self, allowing you to chain them.

Example: [[TTURLAction actionWithURLPath:"tt://some/path"] applyAnimated:YES]; Create an autoreleased URL action object with the path @"tt://some/path" that is animated.

For the default values, see the apply method documentation below.


Member Function Documentation

- (id) initWithURLPath: (NSString*)  urlPath  

Initialize a TTURLAction object with a URL path.

Designated initializer.


The documentation for this class was generated from the following files:
  • Three20UINavigator/Headers/TTURLAction.h
  • Three20UINavigator/Sources/TTURLAction.m
blog comments powered by Disqus