API  0.9.10
CPSplitView.j File Reference
#include "../Foundation/Foundation.h"
+ Include dependency graph for CPSplitView.j:

Go to the source code of this file.

Classes

protocol  <CPSplitViewDelegate >
 

Macros

#define SPLIT_VIEW_DID_SUPPRESS_RESIZE_NOTIFICATION()   ((_suppressResizeNotificationsMask & DidSuppressResizeNotification) !== 0)
 
#define SPLIT_VIEW_MAYBE_POST_DID_RESIZE()
 
#define SPLIT_VIEW_MAYBE_POST_WILL_RESIZE()
 
#define SPLIT_VIEW_SUPPRESS_RESIZE_NOTIFICATIONS(shouldSuppress)
 

Variables

var CPSplitViewAutosaveNameKey = "CPSplitViewAutosaveNameKey"
 
var CPSplitViewButtonBarsKey = "CPSplitViewButtonBarsKey"
 
var CPSplitViewDelegate_splitView_additionalEffectiveRectOfDividerAtIndex_ = 1 << 3
 
var CPSplitViewDelegate_splitView_canCollapseSubview_ = 1 << 0
 
var CPSplitViewDelegate_splitView_constrainMaxCoordinate_ofSubviewAt_ = 1 << 5
 
var CPSplitViewDelegate_splitView_constrainMinCoordinate_ofSubviewAt_ = 1 << 6
 
var CPSplitViewDelegate_splitView_constrainSplitPosition_ofSubviewAt_ = 1 << 7
 
var CPSplitViewDelegate_splitView_effectiveRect_forDrawnRect_ofDividerAtIndex_ = 1 << 4
 
var CPSplitViewDelegate_splitView_resizeSubviewsWithOldSize_ = 1 << 8
 
var CPSplitViewDelegate_splitView_shouldAdjustSizeOfSubview_ = 1 << 1
 
var CPSplitViewDelegate_splitView_shouldCollapseSubview_forDoubleClickOnDividerAtIndex_ = 1 << 2
 
var CPSplitViewDelegate_splitViewDidResizeSubviews_ = 1 << 9
 
var CPSplitViewDelegate_splitViewWillResizeSubviews_ = 1 << 10
 
var CPSplitViewDelegateKey = "CPSplitViewDelegateKey"
 
 CPSplitViewDidResizeSubviewsNotification = @"@"CPSplitViewDidResizeSubviewsNotification"
 
var CPSplitViewIsPaneSplitterKey = "CPSplitViewIsPaneSplitterKey"
 
var CPSplitViewIsVerticalKey = "CPSplitViewIsVerticalKey"
 
 CPSplitViewWillResizeSubviewsNotification = @"@"CPSplitViewWillResizeSubviewsNotification"
 
var DidPostWillResizeNotification = 1 << 1
 
var DidSuppressResizeNotification = 1 << 2
 
var ShouldSuppressResizeNotifications = 1
 

Macro Definition Documentation

◆ SPLIT_VIEW_DID_SUPPRESS_RESIZE_NOTIFICATION

#define SPLIT_VIEW_DID_SUPPRESS_RESIZE_NOTIFICATION ( )    ((_suppressResizeNotificationsMask & DidSuppressResizeNotification) !== 0)

Definition at line 70 of file CPSplitView.j.

◆ SPLIT_VIEW_MAYBE_POST_DID_RESIZE

#define SPLIT_VIEW_MAYBE_POST_DID_RESIZE ( )
Value:
if ((_suppressResizeNotificationsMask & ShouldSuppressResizeNotifications) !== 0) \
_suppressResizeNotificationsMask |= DidSuppressResizeNotification; \
else \
[self _postNotificationDidResize];
var DidSuppressResizeNotification
Definition: CPSplitView.j:84
var ShouldSuppressResizeNotifications
Definition: CPSplitView.j:82

Definition at line 64 of file CPSplitView.j.

◆ SPLIT_VIEW_MAYBE_POST_WILL_RESIZE

#define SPLIT_VIEW_MAYBE_POST_WILL_RESIZE ( )
Value:
if ((_suppressResizeNotificationsMask & DidPostWillResizeNotification) === 0) \
{ \
[self _postNotificationWillResize]; \
_suppressResizeNotificationsMask |= DidPostWillResizeNotification; \
}
var DidPostWillResizeNotification
Definition: CPSplitView.j:83

Definition at line 57 of file CPSplitView.j.

◆ SPLIT_VIEW_SUPPRESS_RESIZE_NOTIFICATIONS

#define SPLIT_VIEW_SUPPRESS_RESIZE_NOTIFICATIONS (   shouldSuppress)
Value:
if (shouldSuppress) \
_suppressResizeNotificationsMask |= ShouldSuppressResizeNotifications; \
else \
_suppressResizeNotificationsMask = 0;
var ShouldSuppressResizeNotifications
Definition: CPSplitView.j:82

