All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cube.gui.CubeGUI

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----cube.gui.CubeGUI

public class CubeGUI
extends Frame
This class is the primary cube GUI

For more information on the cube see the cube Overview.
Copyright © 1997 Curtis E. Dyreson. All rights reserved. Please be aware of the Licence and Version.


Variable Index

 o drillButton
 o execButton
 o global
 o measureList
 o measuresLoaded
 o redoButton
 o unitList

Constructor Index

 o CubeGUI()
Create a new CubeGUI with a default title.
 o CubeGUI(String)
Build a new graphic user interface, with the given title
 o CubeGUI(String, int)
Build a new graphic user interface, with the given title

Method Index

 o aboutBox()
aboutBox - Action to take when the about box is selected
 o action(Event, Object)
Handle an event
 o helpBox()
helpBox - Action to take when the help box is selected
 o init()
Initialize the GUI
 o main(String[])
The starts the GUI
 o oldupdateUnit(int)
They've highlighted a Unit, now lets show all the subunits within this unit (plus this unit).
 o redoMeasuresForUnits(int)
Reload the measures into the appropriate unit list
 o runQuery()
Execute a query using the selected items! Currently, just print the name of the query.
 o selectMeasure(int)
Display the units in this list
 o selectUnit(int)
A double click on an item in the Unit List, depending on the state, take the appropriate action.
 o updateUnit(int)
They've highlighted a Unit, now lets show all the subunits within this unit (plus this unit).

Variables

 o global
  public Globals global
 o measureList
  public List measureList[]
 o unitList
  public List unitList[]
 o measuresLoaded
  public boolean measuresLoaded[]
 o execButton
  protected Button execButton
 o redoButton
  protected Button redoButton[]
 o drillButton
  protected Button drillButton[]

Constructors

 o CubeGUI
  public CubeGUI()
Create a new CubeGUI with a default title.

 o CubeGUI
  public CubeGUI(String title,
                 int k)
Build a new graphic user interface, with the given title

 o CubeGUI
  public CubeGUI(String title)
Build a new graphic user interface, with the given title

Methods

 o main
  public static void main(String args[])
The starts the GUI

 o init
  public void init()
Initialize the GUI

 o action
  public boolean action(Event event,
                        Object what)
Handle an event

Overrides:
action in class Component
 o runQuery
  public void runQuery()
Execute a query using the selected items! Currently, just print the name of the query.

 o selectUnit
  public void selectUnit(int dimension)
A double click on an item in the Unit List, depending on the state, take the appropriate action.

 o updateUnit
  public void updateUnit(int dimension)
They've highlighted a Unit, now lets show all the subunits within this unit (plus this unit).

Parameters:
name - - a list containing the selected unit
 o oldupdateUnit
  public void oldupdateUnit(int dimension)
They've highlighted a Unit, now lets show all the subunits within this unit (plus this unit).

Parameters:
name - - a list containing the selected unit
 o redoMeasuresForUnits
  public void redoMeasuresForUnits(int i)
Reload the measures into the appropriate unit list

Parameters:
i - - which dimension
 o selectMeasure
  public void selectMeasure(int i)
Display the units in this list

Parameters:
name - - list of units
 o helpBox
  public void helpBox()
helpBox - Action to take when the help box is selected

 o aboutBox
  public void aboutBox()
aboutBox - Action to take when the about box is selected


All Packages  Class Hierarchy  This Package  Previous  Next  Index