com.jniwrapper.win32.ui
Interface WindowMessageListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
WindowMessageListenerEx

public interface WindowMessageListener
extends java.util.EventListener

WindowMessageListener interface.


Method Summary
 boolean canHandle(WindowMessage message, boolean beforeWindowProc)
          Tests if the listener can handle a specified message.
 int handle(WindowMessage message)
          Handles window message.
 

Method Detail

canHandle

boolean canHandle(WindowMessage message,
                  boolean beforeWindowProc)
Tests if the listener can handle a specified message.

Parameters:
message -
beforeWindowProc - the flag specifies that the event occurred before or after window procedure.
Returns:
true if the message can be processed; otherwise false.

handle

int handle(WindowMessage message)
Handles window message.

Parameters:
message -
Returns:
the result of message processing.