MOSplitViewController


Abstract

A view controller that manages an NSSplitView.

Discussion

MOSplitViewController is a subclass of MOViewController that manages an NSSplitView. Each of its subcontrollers is a split in the split view. MOSplitViewController manages installing and uninstalling its subcontrollers' views as they are added and removed.



Methods

splitView
Returns the receiver's NSSplitView.
setVertical:
Sets whether the split view is vertical.
isVertical
Returns whether the split view is vertical.
setPaneSplitter:
Sets whether the split view is a pane splitter.
isPaneSplitter
Returns whether the split view is a pane splitter.

isPaneSplitter

Returns whether the split view is a pane splitter.
- ( BOOL ) isPaneSplitter;

Returns whether the split view is a pane splitter. Covers NSSplitView's isPaneSplitter: method. By providing this convenience API MOSplitViewController 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
Whether the split view is a pane splitter.

isVertical

Returns whether the split view is vertical.
- ( BOOL ) isVertical;

Returns whether the split view is vertical. Covers NSSplitView's isVertical: method. By providing this convenience API MOSplitViewController 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
Whether the split view is vertical.

setPaneSplitter:

Sets whether the split view is a pane splitter.
- ( void ) setPaneSplitter:
        (BOOL ) flag;

Sets whether the split view is a pane splitter. Covers NSSplitView's setIsPaneSplitter: method. By providing this convenience API MOSplitViewController 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
flag
Whether the split view is a pane splitter.

setVertical:

Sets whether the split view is vertical.
- ( void ) setVertical:
        (BOOL ) flag;

Sets whether the split view is vertical. Covers NSSplitView's setVertical: method. By providing this convenience API MOSplitViewController 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
flag
Whether the split view is vertical.

splitView

Returns the receiver's NSSplitView.
- ( NSSplitView *) splitView;

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

method result
The NSSplitView.

(Last Updated 3/20/2005)