![]() |
Oolite 1.91.0.7668-250429-8542c40
|
#include <RBSplitSubview.h>
Instance Methods | |
(id) | - initWithFrame: |
(RBSplitView *) | - splitView |
(RBSplitView *) | - couplingSplitView |
(RBSplitView *) | - outermostSplitView |
(RBSplitView *) | - asSplitView |
(RBSplitView *) | - coupledSplitView |
(void) | - setCoupled: |
(BOOL) | - isCoupled |
(BOOL) | - splitViewIsHorizontal |
(NSUInteger) | - numberOfSubviews |
(void) | - setTag: |
(NSInteger) | - tag |
(void) | - setIdentifier: |
(NSString *) | - identifier |
(NSUInteger) | - position |
(void) | - setPosition: |
(BOOL) | - isCollapsed |
(RBSSubviewStatus) | - status |
(BOOL) | - canCollapse |
(void) | - setCanCollapse: |
(BOOL) | - canShrink |
(BOOL) | - canExpand |
(CGFloat) | - minDimension |
(CGFloat) | - maxDimension |
(void) | - setMinDimension:andMaxDimension: |
(CGFloat) | - expand |
(CGFloat) | - collapse |
(BOOL) | - collapseWithAnimation |
(BOOL) | - expandWithAnimation |
(BOOL) | - collapseWithAnimation:withResize: |
(BOOL) | - expandWithAnimation:withResize: |
(CGFloat) | - dimension |
(void) | - setDimension: |
(CGFloat) | - changeDimensionBy:mayCollapse:move: |
(void) | - dealloc [implementation] |
(BOOL) | - isFlipped [implementation] |
(BOOL) | - isOpaque [implementation] |
(void) | - setHidden: [implementation] |
(BOOL) | - acceptsFirstResponder [implementation] |
(NSString *) | - description [implementation] |
(void) | - drawRect: [implementation] |
(void) | - display [implementation] |
(BOOL) | - autoresizesSubviews [implementation] |
(void) | - setAutoresizesSubviews: [implementation] |
(void) | - resizeSubviewsWithOldSize: [implementation] |
(NSView *) | - hitTest: [implementation] |
(void) | - mouseDown: [implementation] |
(void) | - encodeWithCoder: [implementation] |
(id) | - initWithCoder: [implementation] |
(void) | - RB___setHidden: [implementation] |
(animationData *) | - RB___animationData:resize: [implementation] |
(void) | - RB___stepAnimation [implementation] |
(BOOL) | - RB___stopAnimation [implementation] |
(CGFloat) | - RB___visibleDimension [implementation] |
(CGFloat) | - RB___setMinAndMaxTo:savingMin:andMax: [implementation] |
(CGFloat) | - RB___collapse [implementation] |
(CGFloat) | - RB___expandAndSetToMinimum: [implementation] |
(void) | - RB___finishCollapse:withFraction: [implementation] |
(void) | - RB___finishExpand:withFraction: [implementation] |
(void) | - RB___setFrameSize:withFraction: [implementation] |
(void) | - RB___setFrame:withFraction:notify: [implementation] |
(double) | - RB___fraction [implementation] |
(void) | - RB___copyIntoCache: [implementation] |
(void) | - RB___updateFromCache:withTotalDimension: [implementation] |
(BOOL) | - RB___clearResponder [implementation] |
Class Methods | |
(BOOL) | + animating |
Protected Attributes | |
NSString * | identifier |
NSInteger | tag |
CGFloat | minDimension |
CGFloat | maxDimension |
double | fraction |
NSRect | previous |
NSSize | savedSize |
NSUInteger | actDivider |
BOOL | canDragWindow |
BOOL | canCollapse |
BOOL | notInLimits |
Definition at line 22 of file RBSplitSubview.h.
|
implementation |
Definition at line 92 of file RBSplitSubview.m.
References acceptsFirstResponder.
Referenced by acceptsFirstResponder.
+ (BOOL) animating |
Definition at line 21 of file RBSplitSubview.m.
References animating, and currentAnimation.
Referenced by animating.
- (RBSplitView *) asSplitView |
Reimplemented in RBSplitView.
Definition at line 51 of file RBSplitSubview.m.
References asSplitView, and nil.
Referenced by asSplitView.
|
implementation |
Reimplemented in RBSplitView.
Definition at line 374 of file RBSplitSubview.m.
References autoresizesSubviews.
Referenced by autoresizesSubviews.
- (BOOL) canCollapse |
- (BOOL) canExpand |
Definition at line 189 of file RBSplitSubview.m.
References canExpand, maxDimension, and RB___visibleDimension.
Referenced by canCollapse, and canExpand.
- (BOOL) canShrink |
Definition at line 184 of file RBSplitSubview.m.
References canCollapse, canShrink, and RB___visibleDimension.
Referenced by canCollapse, and canShrink.
- (CGFloat) changeDimensionBy: | (CGFloat) | increment | |
mayCollapse: | (BOOL) | mayCollapse | |
move: | (BOOL) | move |
Definition at line 410 of file RBSplitSubview.m.
References canCollapse, DIM, HYSTERESIS, RBSplitView::isHorizontal, MAX, maxDimension, minDimension, RB___collapse, RBSplitView::RB___setMustClearFractions, RBSplitView::setMustAdjust, and splitView.
Referenced by RBSplitView(RB___ViewAdditions)::RB___tryToExpandLeading:divider:trailing:delta:, RBSplitView(RB___ViewAdditions)::RB___tryToExpandTrailing:leading:delta:, RBSplitView(RB___ViewAdditions)::RB___tryToShortenLeading:divider:trailing:delta:always:, and RBSplitView(RB___ViewAdditions)::RB___tryToShortenTrailing:divider:leading:delta:always:.
- (CGFloat) collapse |
Definition at line 237 of file RBSplitSubview.m.
References collapse, and RB___collapse.
Referenced by collapse, and maxDimension.
- (BOOL) collapseWithAnimation |
Definition at line 243 of file RBSplitSubview.m.
References collapseWithAnimation, and collapseWithAnimation:withResize:.
Referenced by collapseWithAnimation, collapseWithAnimation:withResize:, and maxDimension.
- (BOOL) collapseWithAnimation: | (BOOL) | animate | |
withResize: | (BOOL) | resize |
Definition at line 256 of file RBSplitSubview.m.
References canCollapse, collapseWithAnimation, RB___clearResponder, RB___collapse, RB___stepAnimation, RBSSubviewNormal, and status.
Referenced by collapseWithAnimation.
- (RBSplitView *) coupledSplitView |
Reimplemented in RBSplitView.
Definition at line 55 of file RBSplitSubview.m.
References coupledSplitView, and nil.
Referenced by coupledSplitView.
- (RBSplitView *) couplingSplitView |
Reimplemented in RBSplitView.
Definition at line 108 of file RBSplitSubview.m.
References couplingSplitView, and nil.
Referenced by couplingSplitView, RBSplitView::couplingSplitView, isOpaque, and mouseDown:.
|
implementation |
Reimplemented in RBSplitView.
Definition at line 45 of file RBSplitSubview.m.
References dealloc.
Referenced by dealloc, and RBSplitView::dealloc.
|
implementation |
Reimplemented in RBSplitView.
Definition at line 152 of file RBSplitSubview.m.
References description.
Referenced by description, and RBSplitView::description.
- (CGFloat) dimension |
Definition at line 309 of file RBSplitSubview.m.
References dimension, fraction, maxDimension, minDimension, RBSplitView::RB___dimensionWithoutDividers, RB___visibleDimension, and splitView.
Referenced by dimension, maxDimension, RBSplitView::mouseDown:, RBSplitSubview(RB___SubviewAdditions)::RB___animationData:resize:, RBSplitView(RB___ViewAdditions)::RB___tryToExpandLeading:divider:trailing:delta:, RBSplitView(RB___ViewAdditions)::RB___tryToExpandTrailing:leading:delta:, RBSplitView(RB___ViewAdditions)::RB___tryToShortenLeading:divider:trailing:delta:always:, RBSplitView(RB___ViewAdditions)::RB___tryToShortenTrailing:divider:leading:delta:always:, and setMinDimension:andMaxDimension:.
|
implementation |
Reimplemented in RBSplitView.
Definition at line 362 of file RBSplitSubview.m.
References display, RBSplitView::display, and splitView.
Referenced by display, RBSplitView::display, RBSplitView::mouseDown:, RBSplitSubview(RB___SubviewAdditions)::RB___finishCollapse:withFraction:, RBSplitSubview(RB___SubviewAdditions)::RB___finishExpand:withFraction:, and RBSplitSubview(RB___SubviewAdditions)::RB___stepAnimation.
|
implementation |
Reimplemented in RBSplitView.
Definition at line 347 of file RBSplitSubview.m.
References RBSplitView::background, RBSplitView::delegate, and splitView.
Referenced by RBSplitView::drawRect:.
|
implementation |
Reimplemented in RBSplitView.
Definition at line 545 of file RBSplitSubview.m.
References isCollapsed, savedSize, and WAYOUT.
Referenced by RBSplitView::encodeWithCoder:.
- (CGFloat) expand |
Definition at line 228 of file RBSplitSubview.m.
References expand, and RB___expandAndSetToMinimum:.
Referenced by expand, and maxDimension.
- (BOOL) expandWithAnimation |
Definition at line 249 of file RBSplitSubview.m.
References expandWithAnimation, and expandWithAnimation:withResize:.
Referenced by expandWithAnimation, expandWithAnimation:withResize:, and maxDimension.
- (BOOL) expandWithAnimation: | (BOOL) | animate | |
withResize: | (BOOL) | resize |
Definition at line 271 of file RBSplitSubview.m.
References expandWithAnimation, RB___expandAndSetToMinimum:, RB___stepAnimation, RBSSubviewCollapsed, and status.
Referenced by expandWithAnimation.
|
implementation |
Definition at line 463 of file RBSplitSubview.m.
References actDivider, canDragWindow, RBSplitView::delegate, nil, and splitView.
- (NSString *) identifier |
|
implementation |
Reimplemented in RBSplitView.
Definition at line 578 of file RBSplitSubview.m.
References actDivider, canCollapse, canDragWindow, DIM, fraction, identifier, maxDimension, minDimension, notInLimits, previous, savedSize, setIdentifier:, splitViewIsHorizontal, tag, and WAYOUT.
- (id) initWithFrame: | (NSRect) | frame |
Reimplemented in RBSplitView.
Definition at line 27 of file RBSplitSubview.m.
References actDivider, canCollapse, canDragWindow, fraction, identifier, maxDimension, minDimension, notInLimits, previous, savedSize, and WAYOUT.
Referenced by RBSplitView::initWithFrame:.
- (BOOL) isCollapsed |
Definition at line 179 of file RBSplitSubview.m.
References isCollapsed, and RB___visibleDimension.
Referenced by RBSplitView::adjustSubviewsExcepting:, RBSplitView::drawRect:, encodeWithCoder:, identifier, isCollapsed, RBSplitView::mouseDown:, RBSplitSubview(RB___SubviewAdditions)::RB___animationData:resize:, and RBSplitView::stringWithSavedState.
- (BOOL) isCoupled |
Definition at line 64 of file RBSplitSubview.m.
References isCoupled.
Referenced by isCoupled.
|
implementation |
Reimplemented in RBSplitView.
Definition at line 69 of file RBSplitSubview.m.
References isFlipped.
Referenced by isFlipped.
|
implementation |
Reimplemented in RBSplitView.
Definition at line 74 of file RBSplitSubview.m.
References couplingSplitView, isOpaque, and RBSplitView::isOpaque.
Referenced by isOpaque.
- (CGFloat) maxDimension |
References collapse, collapseWithAnimation, dimension, expand, expandWithAnimation, and maxDimension.
- (CGFloat) minDimension |
References minDimension.
|
implementation |
Reimplemented in RBSplitView.
Definition at line 483 of file RBSplitSubview.m.
References actDivider, canDragWindow, couplingSplitView, RBSplitView::cursor:, DIM, RBSplitView::display, RBSplitView::isHorizontal, RBSplitView::RB___dividerOrigin:, RBSplitView::RB___setDragging:, RBSplitView::RB___setMustClearFractions, RBSplitView::RB___trackMouseEvent:from:withBase:inDivider:, and splitView.
Referenced by RBSplitView::mouseDown:.
- (NSUInteger) numberOfSubviews |
Definition at line 457 of file RBSplitSubview.m.
References numberOfSubviews.
Referenced by numberOfSubviews.
- (RBSplitView *) outermostSplitView |
Definition at line 117 of file RBSplitSubview.m.
References nil, and outermostSplitView.
Referenced by outermostSplitView.
- (NSUInteger) position |
Definition at line 158 of file RBSplitSubview.m.
References position, and splitView.
Referenced by identifier, position, and RBSplitView::subviewAtPosition:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 631 of file RBSplitSubview.m.
Referenced by RBSplitSubview(RB___SubviewAdditions)::RB___stepAnimation, resizeSubviewsWithOldSize:, and status.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 796 of file RBSplitSubview.m.
Referenced by collapseWithAnimation:withResize:, RBSplitSubview(RB___SubviewAdditions)::RB___collapse, and RBSplitSubview(RB___SubviewAdditions)::RB___updateFromCache:withTotalDimension:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 814 of file RBSplitSubview.m.
Referenced by changeDimensionBy:mayCollapse:move:, collapse, collapseWithAnimation:withResize:, RBSplitView(RB___ViewAdditions)::RB___tryToExpandLeading:divider:trailing:delta:, RBSplitView(RB___ViewAdditions)::RB___tryToExpandTrailing:leading:delta:, and RBSplitView::setStateFromString:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 746 of file RBSplitSubview.m.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 849 of file RBSplitSubview.m.
Referenced by expand, and expandWithAnimation:withResize:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 833 of file RBSplitSubview.m.
Referenced by RBSplitSubview(RB___SubviewAdditions)::RB___collapse, RBSplitSubview(RB___SubviewAdditions)::RB___stepAnimation, and RBSplitSubview(RB___SubviewAdditions)::RB___updateFromCache:withTotalDimension:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 872 of file RBSplitSubview.m.
Referenced by RBSplitSubview(RB___SubviewAdditions)::RB___expandAndSetToMinimum:, RBSplitSubview(RB___SubviewAdditions)::RB___stepAnimation, and RBSplitSubview(RB___SubviewAdditions)::RB___updateFromCache:withTotalDimension:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 917 of file RBSplitSubview.m.
Referenced by RBSplitView(RB___ViewAdditions)::RB___adjustSubviewsExcepting:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 888 of file RBSplitSubview.m.
Referenced by RBSplitSubview(RB___SubviewAdditions)::RB___finishCollapse:withFraction:, RBSplitSubview(RB___SubviewAdditions)::RB___finishExpand:withFraction:, RBSplitSubview(RB___SubviewAdditions)::RB___stepAnimation, RBSplitSubview(RB___SubviewAdditions)::RB___updateFromCache:withTotalDimension:, and RBSplitView::setStateFromString:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 910 of file RBSplitSubview.m.
Referenced by RBSplitView(RB___ViewAdditions)::RB___adjustSubviewsExcepting:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 623 of file RBSplitSubview.m.
Referenced by setHidden:, and RBSplitView::setStateFromString:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 780 of file RBSplitSubview.m.
Referenced by RBSplitSubview(RB___SubviewAdditions)::RB___stepAnimation.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 673 of file RBSplitSubview.m.
Referenced by collapseWithAnimation:withResize:, and expandWithAnimation:withResize:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 725 of file RBSplitSubview.m.
Referenced by RBSplitSubview(RB___SubviewAdditions)::RB___finishCollapse:withFraction:, RBSplitSubview(RB___SubviewAdditions)::RB___finishExpand:withFraction:, and RBSplitView::willRemoveSubview:.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 754 of file RBSplitSubview.m.
|
implementation |
Provided by category RBSplitSubview(RB___SubviewAdditions).
Definition at line 738 of file RBSplitSubview.m.
Referenced by canExpand, canShrink, dimension, isCollapsed, RBSplitSubview(RB___SubviewAdditions)::RB___copyIntoCache:, RBSplitSubview(RB___SubviewAdditions)::RB___updateFromCache:withTotalDimension:, and status.
|
implementation |
Definition at line 383 of file RBSplitSubview.m.
References DIM, animationData::dimension, RBSplitView::isHorizontal, maxDimension, minDimension, notInLimits, OTHER, RB___animationData:resize:, animationData::resizing, savedSize, and splitView.
|
implementation |
Definition at line 379 of file RBSplitSubview.m.
- (void) setCanCollapse: | (BOOL) | flag |
Definition at line 219 of file RBSplitSubview.m.
References canCollapse.
- (void) setCoupled: | (BOOL) | flag |
- (void) setDimension: | (CGFloat) | value |
Definition at line 324 of file RBSplitSubview.m.
References RBSplitView::adjustSubviewsExcepting:, DIM, fraction, RBSplitView::isHorizontal, maxDimension, minDimension, RBSplitView::RB___dimensionWithoutDividers, and splitView.
Referenced by OOJavaScriptConsoleController::awakeFromNib.
|
implementation |
Definition at line 79 of file RBSplitSubview.m.
References RBSplitView::adjustSubviews, RBSplitView::adjustSubviewsExcepting:, RB___setHidden:, and splitView.
- (void) setIdentifier: | (NSString*) | aString |
Definition at line 141 of file RBSplitSubview.m.
References identifier.
Referenced by initWithCoder:.
- (void) setMinDimension: | (CGFloat) | newMinDimension | |
andMaxDimension: | (CGFloat) | newMaxDimension |
Definition at line 295 of file RBSplitSubview.m.
References dimension, MAX, maxDimension, minDimension, RBSplitView::setMustAdjust, splitView, and WAYOUT.
Referenced by OOJavaScriptConsoleController::awakeFromNib.
- (void) setPosition: | (NSUInteger) | newPosition |
Definition at line 163 of file RBSplitSubview.m.
References RBSplitView::addSubview:positioned:relativeTo:, count, and splitView.
- (void) setTag: | (NSInteger) | theTag |
Definition at line 133 of file RBSplitSubview.m.
References tag.
- (RBSplitView *) splitView |
Definition at line 99 of file RBSplitSubview.m.
References nil, and splitView.
Referenced by RBSplitView::awakeFromNib, changeDimensionBy:mayCollapse:move:, dimension, display, RBSplitView::drawDivider:inRect:betweenView:andView:, drawRect:, hitTest:, mouseDown:, RBSplitView::mouseDown:, position, RBSplitView(RB___ViewAdditions)::RB___adjustOutermostIfNeeded, RBSplitSubview(RB___SubviewAdditions)::RB___animationData:resize:, RBSplitSubview(RB___SubviewAdditions)::RB___collapse, RBSplitSubview(RB___SubviewAdditions)::RB___expandAndSetToMinimum:, RBSplitSubview(RB___SubviewAdditions)::RB___finishCollapse:withFraction:, RBSplitSubview(RB___SubviewAdditions)::RB___finishExpand:withFraction:, RBSplitSubview(RB___SubviewAdditions)::RB___setFrame:withFraction:notify:, RBSplitSubview(RB___SubviewAdditions)::RB___setFrameSize:withFraction:, RBSplitSubview(RB___SubviewAdditions)::RB___stepAnimation, RBSplitSubview(RB___SubviewAdditions)::RB___stopAnimation, resizeSubviewsWithOldSize:, RBSplitView::setCoupled:, setDimension:, RBSplitView::setFrameSize:, setHidden:, RBSplitView::setHorizontal:, setMinDimension:andMaxDimension:, setPosition:, splitView, and splitViewIsHorizontal.
- (BOOL) splitViewIsHorizontal |
Definition at line 127 of file RBSplitSubview.m.
References RBSplitView::isHorizontal, splitView, and splitViewIsHorizontal.
Referenced by initWithCoder:, RBSplitSubview(RB___SubviewAdditions)::RB___visibleDimension, and splitViewIsHorizontal.
- (RBSSubviewStatus) status |
Definition at line 194 of file RBSplitSubview.m.
References animationData::collapsing, RB___animationData:resize:, RB___visibleDimension, RBSSubviewCollapsed, RBSSubviewCollapsing, RBSSubviewExpanding, RBSSubviewNormal, and status.
Referenced by collapseWithAnimation:withResize:, expandWithAnimation:withResize:, identifier, and status.
- (NSInteger) tag |
References tag.
|
protected |
Definition at line 38 of file RBSplitSubview.h.
Referenced by hitTest:, initWithCoder:, initWithFrame:, mouseDown:, and RBSplitView::mouseDown:.
|
protected |
Definition at line 204 of file RBSplitSubview.m.
Referenced by canCollapse, canShrink, changeDimensionBy:mayCollapse:move:, collapseWithAnimation:withResize:, initWithCoder:, initWithFrame:, RBSplitView::mouseDown:, and setCanCollapse:.
|
protected |
Definition at line 39 of file RBSplitSubview.h.
Referenced by hitTest:, initWithCoder:, initWithFrame:, and mouseDown:.
|
protected |
Definition at line 31 of file RBSplitSubview.h.
Referenced by dimension, initWithCoder:, initWithFrame:, and setDimension:.
|
protected |
Definition at line 146 of file RBSplitSubview.m.
Referenced by identifier, initWithCoder:, initWithFrame:, setIdentifier:, and RBSplitView::subviewWithIdentifier:.
|
protected |
Definition at line 291 of file RBSplitSubview.m.
Referenced by canExpand, changeDimensionBy:mayCollapse:move:, dimension, initWithCoder:, initWithFrame:, maxDimension, RBSplitSubview(RB___SubviewAdditions)::RB___setMinAndMaxTo:savingMin:andMax:, RBSplitView(RB___ViewAdditions)::RB___tryToShortenLeading:divider:trailing:delta:always:, RBSplitView(RB___ViewAdditions)::RB___tryToShortenTrailing:divider:leading:delta:always:, resizeSubviewsWithOldSize:, setDimension:, and setMinDimension:andMaxDimension:.
|
protected |
Definition at line 287 of file RBSplitSubview.m.
Referenced by changeDimensionBy:mayCollapse:move:, dimension, initWithCoder:, initWithFrame:, minDimension, RBSplitSubview(RB___SubviewAdditions)::RB___setMinAndMaxTo:savingMin:andMax:, RBSplitView(RB___ViewAdditions)::RB___tryToExpandLeading:divider:trailing:delta:, RBSplitView(RB___ViewAdditions)::RB___tryToExpandTrailing:leading:delta:, resizeSubviewsWithOldSize:, setDimension:, and setMinDimension:andMaxDimension:.
|
protected |
Definition at line 41 of file RBSplitSubview.h.
Referenced by initWithCoder:, initWithFrame:, and resizeSubviewsWithOldSize:.
|
protected |
Definition at line 35 of file RBSplitSubview.h.
Referenced by initWithCoder:, and initWithFrame:.
|
protected |
Definition at line 36 of file RBSplitSubview.h.
Referenced by encodeWithCoder:, initWithCoder:, initWithFrame:, and resizeSubviewsWithOldSize:.
|
protected |
Definition at line 137 of file RBSplitSubview.m.
Referenced by initWithCoder:, setTag:, and tag.