org.ascape.util.vis
Class SelectionGroup

java.lang.Object
  extended by org.ascape.util.vis.SelectionGroup
All Implemented Interfaces:
java.io.Serializable, java.util.Observer

public class SelectionGroup
extends java.lang.Object
implements java.util.Observer, java.io.Serializable

An class to enforce a radio group selection in a View's SelectionVector

Since:
1.0
Version:
2.9
Author:
Roger Critchlow
See Also:
Serialized Form

Constructor Summary
SelectionGroup(VectorSelection v)
          Creates a new SelectionGroup instance.
 
Method Summary
 void add(java.lang.Object o)
          Add an object to the radio select group.
 void update(java.util.Observable obj, java.lang.Object arg)
          Update the radio group selection status
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionGroup

public SelectionGroup(VectorSelection v)
Creates a new SelectionGroup instance.

Parameters:
v - a VectorSelection value
Method Detail

add

public void add(java.lang.Object o)
Add an object to the radio select group.

Parameters:
o - an Object value

update

public void update(java.util.Observable obj,
                   java.lang.Object arg)
Update the radio group selection status

Specified by:
update in interface java.util.Observer
Parameters:
obj - parameter
arg - parameter


Copyright © 1998-2008 The Brookings Institution, NuTech Solutions, Metascape, LLC All Rights Reserved.