public class JournalRecordEvent extends HookEventObject
Hook.Descriptor.JOURNALRECORD
hook. This event
contains a message to be recorded.Constructor and Description |
---|
JournalRecordEvent(java.lang.Object source,
long code)
Creates instance of the
JournalRecordEvent that contains information about a hardware
message sent to the system message queue. |
JournalRecordEvent(java.lang.Object source,
long code,
long message,
long paramL,
long paramH,
long time,
Wnd wnd)
Creates instance of the
JournalRecordEvent that contains full information about a hardware
message sent to the system message queue. |
Modifier and Type | Method and Description |
---|---|
long |
getCode()
Returns value that specifies how to process the message.
|
long |
getMessage()
Returns the message.
|
long |
getParamH()
Returns value that specifies additional information about the message.
|
long |
getParamL()
Returns value that specifies additional information about the message.
|
long |
getTime()
Returns the time at which the message was posted.
|
Wnd |
getWnd()
Returns handle to the window to which the message was posted.
|
boolean |
isAction()
Returns value that indicates that the hook procedure must record the contents
of this instance by copying them to a buffer or file.
|
boolean |
isSystemModalDialogDestroyed()
Returns value that indicates that a system-modal dialog box has been destroyed.
|
boolean |
isSystemModalDialogDisplayed()
Returns value that indicates that a system-modal dialog box is being displayed.
|
public JournalRecordEvent(java.lang.Object source, long code)
JournalRecordEvent
that contains information about a hardware
message sent to the system message queue.source
- The object on which the event initially occurred.code
- Value that specifies how to process the message.public JournalRecordEvent(java.lang.Object source, long code, long message, long paramL, long paramH, long time, Wnd wnd)
JournalRecordEvent
that contains full information about a hardware
message sent to the system message queue.source
- The object on which the event initially occurred.code
- Value that specifies how to process the message.message
- Value that specifies the message.paramL
- Value that specifies additional information about the message. The exact meaning depends on the message
value.paramH
- Value that specifies additional information about the message. The exact meaning depends on the message
value.time
- Value that specifies the time at which the message was posted.wnd
- Handle to the window to which the message was posted.public long getCode()
public boolean isAction()
public boolean isSystemModalDialogDestroyed()
public boolean isSystemModalDialogDisplayed()
public long getMessage()
public long getParamL()
public long getParamH()
public long getTime()
public Wnd getWnd()