Release 5.  Copyright ©1994-1998 by TipTop Software, Inc.  All Rights Reserved.




TTWInteractor




Inherits From: TTInteractor
Declared In: <ObjAppKit/TTWInteractor.h>





Class Description

This is the ApplicationKit interactor.  It features Text object based command editing with command history.  See the "Interactors" section for more info.





Method Types

Actions clearOutput:
killCurrentCommand:
run:
flushHistory:
saveHistory:
copyHistory:
Other window
setReleasedWhenClosed:
isReleasedWhenClosed
printOut:
readLineWithPrompt:and:defaultText:




Instance Methods

clearOutput:
  (void)clearOutput:sender

Clears the interactor window's scroll-back buffer.




copyHistory:
  (void)copyHistory:sender

Copies history onto pasteboard.




flushHistory:
  (void)flushHistory:sender

Forgets history.




isReleasedWhenClosed
(BOOL)isReleasedWhenClosed

Returns YES if the interactor is released when its window gets closed.

See also:  - setReleasedWhenClosed:




killCurrentCommand:
  (void)killCurrentCommand:sender

Cancels the command that is currently being typed




printOut:
(void)printOut:(NSString*)text

Prints text in the interactor.




readLineWithPrompt:and:defaultText:
(NSString*)readLineWithPrompt:(NSString*)p0 and:(NSString*)p2 defaultText:(NSString*)text

Modally reads one line of text.




run:
(void)run:sender

Runs the interactor non-modally.




saveHistory:
(void)saveHistory:sender

Saves history into a file.




setReleasedWhenClosed:
(void)setReleasedWhenClosed:(BOOL)f

If f is YES, then the interactor object (the receiver of this message) will be freed when its window gets closed.

See also:  - isReleasedWhenClosed




stop:
(void)stop:sender

Stops the interactor.




window
(NSWindow*)window

Returns the interactor window.



###