| jacareto.record.Recordable jacareto.record.EventObjectRecordable jacareto.record.AWTEventRecordable jacareto.record.ComponentEventRecordable jacareto.record.InputEventRecordable jacareto.record.KeyEventRecordable
Constructor Summary | |
public | KeyEventRecordable(Environment env, int ID, String sourceName, String sourceClass, long duration, long procTime, String componentName, String rootName, int modifiers, long when, boolean isConsumed, int keyCode, char keyChar) Creates a new key event recordable with the specified values. | public | KeyEventRecordable(Environment env, KeyEvent keyEvent, Components components, long duration, long procTime) Creates a new key event recordable with the values of the given event and additional
information. | public | KeyEventRecordable() Creates a key event recordable with default values and no environment. |
KeyEventRecordable | public KeyEventRecordable(Environment env, int ID, String sourceName, String sourceClass, long duration, long procTime, String componentName, String rootName, int modifiers, long when, boolean isConsumed, int keyCode, char keyChar)(Code) | | Creates a new key event recordable with the specified values.
Parameters: env - the environment Parameters: ID - the event id Parameters: sourceName - the name of the events source Parameters: sourceClass - the classname of the event's source Parameters: duration - the duration Parameters: procTime - DOCUMENT ME! Parameters: componentName - the component's name Parameters: rootName - the name of the root component Parameters: modifiers - the modifiers of the event Parameters: when - the time when the event has occured Parameters: isConsumed - whether the event is consumed or not Parameters: keyCode - the key code Parameters: keyChar - the key char |
KeyEventRecordable | public KeyEventRecordable(Environment env, KeyEvent keyEvent, Components components, long duration, long procTime)(Code) | | Creates a new key event recordable with the values of the given event and additional
information.
Parameters: env - the environment Parameters: keyEvent - the key event to take the main information from Parameters: components - the instance which knows the components Parameters: duration - the duration Parameters: procTime - DOCUMENT ME! |
getElementDescription | public String getElementDescription()(Code) | | Returns a description of the recordable.
the description |
getElementName | public String getElementName()(Code) | | Returns the name of the key event recordable
the name |
getEvent | public AWTEvent getEvent()(Code) | | Returns the event with the attributes specified by this recordable (except for the component
attributes which will be dummy components).
DOCUMENT ME! |
getInterpretedKeyString | public String getInterpretedKeyString()(Code) | | Returns a key string.
the key sequence as string |
getKeyChar | public char getKeyChar()(Code) | | Returns the key char.
the key char |
getKeyCode | public int getKeyCode()(Code) | | Returns the key code.
the key code |
getKeyString | public String getKeyString()(Code) | | Returns a key string.
the key sequence as string |
setKeyChar | public void setKeyChar(char keyChar)(Code) | | Sets the key cchar of the key event.
Parameters: keyChar - the key char |
setKeyCode | public void setKeyCode(int keyCode)(Code) | | Sets the key code of the key event.
Parameters: keyCode - the key code |
toShortString | public String toShortString()(Code) | | Returns a String which describes the content of the recordable shortly.
a string with a short description of the object |
toString | public String toString()(Code) | | Returns a string representation of the key event recordable.
the string representation |
|
|