Package caldavclientlibrary :: Package ui :: Module WebDAVBrowser :: Class WebDAVBrowserDelegate
[hide private]
[frames] | no frames]

Class WebDAVBrowserDelegate

source code

PyObjCTools.NibClassBuilder.AutoBaseClass --+
                                            |
                                           WebDAVBrowserDelegate

Class defined in NIB file. This acts as the delegate and responder for the various NSViews and toolbar items. It basically our controller.

Instance Methods [hide private]
 
awakeFromNib(self) source code
 
createToolbar(self)
Create the toolbar for our app.
source code
 
createToolbarItems(self)
Create the toolbar item and define the default and allowed set.
source code
 
toolbarDefaultItemIdentifiers_(self, anIdentifier)
Return the default set of toolbar items.
source code
 
toolbarAllowedItemIdentifiers_(self, anIdentifier)
Return the allowed set of toolbar items.
source code
 
toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar_(self, toolbar, itemIdentifier, flag)
Delegate method fired when the toolbar is about to insert an item into the toolbar.
source code
 
setBrowserView(self, view)
Change the browser view pane to the specified list type.
source code
 
changeBrowserView_(self, sender)
User clicked a browser toolbar button.
source code
 
setDataView(self, view)
Change the data view pane to the specified type.
source code
 
changeDataView_(self, sender)
User clicked a view toolbar button.
source code
 
resetServer_(self, sender)
Display the sheet asking for server details.
source code
 
refreshData_(self, sender)
Force a refresh of the data for the current selected resource.
source code
 
refreshView(self)
Refresh the actual data view for the selected resource.
source code
 
startupOKAction_(self, btn)
User clicked OK in the server setup sheet.
source code
 
startupCancelAction_(self, btn)
User clicked the cancel button in the server sheet.
source code
 
browserAction_(self, browser)
Something changed in the column browser.
source code
 
browser_willDisplayCell_atRow_column_(self, browser, cell, row, col)
Delegate method to set the actual stuff displayed in a column view row.
source code
 
browser_numberOfRowsInColumn_(self, browser, col)
Delegate method that returns the number of rows in a column view column.
source code
 
outlineViewSelectionDidChange_(self, notification)
Delegate method called when the selection in the outline view changes.
source code
 
outlineView_numberOfChildrenOfItem_(self, outlineView, item)
Delegate method to return the number of children of an item in the outline view.
source code
 
outlineView_isItemExpandable_(self, outlineView, item)
Delegate method to return the whether an item in the outline view is expandable.
source code
 
outlineView_child_ofItem_(self, outlineView, index, item)
Delegate method to return the item associated with a row in the outline view.
source code
 
outlineView_objectValueForTableColumn_byItem_(self, outlineView, tableColumn, item)
Delegate method to return the data displayed in the outline view.
source code
 
tableAction_(self, table)
Called when the selection in the properties list changes.
source code
 
numberOfRowsInTableView_(self, tableView)
Delegate method to return the number of rows in the list.
source code
 
tableView_objectValueForTableColumn_row_(self, tableView, col, row)
Delegate method to return the text for a list cell.
source code
 
tableView_shouldEditTableColumn_row_(self, tableView, col, row)
Delegate method to indicate whether a cell can be edited.
source code
 
propValueToText(self, value)
Do a sensible print of a property value taking type into account.
source code
Class Variables [hide private]
  list = objc.IBOutlet()
  listView = objc.IBOutlet()
  mainSplitterView = objc.IBOutlet()
  passwordText = objc.IBOutlet()
  pathLabel = objc.IBOutlet()
  pathText = objc.IBOutlet()
  progress = objc.IBOutlet()
  propertiesView = objc.IBOutlet()
  serverText = objc.IBOutlet()
  startupSheet = objc.IBOutlet()
  table = objc.IBOutlet()
  text = objc.IBOutlet()
  toolbarBrowserViewButton = objc.IBOutlet()
  toolbarDataViewButton = objc.IBOutlet()
  userText = objc.IBOutlet()
  webView = objc.IBOutlet()
  window = objc.IBOutlet()
  browser = objc.IBOutlet()
  columnView = objc.IBOutlet()
  dataView = objc.IBOutlet()
  BROWSERVIEW_COLUMNS = 0
  BROWSERVIEW_LIST = 1
  DATAVIEW_PROPERTIES = 0
  DATAVIEW_DATA = 1
  selectedDetails = None
Method Details [hide private]

toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar_(self, toolbar, itemIdentifier, flag)

source code 

Delegate method fired when the toolbar is about to insert an item into the toolbar. Item is identified by itemIdentifier.

Effectively makes a copy of the cached reference instance of the toolbar item identified by itemIdentifier.

changeBrowserView_(self, sender)

source code 

User clicked a browser toolbar button.

Decorators:
  • @objc.IBAction

changeDataView_(self, sender)

source code 

User clicked a view toolbar button.

Decorators:
  • @objc.IBAction

resetServer_(self, sender)

source code 

Display the sheet asking for server details.

Decorators:
  • @objc.IBAction

startupOKAction_(self, btn)

source code 

User clicked OK in the server setup sheet.

Decorators:
  • @objc.IBAction

startupCancelAction_(self, btn)

source code 

User clicked the cancel button in the server sheet.

Decorators:
  • @objc.IBAction

browserAction_(self, browser)

source code 

Something changed in the column browser.

Decorators:
  • @objc.IBAction

tableAction_(self, table)

source code 

Called when the selection in the properties list changes.

Decorators:
  • @objc.IBAction

numberOfRowsInTableView_(self, tableView)

source code 

Delegate method to return the number of rows in the list.

Parameters:
  • tableView ()