A view controller that manages an MOViewListView.
MOViewListViewController is a subclass of MOViewController that manages a MOViewListView. Each of its subcontrollers is an item in the view list view. MOViewListViewController ensures that a subcontroller's view is loaded only when its item in the view list view is first expanded.
allowsSubcontrollerDragging |
- ( BOOL ) allowsSubcontrollerDragging;
Returns whether the receiver allows item labels to be dragged. NO by default. If set to YES then item labels can be dragged from the view lst view. A dragged label's subcontroller is placed on the pasteboard using the MOViewControllerPboardType.
allowsSubcontrollerDropping |
- ( BOOL ) allowsSubcontrollerDropping;
Returns whether the receiver allows controllers to be dropped on it to create new subcontrollers. NO by default. If set to YES then controllers can be dragged onto the view list view to create new subcontrollers. Pasteboard content of MOViewControllerPboardType is accepted as a drag type.
backgroundColor |
- ( NSColor *) backgroundColor;
Returns the receiver's view's background color. Covers MOViewListView's backgroundColor method. By providing this convenience API MOViewListViewController also makes it possible to query this state without having to cause the view to be created if it is not yet needed. This state is saved and restored as part of the controller's geometry configuration.
controlSize |
- ( NSControlSize ) controlSize;
Returns the receiver's view's control size. Covers MOViewListView's controlSize method. By providing this convenience API MOViewListViewController also makes it possible to query this state without having to cause the view to be created if it is not yet needed. This state is saved and restored as part of the controller's geometry configuration.
delegate |
- ( id ) delegate;
Returns the receiver's delegate.
expandedItemsAreContentConfiguration |
- ( BOOL ) expandedItemsAreContentConfiguration;
Returns whether the expanded items are considered content configuration. By default, this is NO and the expanded items are considered geometry configuration.
labelBarAppearance |
- ( MOViewListViewLabelBarAppearance ) labelBarAppearance;
Returns the receiver's view's label bar appearance. Covers MOViewListView's labelBarAppearance method. By providing this convenience API MOViewListViewController also makes it possible to query this state without having to cause the view to be created if it is not yet needed. This state is saved and restored as part of the controller's geometry configuration.
- scheme
- The appearance type constant.
scrollView |
- ( NSScrollView *) scrollView;
Returns the receiver's NSScrollView. This method will cause the view to be loaded if necessary.
setAllowsSubcontrollerDragging: |
- ( void ) setAllowsSubcontrollerDragging: (BOOL ) flag;
Sets whether the receiver allows item labels to be dragged. NO by default. If set to YES then item labels can be dragged from the view lst view. A dragged label's subcontroller is placed on the pasteboard using the MOViewControllerPboardType.
- flag
- Whether the receiver allows item labels to be dragged.
setAllowsSubcontrollerDropping: |
- ( void ) setAllowsSubcontrollerDropping: (BOOL ) flag;
Sets whether the receiver allows controllers to be dropped on it to create new subcontrollers. NO by default. If set to YES then controllers can be dragged onto the view list view to create new subcontrollers. Pasteboard content of MOViewControllerPboardType is accepted as a drag type. A MOViewListViewController may still accept drops of things other than controllers on or between its labels without this being set to YES.
- flag
- Whether the receiver allows controllers to be dropped on it to create new subcontrollers.
setBackgroundColor: |
- ( void ) setBackgroundColor: (NSColor *) color;
Sets the receiver's view's background color. Covers MOViewListView's setBackgroundColor: method. By providing this convenience API MOViewListViewController also makes it possible to set this state without having to cause the view to be created if it is not yet needed. This state is saved and restored as part of the controller's geometry configuration.
- color
- The background color.
setControlSize: |
- ( void ) setControlSize: (NSControlSize ) size;
Sets the receiver's view's control size. Covers MOViewListView's setControlSize: method. By providing this convenience API MOViewListViewController also makes it possible to set this state without having to cause the view to be created if it is not yet needed. This state is saved and restored as part of the controller's geometry configuration.
- size
- The control size.
setDelegate: |
- ( void ) setDelegate: (id ) delegate;
Sets the receiver's delegate.
- delegate
- The delegate.
setExpandedItemsAreContentConfiguration: |
- ( void ) setExpandedItemsAreContentConfiguration: (BOOL ) flag;
Sets whether the expanded items are considered content configuration. By default, this is NO and the expanded items are considered geometry configuration. If the set of items that the receiver manages is based somehow on the data content it is displaying, this API can be used to make the MOViewListViewController save that state as content configuration.
- flag
- Whether the expanded items are considered content configuration.
setLabelBarAppearance: |
- ( void ) setLabelBarAppearance: (MOViewListViewLabelBarAppearance ) labelBarAppearance;
Sets the receiver's view's label bar appearance. Covers MOViewListView's setLabelBarAppearance: method. By providing this convenience API MOViewListViewController also makes it possible to set this state without having to cause the view to be created if it is not yet needed. This state is saved and restored as part of the controller's geometry configuration.
- scheme
- The appearance type constant.
viewListView |
- ( MOViewListView *) viewListView;
Returns the receiver's MOViewListView. This method will cause the view to be loaded if necessary.
(Last Updated 3/20/2005)