<HTML>
<HEAD>
<TITLE>Untitled file 'ControlPanel.html'</TITLE>
<!-- Copyright (c) 1996 by The Geometry Center. All Rights Reserved. -->
</HEAD>
<BODY BGCOLOR="FFFFFF">
<!-- *Navigation-Links -->
<B>Up:</B> <A HREF="source.html"><I>Java Kali Source Code and Documentation</I></A><BR>
<HR>
<p>

<!-- *Begin-Document-Body -->
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Mon Sep 16 18:51:14 CDT 1996 -->
<A NAME="_top_"></A>
<TITLE>
  Class ControlPanel
</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<H1>Class ControlPanel</H1>
<PRE>
<A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.lang.Object.html">java.lang.Object</A>
   |
   +----<A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.awt.Component.html">java.awt.Component</A>
           |
           +----<A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.awt.Container.html">java.awt.Container</A>
                   |
                   +----<A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.awt.Panel.html">java.awt.Panel</A>
                           |
                           +----ControlPanel
</PRE>
<HR>
<DL>
  <DT>class <B>ControlPanel</B>
  <DT>extends <A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.awt.Panel.html">Panel</A>
</DL>
The ControlPanel contains the buttons etc that allow the user to
change the group, current color, etc.
<HR>
<A NAME="index"></A>
<H2><IMG SRC="images/constructor-index.gif" WIDTH=275 HEIGHT=38 ALT="Constructor Index"></H2>
<DL>
  <DT><IMG SRC="images/yellow-ball-small.gif" WIDTH=6 HEIGHT=6 ALT=" o ">
	<A HREF="#ControlPanel(Kali, DrawPanel, Panorama)"><B>ControlPanel</B></A>(Kali, DrawPanel, Panorama)
  <DD>Create a new control panel object.
</DL>
<H2><IMG SRC="images/method-index.gif" WIDTH=207 HEIGHT=38 ALT="Method Index"></H2>
<DL>
  <DT><IMG SRC="images/red-ball-small.gif" WIDTH=6 HEIGHT=6 ALT=" o ">
	<A HREF="#action(java.awt.Event, java.lang.Object)"><B>action</B></A>(Event, Object)
  <DD>Handling method for button actions.
  <DT><IMG SRC="images/red-ball-small.gif" WIDTH=6 HEIGHT=6 ALT=" o ">
	<A HREF="#findColor(ImageButton)"><B>findColor</B></A>(ImageButton)
  <DD>Given a color button, return its index.
  <DT><IMG SRC="images/red-ball-small.gif" WIDTH=6 HEIGHT=6 ALT=" o ">
	<A HREF="#setGroupType(int)"><B>setGroupType</B></A>(int)
<DD></DL>
<A NAME="constructors"></A>
<H2><IMG SRC="images/constructors.gif" WIDTH=231 HEIGHT=38 ALT="Constructors"></H2>
<A NAME="ControlPanel"></A>
<A NAME="ControlPanel(Kali, DrawPanel, Panorama)"><IMG SRC="images/yellow-ball.gif" WIDTH=12 HEIGHT=12 ALT=" o "></A>
<B>ControlPanel</B>
<PRE>
  public ControlPanel(<A HREF="Kali.html#_top_">Kali</A> kali,
                      <A HREF="DrawPanel.html#_top_">DrawPanel</A> drawPanel,
                      <A HREF="Panorama.html#_top_">Panorama</A> panorama)
</PRE>
<DL>
  <DD>Create a new control panel object.
  <DL>
    <DT><B>Parameters:</B>
    <DD>kali - The Kali object for this applet
    <DD>drawPanel - The DrawPanel object for this applet
    <DD>panorama - The Panorama object for this applet
  </DL>
</DL>
<A NAME="methods"></A>
<H2><IMG SRC="images/methods.gif" WIDTH=151 HEIGHT=38 ALT="Methods"></H2>
<A NAME="setGroupType(int)"><IMG SRC="images/red-ball.gif" WIDTH=12 HEIGHT=12 ALT=" o "></A>
<A NAME="setGroupType"><B>setGroupType</B></A>
<PRE>
  public void setGroupType(int i)
</PRE>
<A NAME="findColor(ImageButton)"><IMG SRC="images/red-ball.gif" WIDTH=12 HEIGHT=12 ALT=" o "></A>
<A NAME="findColor"><B>findColor</B></A>
<PRE>
  public int findColor(<A HREF="ImageButton.html#_top_">ImageButton</A> button)
</PRE>
<DL>
  <DD>Given a color button, return its index.
</DL>
<A NAME="action(java.awt.Event, java.lang.Object)"><IMG SRC="images/red-ball.gif" WIDTH=12 HEIGHT=12 ALT=" o "></A>
<A NAME="action"><B>action</B></A>
<PRE>
  public boolean action(<A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.awt.Event.html">Event</A> e,
                        <A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.lang.Object.html">Object</A> arg)
</PRE>
<DL>
  <DD>Handling method for button actions.
  <DL>
    <DT><B>Overrides:</B>
    <DD><A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.awt.Component.html">action</A> in class <A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.awt.Component.html">Component</A>
  </DL>
</DL>
<!-- *End-Document-Body -->
<p>

<!-- *Navigation-Links -->
<HR>
<B>Up:</B> <A HREF="source.html"><I>Java Kali Source Code and Documentation</I></A><BR>

<!-- *GC-Common-Footer -->
<HR>
<NOBR><A HREF="/"><IMG SRC="/pix/home.gif" ALT="[HOME]" ALIGN=MIDDLE></A>
<I>The Geometry Center Home Page</I></NOBR>
<p>
Author: <A HREF="http://www.geom.umn.edu/locate/mbp">Mark Phillips</A><BR>
Comments to:
<A HREF="/admin/mail/webmaster.html">webmaster@geom.umn.edu</A><BR>
Created:  Sep 16 1996 --- 
<!-- hhmts start -->
Last modified: Sep 18 1996
<!-- hhmts end -->
</BODY>
</HTML>
