gumbo.interact
Class TestButtonStatuser

java.lang.Object
  |
  +--gumbo.interact.TestButtonStatuser

public class TestButtonStatuser
extends java.lang.Object

Translates button inputs, such as from a mouse or keyboard sensor, into a message in the target window status bar.

Version:
$Revision: 1.1 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Constructor Summary
TestButtonStatuser(MainWindow window)
          Creates a new instance.
 
Method Summary
 StateSetField.EventIn getButtonsIn()
          Button input.
 MainWindow getWindow()
          Gets the target window.
protected  void implProcess(MainWindow window, StateSet buttons)
          Called by the button input handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestButtonStatuser

public TestButtonStatuser(MainWindow window)
Creates a new instance.

Parameters:
window - The target window. Never null.
Method Detail

getWindow

public MainWindow getWindow()
Gets the target window. Never null.


getButtonsIn

public final StateSetField.EventIn getButtonsIn()
Button input.


implProcess

protected void implProcess(MainWindow window,
                           StateSet buttons)
Called by the button input handler. Override and/or chain to implement/augment button handling.