C# Class Praeclarum.UI.DocumentsViewController

Inheritance: UIViewController, IUIViewControllerPreviewingDelegate
Show file Open project: praeclarum/Praeclarum Class Usage Examples

Private Properties

Property Type Description
BindEditorAsync System.Threading.Tasks.Task
GetModifiedTimeAsync DateTime>>.Task
GetSelectedFiles IFile[]
HandleAction void
HandleAdd void
HandleCancelSelection void
HandleDelete void
HandleDone void
HandleDuplicate void
HandleLamda void
HandleLongPress void
HandleMove void
HandlePatron void
HandleRenameRequested void
HandleSelectedDocumentsChanged void
HandleSortChanged void
HandleStorage void
HandleTitleTap void
LoadDocsUnsafe System.Threading.Tasks.Task
PerformActionOnDocument System.Threading.Tasks.Task
RefreshListTimes void
Rename System.Threading.Tasks.Task
SetEditingNavItems void
SetNormalNav void
SetNormalNavItems void
SetSelecting void
SetSelectingNavItems void
SetSpecialNav void
SetTitle void
ShowSyncError void
SwitchToMode void
UpdateEditingForSelection void

Public Methods

Method Description
CommitViewController ( IUIViewControllerPreviewing previewingContext, UIViewController viewControllerToCommit ) : void
DocumentsViewController ( string directory, DocumentsViewMode viewMode ) : System
GetViewControllerForPreview ( IUIViewControllerPreviewing previewingContext, CoreGraphics location ) : UIViewController
InsertDocument ( int docIndex, DocumentReference dr ) : void
LoadDocs ( ) : System.Threading.Tasks.Task
LoadFolders ( ) : System.Threading.Tasks.Task
PreferredStatusBarStyle ( ) : UIStatusBarStyle
RemoveDocuments ( string paths, bool animated ) : void
SetEditing ( bool editing, bool animated ) : void
SetOpenedDocument ( int docIndex, bool animated ) : void
UpdateDocument ( int docIndex ) : void
ViewDidAppear ( bool animated ) : void
ViewDidLoad ( ) : void
ViewWillAppear ( bool animated ) : void
ViewWillDisappear ( bool animated ) : void
WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void

Protected Methods

Method Description
ReloadData ( ) : void
UpdateToolbar ( bool animated ) : void
WhenViewLoaded ( System.Action action ) : void

Private Methods

Method Description
BindEditorAsync ( IDocumentEditor newEditor ) : System.Threading.Tasks.Task
GetModifiedTimeAsync ( IFile file ) : DateTime>>.Task
GetSelectedFiles ( ) : IFile[]
HandleAction ( object sender, EventArgs e ) : void
HandleAdd ( object sender, EventArgs e ) : void
HandleCancelSelection ( object sender, EventArgs e ) : void
HandleDelete ( object sender, EventArgs e ) : void
HandleDone ( object sender, EventArgs e ) : void
HandleDuplicate ( object sender, EventArgs e ) : void
HandleLamda ( object sender, EventArgs e ) : void
HandleLongPress ( UILongPressGestureRecognizer gestureRecognizer ) : void
HandleMove ( object sender, EventArgs e ) : void
HandlePatron ( object sender, EventArgs e ) : void
HandleRenameRequested ( DocumentReference docRef, object arg2 ) : void
HandleSelectedDocumentsChanged ( object sender, System e ) : void
HandleSortChanged ( object sender, EventArgs e ) : void
HandleStorage ( object sender, EventArgs e ) : void
HandleTitleTap ( object sender, EventArgs e ) : void
LoadDocsUnsafe ( ) : System.Threading.Tasks.Task
PerformActionOnDocument ( string filePath ) : System.Threading.Tasks.Task
RefreshListTimes ( NSTimer timer ) : void
Rename ( DocumentReference docRef, string newName ) : System.Threading.Tasks.Task
SetEditingNavItems ( bool animated ) : void
SetNormalNav ( bool animated ) : void
SetNormalNavItems ( bool animated ) : void
SetSelecting ( bool selecting, bool animated ) : void
SetSelectingNavItems ( bool animated ) : void
SetSpecialNav ( bool animated ) : void
SetTitle ( ) : void
ShowSyncError ( ) : void
SwitchToMode ( bool animated ) : void
UpdateEditingForSelection ( ) : void

Method Details

CommitViewController() public method

public CommitViewController ( IUIViewControllerPreviewing previewingContext, UIViewController viewControllerToCommit ) : void
previewingContext IUIViewControllerPreviewing
viewControllerToCommit UIViewController
return void

DocumentsViewController() public method

public DocumentsViewController ( string directory, DocumentsViewMode viewMode ) : System
directory string
viewMode DocumentsViewMode
return System

GetViewControllerForPreview() public method

public GetViewControllerForPreview ( IUIViewControllerPreviewing previewingContext, CoreGraphics location ) : UIViewController
previewingContext IUIViewControllerPreviewing
location CoreGraphics
return UIViewController

InsertDocument() public method

public InsertDocument ( int docIndex, DocumentReference dr ) : void
docIndex int
dr Praeclarum.App.DocumentReference
return void

LoadDocs() public method

public LoadDocs ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

LoadFolders() public method

public LoadFolders ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

PreferredStatusBarStyle() public method

public PreferredStatusBarStyle ( ) : UIStatusBarStyle
return UIStatusBarStyle

ReloadData() protected method

protected ReloadData ( ) : void
return void

RemoveDocuments() public method

public RemoveDocuments ( string paths, bool animated ) : void
paths string
animated bool
return void

SetEditing() public method

public SetEditing ( bool editing, bool animated ) : void
editing bool
animated bool
return void

SetOpenedDocument() public method

public SetOpenedDocument ( int docIndex, bool animated ) : void
docIndex int
animated bool
return void

UpdateDocument() public method

public UpdateDocument ( int docIndex ) : void
docIndex int
return void

UpdateToolbar() protected method

protected UpdateToolbar ( bool animated ) : void
animated bool
return void

ViewDidAppear() public method

public ViewDidAppear ( bool animated ) : void
animated bool
return void

ViewDidLoad() public method

public ViewDidLoad ( ) : void
return void

ViewWillAppear() public method

public ViewWillAppear ( bool animated ) : void
animated bool
return void

ViewWillDisappear() public method

public ViewWillDisappear ( bool animated ) : void
animated bool
return void

WhenViewLoaded() protected method

protected WhenViewLoaded ( System.Action action ) : void
action System.Action
return void

WillRotate() public method

public WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void
toInterfaceOrientation UIInterfaceOrientation
duration double
return void