|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdasher.CEvent
dasher.CEditContextEvent
public class CEditContextEvent
Event which can be loosely interpreted to mean "I want to know what the context is". It will be issued by the Interface when the internal context buffer is empty, or the current context is most likely no longer valid, but a UI component may know what the context ought to be.
Components should respond by setting the newContext property. When first dispatched this property is empty, so components should be wary of overwriting another's answer unless they are sure they have a better context.
The MaxLength property specifies how much context the Interface is asking for; longer strings should not be supplied.
| Field Summary | |
|---|---|
int |
m_iMaxLength
Maximum length of context desired |
java.lang.String |
newContext
Empty string, to be replaced with a context if one is known |
| Fields inherited from class dasher.CEvent |
|---|
m_iEventType |
| Constructor Summary | |
|---|---|
CEditContextEvent(int iMaxLength)
Creates a new event with type 3 (EV_EDIT_CONTEXT) and a specified maxLength. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int m_iMaxLength
public java.lang.String newContext
| Constructor Detail |
|---|
public CEditContextEvent(int iMaxLength)
iMaxLength - Maximum length of context desired
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||