Methods


viewListView
Returns the receiver's MOViewListView.
scrollView
Returns the receiver's NSScrollView.
allowsSubcontrollerDragging
Returns whether the receiver allows item labels to be dragged.
setAllowsSubcontrollerDragging:
Sets whether the receiver allows item labels to be dragged.
allowsSubcontrollerDropping
Returns whether the receiver allows controllers to be dropped on it to create new subcontrollers.
setAllowsSubcontrollerDropping:
Sets whether the receiver allows controllers to be dropped on it to create new subcontrollers.
expandedItemsAreContentConfiguration
Returns whether the expanded items are considered content configuration.
setExpandedItemsAreContentConfiguration:
Sets whether the expanded items are considered content configuration.
setControlSize:
Sets the receiver's view's control size.
controlSize
Returns the receiver's view's control size.
setLabelBarAppearance:
Sets the receiver's view's label bar appearance.
labelBarAppearance
Returns the receiver's view's label bar appearance.
setBackgroundColor:
Sets the receiver's view's background color.
backgroundColor
Returns the receiver's view's background color.
delegate
Returns the receiver's delegate.
setDelegate:
Sets the receiver's delegate.

allowsSubcontrollerDragging

Returns whether the receiver allows item labels to be dragged.
- ( 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.

method result
Whether the receiver allows item labels to be dragged.

allowsSubcontrollerDropping

Returns whether the receiver allows controllers to be dropped on it to create new subcontrollers.
- ( 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.

method result
Whether the receiver allows controllers to be dropped on it to create new tabs.

backgroundColor

Returns the receiver's view's background color.
- ( 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.

method result
The background color.

controlSize

Returns the receiver's view's control size.
- ( 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.

method result
The control size.

delegate

Returns the receiver's delegate.
- ( id ) delegate;

Returns the receiver's delegate.

method result
The delegate.

expandedItemsAreContentConfiguration

Returns whether the expanded items are considered content configuration.
- ( BOOL ) expandedItemsAreContentConfiguration;

Returns whether the expanded items are considered content configuration. By default, this is NO and the expanded items are considered geometry configuration.

method result
Whether the expanded items are considered content configuration.

labelBarAppearance

Returns the receiver's view's label bar appearance.
- ( 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.

Parameter Descriptions
scheme
The appearance type constant.

scrollView

Returns the receiver's NSScrollView.
- ( NSScrollView *) scrollView;

Returns the receiver's NSScrollView. This method will cause the view to be loaded if necessary.

method result
The NSScrollView.

setAllowsSubcontrollerDragging:

Sets whether the receiver allows item labels to be dragged.
- ( 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.

Parameter Descriptions
flag
Whether the receiver allows item labels to be dragged.

setAllowsSubcontrollerDropping:

Sets whether the receiver allows controllers to be dropped on it to create new subcontrollers.
- ( 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.

Parameter Descriptions
flag
Whether the receiver allows controllers to be dropped on it to create new subcontrollers.

setBackgroundColor:

Sets the receiver's view's background color.
- ( 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.

Parameter Descriptions
color
The background color.

setControlSize:

Sets the receiver's view's control size.
- ( 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.

Parameter Descriptions
size
The control size.

setDelegate:

Sets the receiver's delegate.
- ( void ) setDelegate:
        (id ) delegate;

Sets the receiver's delegate.

Parameter Descriptions
delegate
The delegate.

setExpandedItemsAreContentConfiguration:

Sets whether the expanded items are considered content configuration.
- ( 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.

Parameter Descriptions
flag
Whether the expanded items are considered content configuration.

setLabelBarAppearance:

Sets the receiver's view's label bar appearance.
- ( 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.

Parameter Descriptions
scheme
The appearance type constant.

viewListView

Returns the receiver's MOViewListView.
- ( MOViewListView *) viewListView;

Returns the receiver's MOViewListView. This method will cause the view to be loaded if necessary.

method result
The MOViewListView.

(Last Updated 3/20/2005)