Up: Java Kali Source Code and Documentation

Class ImageButtonGroup

Class ImageButtonGroup

java.lang.Object
   |
   +----ImageButtonGroup

public class ImageButtonGroup
extends Object
The ImageButtonGroup object allows a collection of ImageButtons to function as a radio group. The ImageButtonGroup object is essentially the same as the java.awt.ButtonGroup object, but works with ImageButtons instead of java.awt.Button objects.

Constructor Index

 o ImageButtonGroup()
Creates a new ImageButtonGroup.

Method Index

 o getCurrent()
Gets the current choice.
 o setCurrent(ImageButton)
Sets the current choice to the specified ImageButton.
 o toString()
Returns the String representation of this ImageButtonGroup's values.

Constructors

 o ImageButtonGroup
  public ImageButtonGroup()
Creates a new ImageButtonGroup.

Methods

 o getCurrent
  public ImageButton getCurrent()
Gets the current choice.
 o setCurrent
  public synchronized void setCurrent(ImageButton button)
Sets the current choice to the specified ImageButton. If the ImageButton belongs to a different group, just return.
Parameters:
button - the current ImageButton choice
 o toString
  public String toString()
Returns the String representation of this ImageButtonGroup's values. Convert to String.
Overrides:
toString in class Object


Up: Java Kali Source Code and Documentation

[HOME] The Geometry Center Home Page

Author: Mark Phillips
Comments to: webmaster@geom.umn.edu
Created: Sep 16 1996 --- Last modified: Sep 18 1996