Methods


tabViewItemClass
Returns the subclass of NSTabViewItem to use.
tabView
Returns the receiver's NSTabView.
indexOfSelectedSubcontroller
Returns the index of the selected subcontroller.
selectSubcontrollerAtIndex:
Selects the subcontroller at the given index, making it the active tab.
selectedSubcontroller
Returns the subcontroller for the selected tab
selectSubcontroller:
Selects the given subcontroller, making it the active tab.
allowsSubcontrollerDragging
Returns whether the receiver allows tabs to be dragged.
setAllowsSubcontrollerDragging:
Sets whether the receiver allows tabs to be dragged.
allowsSubcontrollerDropping
Returns whether the receiver allows controllers to be dropped on it to create new tabs.
setAllowsSubcontrollerDropping:
Sets whether the receiver allows controllers to be dropped on it to create new tabs.
selectedTabIsContentConfiguration
Returns whether the selected tab is considered content configuration.
setSelectedTabIsContentConfiguration:
Sets whether the selected tab is considered content configuration.
font
Returns the receiver's view's font.
setFont:
Sets the receiver's view's font.
tabViewType
Returns the receiver's view's tabViewType.
setTabViewType:
Sets the receiver's view's tabViewType.
allowsTruncatedLabels
Returns the receiver's view's allowsTruncatedLabels.
setAllowsTruncatedLabels:
Sets the receiver's view's allowsTruncatedLabels.
drawsBackground
Returns the receiver's view's drawsBackground.
setDrawsBackground:
Sets the receiver's view's drawsBackground.
controlTint
Returns the receiver's view's controlTint.
setControlTint:
Sets the receiver's view's controlTint.
controlSize
Returns the receiver's view's controlSize.
setControlSize:
Sets the receiver's view's controlSize.
delegate
Returns the receiver's delegate.
setDelegate:
Sets the receiver's delegate.

allowsSubcontrollerDragging

Returns whether the receiver allows tabs to be dragged.
- ( BOOL ) allowsSubcontrollerDragging;

Returns whether the receiver allows tabs to be dragged. NO by default. If set to YES then tabs can be dragged off the tab bar. A dragged tab's subcontroller is placed on the pasteboard using the MOViewControllerPboardType.

method result
Whether the receiver allows tabs to be dragged.

allowsSubcontrollerDropping

Returns whether the receiver allows controllers to be dropped on it to create new tabs.
- ( BOOL ) allowsSubcontrollerDropping;

Returns whether the receiver allows controllers to be dropped on it to create new tabs. NO by default. If set to YES then controllers can be dragged onto the tab bar to create new tabs. 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.

allowsTruncatedLabels

Returns the receiver's view's allowsTruncatedLabels.
- ( BOOL ) allowsTruncatedLabels;

Returns the receiver's view's allowsTruncatedLabels. Covers NSTabView's allowsTruncatedLabels method. By providing this convenience API MOTabViewController 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 receiver's allowsTruncatedLabels.

controlSize

Returns the receiver's view's controlSize.
- ( NSControlSize ) controlSize;

Returns the receiver's view's controlSize. Covers NSTabView's controlSize method. By providing this convenience API MOTabViewController 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 receiver's controlSize.

controlTint

Returns the receiver's view's controlTint.
- ( NSControlTint ) controlTint;

Returns the receiver's view's controlTint. Covers NSTabView's controlTint method. By providing this convenience API MOTabViewController 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 receiver's controlTint.

delegate

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

Returns the receiver's delegate.

method result
The delegate.

drawsBackground

Returns the receiver's view's drawsBackground.
- ( BOOL ) drawsBackground;

Returns the receiver's view's drawsBackground. Covers NSTabView's drawsBackground method. By providing this convenience API MOTabViewController 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 receiver's drawsBackground.

font

Returns the receiver's view's font.
- ( NSFont *) font;

Returns the receiver's view's font. Covers NSTabView's font method. By providing this convenience API MOTabViewController also makes it possible to query this state without having to cause the view to be created if it is not yet needed.

method result
The receiver's font.

indexOfSelectedSubcontroller

Returns the index of the selected subcontroller.
- ( int ) indexOfSelectedSubcontroller;

Returns the index of the selected subcontroller. This method does NOT cause the view to be loaded if it is not already.

method result
The index of the selected subcontroller.

selectSubcontroller:

Selects the given subcontroller, making it the active tab.
- ( void ) selectSubcontroller:
        (MOViewController *) subcontroller;

Selects the given subcontroller, making it the active tab. This method does NOT cause the view to be loaded if it is not already.

Parameter Descriptions
subcontroller
The subcontroller.

selectSubcontrollerAtIndex:

Selects the subcontroller at the given index, making it the active tab.
- ( void ) selectSubcontrollerAtIndex:
        (int ) selIndex;

