Vuo  0.7.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Instance Methods | Protected Attributes | Properties | List of all members
VuoWindowTextInternal Class Reference

Description

A console window for use by Vuo node classes.

Instance Methods

(void) - enableTriggersWithTypedLine:typedWord:typedCharacter:
 Sets up the window to call trigger functions.
 
(void) - disableTriggers
 Stops the window from calling trigger functions.
 
(void) - appendLine:
 Appends text and a linebreak to the text view.
 

Protected Attributes

BOOL triggersEnabled
 True if the window can call its trigger callbacks.
 
void(* typedLine )(VuoText)
 Trigger that fires when a line has been typed.
 
void(* typedWord )(VuoText)
 Trigger that fires when a word has been typed.
 
void(* typedCharacter )(VuoText)
 Trigger that fires when a character has been typed.
 

Properties

NSTextView * textView
 The text view inside this window.
 
NSScrollView * scrollView
 The scroll view that holds the text view.
 
NSFont * textFont
 The font used inside the text view.
 

Method Documentation

- (void) appendLine: (const char *)  text

Appends text and a linebreak to the text view.

If needed, scrolls down to reveal the last line.

- (void) disableTriggers

Stops the window from calling trigger functions.

- (void) enableTriggersWithTypedLine: (VuoText typedLine
typedWord: (VuoText typedWord
typedCharacter: (VuoText typedCharacter 

Sets up the window to call trigger functions.

Member Data Documentation

- (BOOL) triggersEnabled
protected

True if the window can call its trigger callbacks.

- (void(* typedCharacter)(VuoText))
protected

Trigger that fires when a character has been typed.

- (void(* typedLine)(VuoText))
protected

Trigger that fires when a line has been typed.

- (void(* typedWord)(VuoText))
protected

Trigger that fires when a word has been typed.

Property Documentation

- (NSScrollView*) scrollView
readwriteatomicretain

The scroll view that holds the text view.

- (NSFont*) textFont
readwriteatomicretain

The font used inside the text view.

- (NSTextView*) textView
readwriteatomicretain

The text view inside this window.


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