Definition at line 73 of file CPSplitView.j.

Variable Documentation

◆ CPSplitViewAutosaveNameKey

var CPSplitViewAutosaveNameKey = "CPSplitViewAutosaveNameKey"

Definition at line 1387 of file CPSplitView.j.

◆ CPSplitViewButtonBarsKey

var CPSplitViewButtonBarsKey = "CPSplitViewButtonBarsKey"

Definition at line 1386 of file CPSplitView.j.

◆ CPSplitViewDelegate_splitView_additionalEffectiveRectOfDividerAtIndex_

var CPSplitViewDelegate_splitView_additionalEffectiveRectOfDividerAtIndex_ = 1 << 3

Definition at line 48 of file CPSplitView.j.

◆ CPSplitViewDelegate_splitView_canCollapseSubview_

var CPSplitViewDelegate_splitView_canCollapseSubview_ = 1 << 0

Definition at line 45 of file CPSplitView.j.

◆ CPSplitViewDelegate_splitView_constrainMaxCoordinate_ofSubviewAt_

var CPSplitViewDelegate_splitView_constrainMaxCoordinate_ofSubviewAt_ = 1 << 5

Definition at line 50 of file CPSplitView.j.

◆ CPSplitViewDelegate_splitView_constrainMinCoordinate_ofSubviewAt_

var CPSplitViewDelegate_splitView_constrainMinCoordinate_ofSubviewAt_ = 1 << 6

Definition at line 51 of file CPSplitView.j.

◆ CPSplitViewDelegate_splitView_constrainSplitPosition_ofSubviewAt_

var CPSplitViewDelegate_splitView_constrainSplitPosition_ofSubviewAt_ = 1 << 7

Definition at line 52 of file CPSplitView.j.

◆ CPSplitViewDelegate_splitView_effectiveRect_forDrawnRect_ofDividerAtIndex_

var CPSplitViewDelegate_splitView_effectiveRect_forDrawnRect_ofDividerAtIndex_ = 1 << 4

Definition at line 49 of file CPSplitView.j.

◆ CPSplitViewDelegate_splitView_resizeSubviewsWithOldSize_

var CPSplitViewDelegate_splitView_resizeSubviewsWithOldSize_ = 1 << 8

Definition at line 53 of file CPSplitView.j.

◆ CPSplitViewDelegate_splitView_shouldAdjustSizeOfSubview_

var CPSplitViewDelegate_splitView_shouldAdjustSizeOfSubview_ = 1 << 1

Definition at line 46 of file CPSplitView.j.

◆ CPSplitViewDelegate_splitView_shouldCollapseSubview_forDoubleClickOnDividerAtIndex_

var CPSplitViewDelegate_splitView_shouldCollapseSubview_forDoubleClickOnDividerAtIndex_ = 1 << 2

Definition at line 47 of file CPSplitView.j.

◆ CPSplitViewDelegate_splitViewDidResizeSubviews_

var CPSplitViewDelegate_splitViewDidResizeSubviews_ = 1 << 9

Definition at line 54 of file CPSplitView.j.

◆ CPSplitViewDelegate_splitViewWillResizeSubviews_

var CPSplitViewDelegate_splitViewWillResizeSubviews_ = 1 << 10

Definition at line 55 of file CPSplitView.j.

◆ CPSplitViewDelegateKey

var CPSplitViewDelegateKey = "CPSplitViewDelegateKey"

Definition at line 1383 of file CPSplitView.j.

◆ CPSplitViewDidResizeSubviewsNotification

CPSplitViewDidResizeSubviewsNotification = @"@"CPSplitViewDidResizeSubviewsNotification"

Definition at line 79 of file CPSplitView.j.

◆ CPSplitViewIsPaneSplitterKey

var CPSplitViewIsPaneSplitterKey = "CPSplitViewIsPaneSplitterKey"

Definition at line 1385 of file CPSplitView.j.

◆ CPSplitViewIsVerticalKey

var CPSplitViewIsVerticalKey = "CPSplitViewIsVerticalKey"

Definition at line 1384 of file CPSplitView.j.

◆ CPSplitViewWillResizeSubviewsNotification

CPSplitViewWillResizeSubviewsNotification = @"@"CPSplitViewWillResizeSubviewsNotification"

Definition at line 80 of file CPSplitView.j.

◆ DidPostWillResizeNotification

var DidPostWillResizeNotification = 1 << 1

Definition at line 83 of file CPSplitView.j.

◆ DidSuppressResizeNotification

var DidSuppressResizeNotification = 1 << 2

Definition at line 84 of file CPSplitView.j.

◆ ShouldSuppressResizeNotifications

var ShouldSuppressResizeNotifications = 1

Definition at line 82 of file CPSplitView.j.