API  0.9.10
CPTableHeaderView Class Reference

#import <CPTableHeaderView.h>

+ Inheritance diagram for CPTableHeaderView:

Instance Methods

(CPInteger) - columnAtPoint:
(void) - cursorUpdate:
(CPInteger) - draggedColumn
(float) - draggedDistance
(void) - encodeWithCoder:
(CGRect) - headerRectOfColumn:
(id) - initWithCoder:
(id) - initWithFrame:
(BOOL) - isDragging
(void) - layoutSubviews
(void) - mouseDown:
(void) - mouseDragged:
(void) - mouseUp:
(CPInteger) - resizedColumn
(void) - setTableView:
(CPTableView- tableView
(void) - updateTrackingAreas
(void) - viewDidMoveToWindow
- Instance Methods inherited from CPView
(BOOL) - acceptsFirstMouse:
(void) - addSubview:
(void) - addSubview:positioned:relativeTo:
(void) - addTrackingArea:
(CGRect) - adjustScroll:
(float) - alphaValue
(CAAnimation- animationForKey:
(CPDictionary- animations
(id) - animator
(BOOL) - autoresizesSubviews
(unsigned) - autoresizingMask
(BOOL) - autoscroll:
(CPColor- backgroundColor
(BOOL) - becomeFirstResponder
(CGRect) - bounds
(CGPoint) - boundsOrigin
(CGSize) - boundsSize
(BOOL) - canBecomeKeyView
(CGPoint) - center
(BOOL) - clipsToBounds
(CGPoint) - convertPoint:fromView:
(CGPoint) - convertPoint:toView:
(CGPoint) - convertPointFromBase:
(CGPoint) - convertPointToBase:
(CGRect) - convertRect:fromView:
(CGRect) - convertRect:toView:
(CGRect) - convertRectFromBase:
(CGRect) - convertRectToBase:
(CGSize) - convertSize:fromView:
(CGSize) - convertSize:toView:
(CPView- createEphemeralSubviewNamed:
(CPString- debug_description
(void) - didAddSubview:
(void) - display
(void) - displayIfNeeded
(void) - displayIfNeededInRect:
(void) - displayRect:
(void) - displayRectIgnoringOpacity:inContext:
(void) - dragImage:at:offset:event:pasteboard:source:slideBack:
(void) - dragView:at:offset:event:pasteboard:source:slideBack:
(void) - drawRect:
(CPAppearance- effectiveAppearance
(CPMenuItem- enclosingMenuItem
(CPScrollView- enclosingScrollView
(BOOL) - enterFullScreenMode
(BOOL) - enterFullScreenMode:withOptions:
(CPView- ephemeralSubviewNamed:
(void) - exitFullScreenMode
(void) - exitFullScreenModeWithOptions:
(CGRect) - frame
(CGPoint) - frameOrigin
(CGRect) - frameRectOfView:inSuperviewSize:
(CGSize) - frameSize
(CGRect) - frameWithNewSuperviewSize:
(BOOL) - hasCustomDrawRect
(BOOL) - hasCustomLayoutSubviews
(CPView- hitTest:
(BOOL) - hitTests
(id) - init
(BOOL) - inLiveResize
(BOOL) - isDescendantOf:
(BOOL) - isFlipped
(BOOL) - isHidden
(BOOL) - isHiddenOrHasHiddenAncestor
(BOOL) - isInFullScreenMode
(BOOL) - isOpaque
(CALayer- layer
(void) - layout
(CPView- layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:
(void) - layoutIfNeeded
(void) - lockFocus
(CPMenu- menuForEvent:
(BOOL) - mouseDownCanMoveWindow
(BOOL) - needsDisplay
(BOOL) - needsLayout
(BOOL) - needsPanelToBecomeKey
(CPView- nextKeyView
(CPView- nextValidKeyView
(void) - objectDidChangeTheme
(BOOL) - performKeyEquivalent:
(BOOL) - postsBoundsChangedNotifications
(BOOL) - postsFrameChangedNotifications
(CPView- previousKeyView
(CPView- previousValidKeyView
(CGRect) - rectForEphemeralSubviewNamed:
(void) - reflectScrolledClipView:
(CPArray) - registeredDraggedTypes
(void) - registerForDraggedTypes:
(void) - removeAllTrackingAreas
(void) - removeFromSuperview
(void) - removeTrackingArea:
(void) - replaceSubview:with:
(BOOL) - resignFirstResponder
(void) - resizeSubviewsWithOldSize:
(void) - resizeWithOldSuperviewSize:
(void) - rightMouseDown:
(CGSize) - scaleSize
(void) - scaleUnitSquareToSize:
(void) - scrollClipView:toPoint:
(void) - scrollPoint:
(void) - scrollRect:by:
(BOOL) - scrollRectToVisible:
(void) - setAlphaValue:
(void) - setAnimations:
(void) - setAppearance:
(void) - setAutoresizesSubviews:
(void) - setAutoresizingMask:
(void) - setBackgroundColor:
(void) - setBounds:
(void) - setBoundsOrigin:
(void) - setBoundsSize:
(void) - setCenter:
(void) - setClipsToBounds:
(void) - setFrame:
(void) - setFrameOrigin:
(void) - setFrameSize:
(void) - setHidden:
(void) - setHitTests:
(void) - setLayer:
(void) - setNeedsDisplay:
(void) - setNeedsDisplayInRect:
(void) - setNeedsLayout
(void) - setNeedsLayout:
(void) - setNextKeyView:
(void) - setPostsBoundsChangedNotifications:
(void) - setPostsFrameChangedNotifications:
(void) - setScaleSize:
(void) - setSubviews:
(void) - setTag:
(void) - setThemeClass:
(BOOL) - setThemeState:
(void) - setToolTip:
(void) - setValue:forThemeAttribute:
(void) - setValue:forThemeAttribute:inState:
(void) - setWantsLayer:
(CPArray) - subviews
(CPView- superview
(CPInteger) - tag
(void) - unlockFocus
(void) - unregisterDraggedTypes
(BOOL) - unsetThemeState:
(void) - viewDidEndLiveResize
(void) - viewDidHide
(void) - viewDidLayout
(void) - viewDidMoveToSuperview
(void) - viewDidUnhide
(void) - viewWillDraw
(void) - viewWillLayout
(void) - viewWillMoveToSuperview:
(void) - viewWillMoveToWindow:
(void) - viewWillStartLiveResize
(CPView- viewWithTag:
(CGRect) - visibleRect
(BOOL) - wantsLayer
(void) - willRemoveSubview:
(CPWindow- window

Class Methods

(CPString+ defaultThemeClass
(CPDictionary+ themeAttributes
- Class Methods inherited from CPView
(Class) + animatorClass
(CAAnimation+ defaultAnimationForKey:
(CPMenu+ defaultMenu
(void) + initialize
(BOOL) + isHighDPIDrawingEnabled
(CPSet) + keyPathsForValuesAffectingBounds
(CPSet) + keyPathsForValuesAffectingFrame
(void) + setHighDPIDrawingEnabled:

Detailed Description

Definition at line 2 of file CPTableHeaderView.h.

Method Documentation

◆ columnAtPoint:()

- (CPInteger) columnAtPoint: (CGPoint)  aPoint

Definition at line 335 of file CPTableHeaderView.j.

◆ cursorUpdate:()

- (void) cursorUpdate: (CPEvent anEvent

Provided by category CPTableHeaderView(CPTrackingArea).

Definition at line 475 of file CPTableHeaderView.j.

◆ defaultThemeClass()

+ (CPString) defaultThemeClass

Definition at line 265 of file CPTableHeaderView.j.

◆ draggedColumn()

- (CPInteger) draggedColumn

Definition at line 312 of file CPTableHeaderView.j.

◆ draggedDistance()

- (float) draggedDistance

Definition at line 317 of file CPTableHeaderView.j.

◆ encodeWithCoder:()

- (void) encodeWithCoder: (CPCoder aCoder

Archives the view to a coder.

aCoderthe object into which the view's data will be archived.

Reimplemented from CPView.

Provided by category CPTableHeaderView(CPCoding).

Definition at line 809 of file CPTableHeaderView.j.

◆ headerRectOfColumn:()

- (CGRect) headerRectOfColumn: (CPInteger)  aColumnIndex

Definition at line 340 of file CPTableHeaderView.j.

◆ initWithCoder:()

- (id) initWithCoder: (CPCoder aCoder

Initializes the view from an archive.

aCoderthe coder from which to initialize
the initialized view

Reimplemented from CPView.

Provided by category CPTableHeaderView(CPCoding).

Definition at line 798 of file CPTableHeaderView.j.

◆ initWithFrame:()

- (id) initWithFrame: (CGRect)  aFrame

Initializes the receiver for usage with the specified bounding rectangle

the initialized view

Reimplemented from CPView.

Definition at line 298 of file CPTableHeaderView.j.

◆ isDragging()

- (BOOL) isDragging

Provided by category CPTableHeaderView(CPTableHeaderViewPrivate).

Definition at line 584 of file CPTableHeaderView.j.

◆ layoutSubviews()

- (void) layoutSubviews

Reimplemented from CPView.

Definition at line 360 of file CPTableHeaderView.j.

◆ mouseDown:()

- (void) mouseDown: (CPEvent theEvent

Reimplemented from CPView.

Definition at line 380 of file CPTableHeaderView.j.

◆ mouseDragged:()

- (void) mouseDragged: (CPEvent theEvent

Definition at line 401 of file CPTableHeaderView.j.

◆ mouseUp:()

- (void) mouseUp: (CPEvent theEvent

Definition at line 431 of file CPTableHeaderView.j.

◆ resizedColumn()

- (CPInteger) resizedColumn

Definition at line 325 of file CPTableHeaderView.j.

◆ setTableView:()

- (void) setTableView: (CPTableView aValue

Synthesized accessor method.

Provided by category CPTableHeaderView(CPSynthesizedAccessors).

Definition at line 830 of file CPTableHeaderView.j.

◆ tableView()

- (CPTableView) tableView

Synthesized accessor method.

Provided by category CPTableHeaderView(CPSynthesizedAccessors).

Definition at line 822 of file CPTableHeaderView.j.

◆ themeAttributes()

+ (CPDictionary) themeAttributes

Definition at line 270 of file CPTableHeaderView.j.

◆ updateTrackingAreas()

- (void) updateTrackingAreas

Invoked automatically when the view’s geometry changes such that its tracking areas need to be recalculated.

You should override this method to remove out of date tracking areas and add recomputed tracking areas;

Cocoa calls this on every view, whereas they have tracking area(s) or not. Cappuccino behaves differently :

  • updateTrackingAreas is called when placing a view in the view hierarchy (that is in a window)
  • if you have only CPTrackingInVisibleRect tracking areas attached to a view, it will not be called again (until you move the view in the hierarchy)
  • if you have at least one non-CPTrackingInVisibleRect tracking area attached, it will be called every time the view geometry could be modified You don't have to touch to CPTrackingInVisibleRect tracking areas, they will be automatically updated

Please note that it is the owner of a tracking area who is called for updateTrackingAreas. But, if a view without any tracking area is inserted in the view hierarchy (that is, in a window), the view is called for updateTrackingAreas. This enables you to use updateTrackingArea to initially attach your tracking areas to the view.

Reimplemented from CPView.

Provided by category CPTableHeaderView(CPTrackingArea).

Definition at line 459 of file CPTableHeaderView.j.

◆ viewDidMoveToWindow()

- (void) viewDidMoveToWindow

Called when the receiver has been moved to a new CPWindow.

Reimplemented from CPView.

Definition at line 353 of file CPTableHeaderView.j.

The documentation for this class was generated from the following files: