[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

 

LTEPasteAction



Overview:

LTEPasteAction is a PowerPlant class that is used for handling the paste action for a TextEdit field.

Methods :

The methods in this class are:

 

LTEPasteAction()  
~LTEPasteAction()  
RedoSelf()  
UndoSelf()  

Data Members:

The data members in this class are:

 

mPastedTextH  
 

Operation:

This is a simple class for handling pastes from the TextEdit field.

Source files:

(Action Classes)

UTETextAction.h

UTETextAction.cp

Ancestors:

LAction

LTETextAction

LTEPasteAction()

Purpose:

The constructor creates an object from the passed-in parameters.

Access:

Public

Prototype:

LTEPasteAction( TEHandle inMacTEH,
LCommander *inTextCommander,
LPane *inTextPane );
Parameters:

The parameters for this constructor are:

 

TEHandle  
inMacTEH  
The Mac OS TextEdit handle.  
LCommander*  
inTextCommander  
The pointer to the text Commander.  
LPane*  
inTextPane  
The pointer to the Pane.  

~LTEPasteAction()

Purpose:

The destructor destroys the object.

Access:

Virtual, Public

Prototype:

virtual ~LTEPasteAction();

RedoSelf()

Purpose:

This is an override of RedoSelf() in LAction.

UndoSelf()

Purpose:

This is an override of UndoSelf() in LAction.

mPastedTextH

Purpose:

The handle to the pasted text.

Access:

Protected

Prototype:

Handle mPastedTextH;

 


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: July 21, 2000