CatNiP docutest
Sähköinen nuottikirja, HY-TKTKL-OHTUPROJ KESÄ11
UIScoreView Class Reference

#import <UIScoreView.h>

Collaboration diagram for UIScoreView:

List of all members.

Public Member Functions

(void) - dealloc [implementation]
(BOOL) - gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer: [implementation]
 Dummy method to allow for other gesture recognizers beside the scrollbar-toggling one.
(id) - init [implementation]
 Initializes the internal variables of the object.
(id) - initWithCoder: [implementation]
 Initializes the object using the data in a given unarchiver.
(id) - initWithFrame: [implementation]
 Initializes the object with the specified frame rectangle and default display settings.
(void) - scrollFor:
 Scrolls the enclosed document view for the given number of view heights.
(BOOL) - setScore:
 Sets a score to be shown by the score view.
(void) - showScrollBar:
 Shows or hides the scroll bar with a sliding animation.
(void) - tapGesture: [implementation]
 Handler for tap gestures.

Protected Attributes

UIDocumentViewdocumentView
UIScrollBarscrollBar

Properties

IBOutlet UIDocumentViewdocumentView
 A document view object for displaying the score.
IBOutlet UIScrollBarscrollBar
 A vertical scroll bar for ease of scrolling.

Member Function Documentation

- (void) dealloc [implementation]
- (BOOL) gestureRecognizer: (UIGestureRecognizer *)  gestureRecognizer
shouldRecognizeSimultaneouslyWithGestureRecognizer: (UIGestureRecognizer *)  otherGestureRecognizer 
[implementation]

Dummy method to allow for other gesture recognizers beside the scrollbar-toggling one.

- (id) init [implementation]

Initializes the internal variables of the object.

Do not use this method to initialize new instances of the object. It only encapsulates common initialization code and does not call any superclass constructors. Use initWithFrame instead.

Returns:
The initialized object.

Here is the caller graph for this function:

- (id) initWithCoder: (NSCoder *)  aDecoder [implementation]

Initializes the object using the data in a given unarchiver.

This method is used to provide compatibility with xib files. Do not call it programmatically.

Parameters:
aDecoderAn unarchiver object.
Returns:
The initialized object, or nil if the object couldn't be created.

Here is the call graph for this function:

- (id) initWithFrame: (CGRect)  frame [implementation]

Initializes the object with the specified frame rectangle and default display settings.

Parameters:
frameThe frame rectangle for the view, measured in points.
Returns:
The initialized object, or nil if the object couldn't be created.

Here is the call graph for this function:

- (void) scrollFor: (CGFloat)  viewHeights

Scrolls the enclosed document view for the given number of view heights.

Parameters:
viewHeightsThe number of view heights to scroll for. Can be negative or non-integer.
- (BOOL) setScore: (NSString *)  scorePath

Sets a score to be shown by the score view.

Parameters:
scorePathThe path to the score file to be loaded.
Returns:
YES if the score was loaded successfully, NO otherwise.
- (void) showScrollBar: (BOOL)  show

Shows or hides the scroll bar with a sliding animation.

Parameters:
showYES to show the scrollbar, NO to hide it.

Here is the caller graph for this function:

- (void) tapGesture: (UIGestureRecognizer *)  gestureRecognizer [implementation]

Handler for tap gestures.

Here is the call graph for this function:


Member Data Documentation

- (UIDocumentView*) documentView [protected]
- (UIScrollBar*) scrollBar [protected]

Property Documentation

- (IBOutlet UIDocumentView*) documentView [read, write, retain]

A document view object for displaying the score.

- (IBOutlet UIScrollBar*) scrollBar [read, write, retain]

A vertical scroll bar for ease of scrolling.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Properties Defines