Selects the subcontroller at the given index, making it the active tab. This method does NOT cause the view to be loaded if it is not already.

Parameter Descriptions
selIndex
The index.

selectedSubcontroller

Returns the subcontroller for the selected tab
- ( id ) selectedSubcontroller;

Returns the subcontroller for the selected tab. This method does NOT cause the view to be loaded if it is not already.

method result
The subcontroller.

selectedTabIsContentConfiguration

Returns whether the selected tab is considered content configuration.
- ( BOOL ) selectedTabIsContentConfiguration;

Returns whether the selected tab is considered content configuration. By default, this is NO and the selected tab is considered geometry configuration.

method result
Whether the selected tab is considered content configuration.

setAllowsSubcontrollerDragging:

Sets whether the receiver allows tabs to be dragged.
- ( void ) setAllowsSubcontrollerDragging:
        (BOOL ) flag;

Sets whether the receiver allows tabs to be dragged. NO by default. If set to YES then tabs can be dragged off the tab bar. A dragged tab's subcontroller is placed on the pasteboard using the MOViewControllerPboardType.

Parameter Descriptions
flag
Whether the receiver allows tabs to be dragged.

setAllowsSubcontrollerDropping:

Sets whether the receiver allows controllers to be dropped on it to create new tabs.
- ( void ) setAllowsSubcontrollerDropping:
        (BOOL ) flag;

Sets whether the receiver allows controllers to be dropped on it to create new tabs. NO by default. If set to YES then controllers can be dragged onto the tab bar to create new tabs. Pasteboard content of MOViewControllerPboardType is accepted as a drag type. A MOTabViewController may still accept drops of things other than controllers on or between its tabs without this being set to YES.

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

setAllowsTruncatedLabels:

Sets the receiver's view's allowsTruncatedLabels.
- ( void ) setAllowsTruncatedLabels:
        (BOOL ) flag;

Sets the receiver's view's allowsTruncatedLabels. Covers NSTabView's setAllowsTruncatedLabels: method. By providing this convenience API MOTabViewController 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
The allowsTruncatedLabels.

setControlSize:

Sets the receiver's view's controlSize.
- ( void ) setControlSize:
        (NSControlSize ) controlSize;

Sets the receiver's view's controlSize. Covers NSTabView's setControlSize: method. By providing this convenience API MOTabViewController 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
controlSize
The controlSize.

setControlTint:

Sets the receiver's view's controlTint.
- ( void ) setControlTint:
        (NSControlTint ) controlTint;

Sets the receiver's view's controlTint. Covers NSTabView's setControlTint: method. By providing this convenience API MOTabViewController 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
controlTint
The controlTint.

setDelegate:

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

Sets the receiver's delegate.

Parameter Descriptions
delegate
The delegate.

setDrawsBackground:

Sets the receiver's view's drawsBackground.
- ( void ) setDrawsBackground:
        (BOOL ) flag;

Sets the receiver's view's drawsBackground. Covers NSTabView's setDrawsBackground: method. By providing this convenience API MOTabViewController 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
The drawsBackground.

setFont:

Sets the receiver's view's font.
- ( void ) setFont:
        (NSFont *) font;

Sets the receiver's view's font. Covers NSTabView's setFont: method. By providing this convenience API MOTabViewController 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
font
The font.

setSelectedTabIsContentConfiguration:

Sets whether the selected tab is considered content configuration.
- ( void ) setSelectedTabIsContentConfiguration:
        (BOOL ) flag;

Sets whether the selected tab is considered content configuration. By default, this is NO and the selected tab is considered geometry configuration. If the set of tabs that the receiver manages is based somehow on the data content it is displaying, this API can be used to make the MOTabViewController save that state as content configuration.

Parameter Descriptions
flag
Whether the selected tab is considered content configuration.

setTabViewType:

Sets the receiver's view's tabViewType.
- ( void ) setTabViewType:
        (NSTabViewType ) tabViewType;

Sets the receiver's view's tabViewType. Covers NSTabView's setTabViewType: method. By providing this convenience API MOTabViewController 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
tabViewType
The tabViewType.

tabView

Returns the receiver's NSTabView.
- ( id ) tabView;

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

method result
The NSTabView.

tabViewItemClass

Returns the subclass of NSTabViewItem to use.
+ ( Class ) tabViewItemClass;

Returns the subclass of NSTabViewItem to use. MOTabViewController manages the tab view items of its tab view. This method is provided in case a subclass wants to use a subclass of NSTabViewItem. The default return value of this method is [NSTabViewItem class].

method result
The subclass of NSTabViewItem to use.

tabViewType

Returns the receiver's view's tabViewType.
- ( NSTabViewType ) tabViewType;

Returns the receiver's view's tabViewType. Covers NSTabView's tabViewType method. By providing this convenience API MOTabViewController 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 receiver's tabViewType.

(Last Updated 3/20/2005)