gumbo.interact.button
Class PickClickAdapter

java.lang.Object
  |
  +--gumbo.interact.button.PickClickAdapter

public class PickClickAdapter
extends java.lang.Object

An adapter that detects picks in a click sequence.

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

Constructor Summary
PickClickAdapter()
          Creates an instance with a default click adapter.
PickClickAdapter(ClickAdapter adapter)
          Creates an instance that wraps a click adapter.
 
Method Summary
 BooleanField.EventOut getActiveOut()
          Sends true while a click sequence is active.
 InteractorField.EventOut getDoubleOut()
          Fires on the second pick of a click series.
 InteractorField.EventIn getPickIn()
          Received each time a pick occurs.
 InteractorField.EventOut getSingleOut()
          Fires on the first pick of a click series.
 InteractorField.EventOut getTripleOut()
          Fires on the third pick of a click series.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PickClickAdapter

public PickClickAdapter()
Creates an instance with a default click adapter.


PickClickAdapter

public PickClickAdapter(ClickAdapter adapter)
Creates an instance that wraps a click adapter.

Parameters:
adapter - Click adapter. If null, a default one is used.
Method Detail

getPickIn

public InteractorField.EventIn getPickIn()
Received each time a pick occurs. Only the interactor for the the first pick in a series is recognized.


getSingleOut

public InteractorField.EventOut getSingleOut()
Fires on the first pick of a click series.


getDoubleOut

public InteractorField.EventOut getDoubleOut()
Fires on the second pick of a click series.


getTripleOut

public InteractorField.EventOut getTripleOut()
Fires on the third pick of a click series.


getActiveOut

public BooleanField.EventOut getActiveOut()
Sends true while a click sequence is active. While false, no output events are generated.