gumbo.interact.select
Class SelectAdapter

java.lang.Object
  |
  +--gumbo.interact.select.SelectAdapter

public class SelectAdapter
extends java.lang.Object

An adapter for selection group feedback. Converts discrete control events into a target interactor state, which involves a single selection group (such as that from a selection mapper).

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

Constructor Summary
SelectAdapter(InteractorGroup group)
          Creates an instance.
 
Method Summary
 InteractorGroup getSelectGroup()
          Returns this adapter's select interactor group.
 CollectionField.EventIn getTypeIn()
          The new selection type, specified as state flags (Object).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectAdapter

public SelectAdapter(InteractorGroup group)
Creates an instance.

Parameters:
group - The target selection group. Never null.
Method Detail

getSelectGroup

public InteractorGroup getSelectGroup()
Returns this adapter's select interactor group. Never null. Clients can directly modify its membership (typically using auto sync/desync), but not its state.


getTypeIn

public CollectionField.EventIn getTypeIn()
The new selection type, specified as state flags (Object). Possibly empty but never null. Replaces any old type using a "masked change" (only new and old type flags are affected). Group member state policies must be compatible with the selection type. Typically, select flags are type SelectFlag (such as InteractorFlags.SELECT_COMMAND). Defaults to no flags.