API  1.0.0
CPBrowser Class Reference

#import <CPBrowser.h>

+ Inheritance diagram for CPBrowser:

Instance Methods

(BOOL) - acceptsFirstResponder
 
(void) - addColumn
 
(BOOL) - allowsEmptySelection
 
(BOOL) - allowsMultipleSelection
 
(BOOL) - autohidesScroller
 
(BOOL) - canDragRowsWithIndexes:inColumn:withEvent:
 
(unsigned) - columnAtPoint:
 
(float) - columnContentWidthForColumnWidth:
 
(unsigned) - columnOfTableView:
 
(float) - columnWidthForColumnContentWidth:
 
(float) - defaultColumnWidth
 
(id) - delegate
 
(void) - doClick:
 
(void) - doDoubleClick:
 
(SEL) - doubleAction
 
(CPImage- draggingImageForRowsWithIndexes:inColumn:withEvent:offset:
 
(CPView- draggingViewForRowsWithIndexes:inColumn:withEvent:offset:
 
(void) - encodeWithCoder:
 
(float) - imageWidth
 
(id) - initWithCoder:
 
(id) - initWithFrame:
 
(BOOL) - isLeafItem:
 
(id) - itemAtRow:inColumn:
 
(void) - keyDown:
 
(int) - lastColumn
 
(void) - loadColumnZero
 
(float) - minColumnWidth
 
(id) - parentForItemsInColumn:
 
(CPView- prototypeView
 
(CGRect) - rectOfRow:inColumn:
 
(void) - registerForDraggedTypes:
 
(void) - reloadColumn:
 
(unsigned) - rowAtPoint:
 
(float) - rowHeight
 
(void) - scrollColumnToVisible:
 
(void) - scrollRowToVisible:inColumn:
 
(unsigned) - selectedColumn
 
(id) - selectedItem
 
(CPSet) - selectedItems
 
(unsigned) - selectedRowInColumn:
 
(CPIndexSet- selectedRowIndexesInColumn:
 
(void) - selectRow:inColumn:
 
(void) - selectRowIndexes:inColumn:
 
(void) - sendAction
 
(void) - setAllowsEmptySelection:
 
(void) - setAllowsMultipleSelection:
 
(void) - setAutohidesScroller:
 
(void) - setBackgroundColor:
 
(void) - setDefaultColumnWidth:
 
(void) - setDelegate:
 
(void) - setDoubleAction:
 
(void) - setImageWidth:
 
(void) - setLastColumn:
 
(void) - setMinColumnWidth:
 
(void) - setPrototypeView:
 
(void) - setRowHeight:
 
(void) - setTableViewClass:
 
(void) - setWidth:ofColumn:
 
(Class) - tableViewClass
 
(CPTableView- tableViewInColumn:
 
(void) - tile
 
(void) - trackMouse:
 
(float) - widthOfColumn:
 
- Instance Methods inherited from CPControl
(BOOL) - acceptsFirstMouse:
 
(SEL) - action
 
(CPTextAlignment) - alignment
 
(CPWritingDirection) - baseWritingDirection
 
(BOOL) - continueTracking:at:
 
(CPControlSize) - controlSize
 
(double) - doubleValue
 
(float) - floatValue
 
(CPFont- font
 
(CPFormatter- formatter
 
(void) - highlight:
 
(CPCellImagePosition) - imagePosition
 
(CPUInteger) - imageScaling
 
(int) - integerValue
 
(int) - intValue
 
(BOOL) - isContinuous
 
(BOOL) - isEnabled
 
(BOOL) - isHighlighted
 
(CPLineBreakMode) - lineBreakMode
 
(void) - mouseDown:
 
(unsigned) - mouseDownFlags
 
(void) - mouseEntered:
 
(void) - mouseExited:
 
(CPInteger) - nextState
 
(id) - objectValue
 
(void) - performClick:
 
(BOOL) - sendAction:to:
 
(int) - sendActionOn:
 
(BOOL) - sendsActionOnEndEditing
 
(void) - setAction:
 
(void) - setAlignment:
 
(void) - setBaseWritingDirection:
 
(void) - setContinuous:
 
(void) - setControlSize:
 
(void) - setDoubleValue:
 
(void) - setEnabled:
 
(void) - setFloatValue:
 
(void) - setFont:
 
(void) - setFormatter:
 
(void) - setHighlighted:
 
(void) - setImagePosition:
 
(void) - setImageScaling:
 
(void) - setIntegerValue:
 
(void) - setIntValue:
 
(void) - setLineBreakMode:
 
(void) - setObjectValue:
 
(void) - setSendsActionOnEndEditing:
 
(void) - setState:
 
(void) - setStringValue:
 
(void) - setTarget:
 
(void) - setTextColor:
 
(void) - setTextShadowColor:
 
(void) - setTextShadowOffset:
 
(void) - setVerticalAlignment:
 
(BOOL) - startTrackingAt:
 
(void) - stopTracking:at:mouseIsUp:
 
(CPString- stringValue
 
(void) - takeDoubleValueFrom:
 
(void) - takeFloatValueFrom:
 
(void) - takeIntegerValueFrom:
 
(void) - takeIntValueFrom:
 
(void) - takeObjectValueFrom:
 
(void) - takeStringValueFrom:
 
(id) - target
 
(CPColor- textColor
 
(void) - textDidBeginEditing:
 
(void) - textDidChange:
 
(void) - textDidEndEditing:
 
(CPColor- textShadowColor
 
(CGSize) - textShadowOffset
 
(BOOL) - tracksMouseOutsideOfFrame
 
(void) - unhighlightButtonTimerDidFinish:
 
(void) - updateTrackingAreas
 
(CPTextVerticalAlignment) - verticalAlignment
 
- Instance Methods inherited from CPView
(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) - layoutSubviews
 
(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) - 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) - setBounds:
 
(void) - setBoundsOrigin:
 
(void) - setBoundsSize:
 
(void) - setCenter:
 
(void) - setClipsToBounds:
 
(void) - setDOMClassName:
 
(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) - viewDidMoveToWindow
 
(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 CPControl
(void) + initialize
 
- Class Methods inherited from CPView
(Class) + animatorClass
 
(CAAnimation+ defaultAnimationForKey:
 
(CPMenu+ defaultMenu
 
(BOOL) + isHighDPIDrawingEnabled
 
(CPSet) + keyPathsForValuesAffectingBounds
 
(CPSet) + keyPathsForValuesAffectingFrame
 
(void) + setHighDPIDrawingEnabled:
 

Detailed Description

Definition at line 2 of file CPBrowser.h.

Method Documentation

◆ acceptsFirstResponder()

- (BOOL) acceptsFirstResponder
implementation

Definition at line 735 of file CPBrowser.j.

◆ addColumn()

- (void) addColumn
implementation

Definition at line 303 of file CPBrowser.j.

◆ allowsEmptySelection()

- (BOOL) allowsEmptySelection
implementation

Definition at line 683 of file CPBrowser.j.

◆ allowsMultipleSelection()

- (BOOL) allowsMultipleSelection
implementation

Definition at line 669 of file CPBrowser.j.

◆ autohidesScroller()

- (BOOL) autohidesScroller
implementation

Definition at line 632 of file CPBrowser.j.

◆ canDragRowsWithIndexes:inColumn:withEvent:()

- (BOOL) canDragRowsWithIndexes: (CPIndexSet rowIndexes
inColumn: (CPInteger)  columnIndex
withEvent: (CPEvent dragEvent 
implementation

Provided by category CPBrowser(CPBrowserDelegate).

Definition at line 1165 of file CPBrowser.j.

◆ columnAtPoint:()

- (unsigned) columnAtPoint: (CGPoint)  aPoint
implementation

Definition at line 436 of file CPBrowser.j.

◆ columnContentWidthForColumnWidth:()

- (float) columnContentWidthForColumnWidth: (float)  aWidth
implementation

Definition at line 557 of file CPBrowser.j.

◆ columnOfTableView:()

- (unsigned) columnOfTableView: (CPTableView aTableView
implementation

Definition at line 261 of file CPBrowser.j.

◆ columnWidthForColumnContentWidth:()

- (float) columnWidthForColumnContentWidth: (float)  aWidth
implementation

Definition at line 563 of file CPBrowser.j.

◆ defaultColumnWidth()

- (float) defaultColumnWidth
implementation

Synthesized accessor method.

Provided by category CPBrowser(CPSynthesizedAccessors).

Definition at line 1228 of file CPBrowser.j.

◆ defaultThemeClass()

+ (CPString) defaultThemeClass
implementation

Reimplemented from CPView.

Definition at line 108 of file CPBrowser.j.

◆ delegate()

- (id) delegate
implementation

Definition at line 251 of file CPBrowser.j.

◆ doClick:()

- (void) doClick: (id)  sender
implementation

Definition at line 521 of file CPBrowser.j.

◆ doDoubleClick:()

- (void) doDoubleClick: (id)  sender
implementation

Definition at line 526 of file CPBrowser.j.

◆ doubleAction()

- (SEL) doubleAction
implementation

Synthesized accessor method.

Provided by category CPBrowser(CPSynthesizedAccessors).

Definition at line 1196 of file CPBrowser.j.

◆ draggingImageForRowsWithIndexes:inColumn:withEvent:offset:()

- (CPImage) draggingImageForRowsWithIndexes: (CPIndexSet rowIndexes
inColumn: (CPInteger)  columnIndex
withEvent: (CPEvent dragEvent
offset: (CGPoint)  dragImageOffset 
implementation

Provided by category CPBrowser(CPBrowserDelegate).

Definition at line 1173 of file CPBrowser.j.

◆ draggingViewForRowsWithIndexes:inColumn:withEvent:offset:()

- (CPView) draggingViewForRowsWithIndexes: (CPIndexSet rowIndexes
inColumn: (CPInteger)  columnIndex
withEvent: (CPEvent dragEvent
offset: (CGPoint)  dragImageOffset 
implementation

Provided by category CPBrowser(CPBrowserDelegate).

Definition at line 1181 of file CPBrowser.j.

◆ encodeWithCoder:()

- (void) encodeWithCoder: (CPCoder aCoder
implementation

Archives the view to a coder.

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

Reimplemented from CPControl.

Provided by category CPBrowser(CPCoding).

Definition at line 775 of file CPBrowser.j.

◆ imageWidth()

- (float) imageWidth
implementation

Definition at line 575 of file CPBrowser.j.

◆ initWithCoder:()

- (id) initWithCoder: (CPCoder aCoder
implementation

Initializes the view from an archive.

Parameters
aCoderthe coder from which to initialize
Returns
the initialized view

Reimplemented from CPControl.

Provided by category CPBrowser(CPCoding).

Definition at line 752 of file CPBrowser.j.

◆ initWithFrame:()

- (id) initWithFrame: (CGRect)  aFrame
implementation

Initializes the receiver for usage with the specified bounding rectangle

Returns
the initialized view

Reimplemented from CPControl.

Definition at line 122 of file CPBrowser.j.

◆ isLeafItem:()

- (BOOL) isLeafItem: (id)  item
implementation

Definition at line 466 of file CPBrowser.j.

◆ itemAtRow:inColumn:()

- (id) itemAtRow: (CPInteger)  row
inColumn: (CPInteger)  column 
implementation

Definition at line 461 of file CPBrowser.j.

◆ keyDown:()

- (void) keyDown: (CPEvent anEvent
implementation

Definition at line 531 of file CPBrowser.j.

◆ lastColumn()

- (int) lastColumn
implementation

Definition at line 298 of file CPBrowser.j.

◆ loadColumnZero()

- (void) loadColumnZero
implementation

Definition at line 266 of file CPBrowser.j.

◆ minColumnWidth()

- (float) minColumnWidth
implementation

Definition at line 586 of file CPBrowser.j.

◆ parentForItemsInColumn:()

- (id) parentForItemsInColumn: (CPInteger)  column
implementation

Definition at line 471 of file CPBrowser.j.

◆ prototypeView()

- (CPView) prototypeView
implementation

Definition at line 173 of file CPBrowser.j.

◆ rectOfRow:inColumn:()

- (CGRect) rectOfRow: (unsigned)  aRow
inColumn: (unsigned)  aColumn 
implementation

Definition at line 450 of file CPBrowser.j.

◆ registerForDraggedTypes:()

- (void) registerForDraggedTypes: (CPArray)  pasteboardTypes
implementation

Sets the receiver's list of acceptable data types for a dragging operation.

Parameters
pasteboardTypesan array of CPPasteboards

Reimplemented from CPView.

Definition at line 742 of file CPBrowser.j.

◆ reloadColumn:()

- (void) reloadColumn: (CPInteger)  column
implementation

Definition at line 393 of file CPBrowser.j.

◆ rowAtPoint:()

- (unsigned) rowAtPoint: (CGPoint)  aPoint
implementation

Definition at line 426 of file CPBrowser.j.

◆ rowHeight()

- (float) rowHeight
implementation

Definition at line 614 of file CPBrowser.j.

◆ scrollColumnToVisible:()

- (void) scrollColumnToVisible: (unsigned)  columnIndex
implementation

Definition at line 621 of file CPBrowser.j.

◆ scrollRowToVisible:inColumn:()

- (void) scrollRowToVisible: (unsigned)  rowIndex
inColumn: (unsigned)  columnIndex 
implementation

Definition at line 626 of file CPBrowser.j.

◆ selectedColumn()

- (unsigned) selectedColumn
implementation

Definition at line 652 of file CPBrowser.j.

◆ selectedItem()

- (id) selectedItem
implementation

Definition at line 492 of file CPBrowser.j.

◆ selectedItems()

- (CPSet) selectedItems
implementation

Definition at line 476 of file CPBrowser.j.

◆ selectedRowInColumn:()

- (unsigned) selectedRowInColumn: (unsigned)  columnIndex
implementation

Definition at line 644 of file CPBrowser.j.

◆ selectedRowIndexesInColumn:()

- (CPIndexSet) selectedRowIndexesInColumn: (unsigned)  column
implementation

Definition at line 697 of file CPBrowser.j.

◆ selectRow:inColumn:()

- (void) selectRow: (unsigned)  row
inColumn: (unsigned)  column 
implementation

Definition at line 663 of file CPBrowser.j.

◆ selectRowIndexes:inColumn:()

- (void) selectRowIndexes: (CPIndexSet indexSet
inColumn: (unsigned)  column 
implementation

Definition at line 705 of file CPBrowser.j.

◆ sendAction()

- (void) sendAction
implementation

Definition at line 516 of file CPBrowser.j.

◆ setAllowsEmptySelection:()

- (void) setAllowsEmptySelection: (BOOL)  shouldAllow
implementation

Definition at line 688 of file CPBrowser.j.

◆ setAllowsMultipleSelection:()

- (void) setAllowsMultipleSelection: (BOOL)  shouldAllow
implementation

Definition at line 674 of file CPBrowser.j.

◆ setAutohidesScroller:()

- (void) setAutohidesScroller: (BOOL)  shouldHide
implementation

Definition at line 637 of file CPBrowser.j.

◆ setBackgroundColor:()

- (void) setBackgroundColor: (CPColor aColor
implementation

Sets the background color of the receiver.

Parameters
aColorthe new color for the receiver's background

Reimplemented from CPView.

Definition at line 729 of file CPBrowser.j.

◆ setDefaultColumnWidth:()

- (void) setDefaultColumnWidth: (float)  aValue
implementation

Synthesized accessor method.

Provided by category CPBrowser(CPSynthesizedAccessors).

Definition at line 1236 of file CPBrowser.j.

◆ setDelegate:()

- (void) setDelegate: (id <CPBrowserDelegate>)  anObject
implementation

Definition at line 179 of file CPBrowser.j.

◆ setDoubleAction:()

- (void) setDoubleAction: (SEL)  aValue
implementation

Synthesized accessor method.

Provided by category CPBrowser(CPSynthesizedAccessors).

Definition at line 1204 of file CPBrowser.j.

◆ setImageWidth:()

- (void) setImageWidth: (float)  aWidth
implementation

Definition at line 569 of file CPBrowser.j.

◆ setLastColumn:()

- (void) setLastColumn: (CPInteger)  columnIndex
implementation

Definition at line 274 of file CPBrowser.j.

◆ setMinColumnWidth:()

- (void) setMinColumnWidth: (float)  minWidth
implementation

Definition at line 580 of file CPBrowser.j.

◆ setPrototypeView:()

- (void) setPrototypeView: (CPView aPrototypeView
implementation

Definition at line 167 of file CPBrowser.j.

◆ setRowHeight:()

- (void) setRowHeight: (float)  aHeight
implementation

Definition at line 609 of file CPBrowser.j.

◆ setTableViewClass:()

- (void) setTableViewClass: (Class)  aValue
implementation

Synthesized accessor method.

Provided by category CPBrowser(CPSynthesizedAccessors).

Definition at line 1220 of file CPBrowser.j.

◆ setWidth:ofColumn:()

- (void) setWidth: (float)  aWidth
ofColumn: (unsigned)  column 
implementation

Definition at line 591 of file CPBrowser.j.

◆ tableViewClass()

- (Class) tableViewClass
implementation

Synthesized accessor method.

Provided by category CPBrowser(CPSynthesizedAccessors).

Definition at line 1212 of file CPBrowser.j.

◆ tableViewInColumn:()

- (CPTableView) tableViewInColumn: (unsigned)  index
implementation

Definition at line 256 of file CPBrowser.j.

◆ themeAttributes()

+ (CPDictionary) themeAttributes
implementation

Reimplemented from CPControl.

Definition at line 113 of file CPBrowser.j.

◆ tile()

- (void) tile
implementation

Definition at line 398 of file CPBrowser.j.

◆ trackMouse:()

- (void) trackMouse: (CPEvent anEvent
implementation

Reimplemented from CPControl.

Definition at line 502 of file CPBrowser.j.

◆ widthOfColumn:()

- (float) widthOfColumn: (unsigned)  column
implementation

Definition at line 599 of file CPBrowser.j.


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