dasher
Class CEditEvent

java.lang.Object
  extended by dasher.CEvent
      extended by dasher.CEditEvent

public class CEditEvent
extends CEvent

Event which signals that text has been entered or deleted.

An m_iEditType of 1 indicates new text, and 2 indicates deletion.


Field Summary
 int m_iEditType
          Edit event type
 java.lang.String m_sText
          Text to add/remove
 
Fields inherited from class dasher.CEvent
m_iEventType
 
Constructor Summary
CEditEvent(int iEditType, java.lang.String sText)
          Creates a new EditEvent with a given type and text.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_iEditType

public int m_iEditType
Edit event type


m_sText

public java.lang.String m_sText
Text to add/remove

Constructor Detail

CEditEvent

public CEditEvent(int iEditType,
                  java.lang.String sText)
Creates a new EditEvent with a given type and text.

If deleting text, the content of m_sText is likely not to matter, though its length may be used in deciding how many characters to remove.

Parameters:
iEditType - 1 for new text, 2 for deleted text
sText - Text to be added / deleted.