A B C D E F G H I L M N O P R S T U V W X Y Z

G

GeneratedButtonList - class edu.kzoo.grid.gui.GeneratedButtonList.
Grid GUI Support Package:
A GeneratedButtonList object creates a group of control buttons based on the methods of another class.
GeneratedButtonList.GeneratedThreadedControlButton - class edu.kzoo.grid.gui.GeneratedButtonList.GeneratedThreadedControlButton.
GeneratedThreadedControlButton objects represent buttons whose button action is to reflectively invoke the appropriate method in the target object.
GeneratedButtonList.GeneratedThreadedControlButton(GridAppFrame, String, boolean) - Constructor for class edu.kzoo.grid.gui.GeneratedButtonList.GeneratedThreadedControlButton
Constructs a button that will run in its own thread.
GeneratedButtonList(GridAppFrame, Object, boolean) - Constructor for class edu.kzoo.grid.gui.GeneratedButtonList
Constructs a list of control buttons based on methods associated with the given target object.
GeneratedButtonList(GridAppFrame, Object, boolean, boolean) - Constructor for class edu.kzoo.grid.gui.GeneratedButtonList
Constructs a list of control buttons based on methods associated with the given target object.
GeneratedButtonList(GridAppFrame, Object, Object[], boolean) - Constructor for class edu.kzoo.grid.gui.GeneratedButtonList
Constructs a list of control buttons based on methods associated with the given target object.
GeneratedButtonList(GridAppFrame, Object, Object[], boolean, boolean) - Constructor for class edu.kzoo.grid.gui.GeneratedButtonList
Constructs a list of control buttons based on methods associated with the given target object.
getAllColorNames() - Static method in class edu.kzoo.util.NamedColor
Gets the names of all the colors with name => color associations.
getAllColorNames() - Method in class edu.kzoo.util.NamedColor.ColorMap
Gets all of the color names in the map.
getAllNamedColors() - Static method in class edu.kzoo.util.NamedColor
Gets all the colors with name => color associations.
getAllNamedColors() - Method in class edu.kzoo.util.NamedColor.ColorMap
Gets all of the colors in the map (colors for which there are associated names.
getBoolean(String, boolean, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it.
getByte(String, byte, byte, byte, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid byte in the range provided).
getByte(String, byte, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid byte).
getChar(String, char, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid char).
getChoice(String) - Static method in class edu.kzoo.grid.gui.ColorChoiceDDMenu
Gets the color choice from STANDARD_CHOICES with the specified name.
getClarificationResponse(int) - Method in class edu.kzoo.grid.gui.SteppedGridAppFrame
Provides a follow-up prompt for number of steps if initial response failed validation, and gets result.
getColor() - Method in class edu.kzoo.grid.gui.ColorChoiceDDMenu.ColorChoice
 
getController() - Method in class edu.kzoo.grid.gui.SteppedGridAppFrame
Returns the controller used to drive the application.
getControlPanel() - Method in class edu.kzoo.grid.gui.GridAppFrame
Returns the control panel (null if this graphical user interface has no control panel).
getDefaultDisplay() - Static method in class edu.kzoo.grid.display.DefaultDisplayFactory
Returns a DefaultDisplay object.
getDefaultDisplay(Class) - Static method in class edu.kzoo.grid.display.DefaultDisplayFactory
Returns a default display specific to the given class if there is one.
getDefaultDisplay(String) - Static method in class edu.kzoo.grid.display.DefaultDisplayFactory
Returns a default display specific to the given class if there is one.
getDelay() - Method in class edu.kzoo.grid.gui.GridAppFrame
Returns the current delay value from the speed slider or a previous call to setDelay; defaults to 0 if there is no speed slider included with this graphical user interface and if setDelay has never been called.
getDirection(Location, Location) - Method in class edu.kzoo.grid.Grid
Returns the direction from one location to another.
getDisplay() - Method in class edu.kzoo.grid.gui.GridAppFrame
Gets the grid display.
getDisplayClass(String, String) - Static method in class edu.kzoo.grid.display.DefaultDisplayFactory
Instantiates a display class named fullDisplayClassName, if such a class exists.
getDouble(String, double, double, double, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid double in the range provided).
getDouble(String, double, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid double).
getEnclosingViewport() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
Gets our parent viewport, if we are in one.
getFileChooser() - Method in class edu.kzoo.grid.gui.FileMenuActionHandler
Gets the file chooser dialog used previously (if any) or creates a new one using the createFileChooser method.
getFileHandler() - Method in class edu.kzoo.grid.gui.FileMenuActionHandler
Gets the object that handles file i/o.
getFileHandler() - Method in class edu.kzoo.grid.gui.nuggets.BasicGridFileMenu
Gets the object that handles file i/o.
getFileMenuActionHandler() - Method in class edu.kzoo.grid.gui.nuggets.BasicGridFileMenu
Gets the action handler for the file menu.
getFloat(String, float, float, float, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid float in the range provided).
getFloat(String, float, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid float).
getGrid() - Method in class edu.kzoo.grid.gui.SteppedGridAppController
Gets the application's grid.
getGrid() - Method in class edu.kzoo.grid.gui.GridAppFrame
Returns the grid at the center of this graphical user interface.
getGridCreationDialog() - Method in class edu.kzoo.grid.gui.FileMenuActionHandler
Gets the dialog used previously (if any) for grid creation.
getGUI() - Method in class edu.kzoo.grid.gui.ControlButton
Returns the graphical user interface containing this button.
getIcon() - Method in class edu.kzoo.grid.display.ScaledImageDisplay
Returns the image to use for display purposes.
getIconHeight() - Method in class edu.kzoo.grid.gui.GridEditor.GridObjectIcon
 
getIconHeight() - Method in class edu.kzoo.grid.gui.ColorChoiceDDMenu.ColorIcon
 
getIconWidth() - Method in class edu.kzoo.grid.gui.GridEditor.GridObjectIcon
 
getIconWidth() - Method in class edu.kzoo.grid.gui.ColorChoiceDDMenu.ColorIcon
 
getInitialResponse(int) - Method in class edu.kzoo.grid.gui.SteppedGridAppFrame
Provides inital prompt for number of steps and gets result.
getInstance() - Static method in class edu.kzoo.util.RandNumGenerator
Returns a random number generator.
getInteger(String, int, int, int, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid integer in the range provided).
getInteger(String, int, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid integer).
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class edu.kzoo.grid.display.TextAndIconRenderer
Returns a component that can display the specified value.
getLong(String, long, long, long, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid long in the range provided).
getLong(String, long, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid long).
getMinimumSize() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
Returns the minimum size of the display, for use by layout manager.
getMouseListenerForDisplay() - Method in class edu.kzoo.grid.gui.GridAppFrame
Returns a mouse adapter that responds to mouse presses over the grid display.
getMouseLocation(MouseEvent) - Method in class edu.kzoo.grid.gui.GridAppFrame.DisplayMouseListener
Returns the Location in the grid corresponding to the location of the mouse event.
getName() - Method in class edu.kzoo.util.NamedColor
Gets the name associated with this color.
getNamedColor(String) - Static method in class edu.kzoo.util.NamedColor
Gets the color associated with the specified name, if there is one.
getNamedColor(String) - Method in class edu.kzoo.util.NamedColor.ColorMap
Gets the color associated with the specified name.
getNameFor(Color) - Static method in class edu.kzoo.util.NamedColor
Gets the name associated with the specified color, if there is one.
getNameFor(Color) - Method in class edu.kzoo.util.NamedColor.ColorMap
Gets the name associated with the specified color.
getNeighbor(Location, Direction) - Method in class edu.kzoo.grid.Grid
Returns the adjacent neighbor (whether valid or invalid) of a location in the specified direction.
getObjectClass() - Method in class edu.kzoo.grid.gui.GridEditor.GridObjectChoice
 
getPannableTipText() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
 
getPannableTipText() - Method in interface edu.kzoo.grid.display.PseudoInfiniteViewport.Pannable
 
getParentFrame() - Method in class edu.kzoo.grid.gui.FileMenuActionHandler
Gets the frame containing the file menu associated with this handler.
getParentFrame() - Method in class edu.kzoo.grid.gui.nuggets.BasicGridFileMenu
Gets the frame containing the file menu associated with this handler.
getPreferredScrollableViewportSize() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
 
getPreferredSize() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
Returns the desired size of the display, for use by layout manager.
getRandomAlphaColor() - Static method in class edu.kzoo.util.NamedColor
Generates a pseudorandom named NamedColor value.
getRandomColor() - Static method in class edu.kzoo.util.NamedColor
Generates a pseudorandom opaque NamedColor value.
getRandomColor(int) - Static method in class edu.kzoo.util.NamedColor
Generates a pseudorandom NamedColor value with the specified transparency level.
getRandomNamedColor() - Static method in class edu.kzoo.util.NamedColor
Generates a pseudorandom opaque namedNamedColor value.
getRandomNamedColor() - Method in class edu.kzoo.util.NamedColor.ColorMap
Gets a random NamedColor from the map.
getRandomNamedColor(int) - Static method in class edu.kzoo.util.NamedColor
Generates a pseudorandom named NamedColor value with the specified transparency level.
getResponse(String, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Displays the appropriate JOptionPane and gets the result.
getRGBRepresentation() - Method in class edu.kzoo.util.NamedColor
Gets the component representation of the color (the value returned by the java.util.Color.toString method).
getScrollableBlockIncrement(Rectangle, int, int) - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
 
getScrollableTracksViewportHeight() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
 
getScrollableTracksViewportWidth() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
 
getScrollableUnitIncrement(Rectangle, int, int) - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
 
getSelectedClass() - Method in class edu.kzoo.grid.gui.GridChoiceComboBox
Returns the class associated with the selected item in the combo box.
getShort(String, short, short, short, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid short in the range provided).
getShort(String, short, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response, and validates it (the response must be a valid short).
getSpeedSlider() - Method in class edu.kzoo.grid.gui.GridAppFrame
Returns the speed slider bar (null if no speed slider is included with this graphical user interface).
getString(String, String) - Static method in class edu.kzoo.util.ValidatedInputReader
Puts up a dialog box displaying the initialPrompt, waits for the user's response.
getText(GridObject) - Method in class edu.kzoo.grid.display.TextDisplay
Gets the text string to draw.
getText(GridObject) - Method in class edu.kzoo.grid.display.TextCellDisplay
Gets the text string to draw.
getText(GridObject) - Method in class edu.kzoo.grid.display.DefaultDisplay
Gets the text string to draw.
getTextColor(GridObject) - Method in class edu.kzoo.grid.display.TextDisplay
Gets the text color.
getTextColor(GridObject) - Method in class edu.kzoo.grid.display.TextCellDisplay
Gets the text color.
getToolTipText(MouseEvent) - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
Given a MouseEvent, determines what text to place in the floating tool tip when the the mouse hovers over this location.
getViewPosition() - Method in class edu.kzoo.grid.display.PseudoInfiniteViewport
Returns current view position (upper left).
getViewSize() - Method in class edu.kzoo.grid.display.PseudoInfiniteViewport
Returns current view size.
GRAY - Static variable in class edu.kzoo.grid.gui.ColorChoiceDDMenu
 
GRAY - Static variable in class edu.kzoo.util.NamedColor
NamedColor version of java.awt.Color constant
GREEN - Static variable in class edu.kzoo.grid.gui.ColorChoiceDDMenu
 
GREEN - Static variable in class edu.kzoo.util.NamedColor
NamedColor version of java.awt.Color constant
Grid - class edu.kzoo.grid.Grid.
Grid Container Package:
A Grid is a two-dimensional, rectangular container data structure.
Grid.BoundedGridValidityChecker - class edu.kzoo.grid.Grid.BoundedGridValidityChecker.
A BoundedGridValidityChecker implements a strategy for determining the validity of a location in a bounded grid.
Grid.BoundedGridValidityChecker(int, int) - Constructor for class edu.kzoo.grid.Grid.BoundedGridValidityChecker
Constructs a BoundedGridValidityChecker object.
Grid.InternalRepresentation - interface edu.kzoo.grid.Grid.InternalRepresentation.
The InternalRepresentation interface specifies the methods that any internal representation of the Grid class must implement.
Grid.UnboundedGridValidityChecker - class edu.kzoo.grid.Grid.UnboundedGridValidityChecker.
An UnboundedGridValidityChecker implements a strategy for determining the validity of a location in an unbounded grid.
Grid.UnboundedGridValidityChecker() - Constructor for class edu.kzoo.grid.Grid.UnboundedGridValidityChecker
 
Grid.ValidityChecker - interface edu.kzoo.grid.Grid.ValidityChecker.
A ValidityChecker specifies a strategy for determining the validity of a location in a grid.
grid() - Method in class edu.kzoo.grid.GridObject
Returns the grid in which this grid object exists.
grid() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
Gets the grid.
Grid(Grid.InternalRepresentation) - Constructor for class edu.kzoo.grid.Grid
Constructs a Grid object with the specified internal representation.
Grid(Grid.InternalRepresentation, boolean) - Constructor for class edu.kzoo.grid.Grid
Constructs a Grid object with the specified internal representation.
GridAppFrame - class edu.kzoo.grid.gui.GridAppFrame.
Grid GUI Support Package:
The GridAppFrame class provides a window in which to display a grid and its contents.
GridAppFrame.DisplayMouseListener - class edu.kzoo.grid.gui.GridAppFrame.DisplayMouseListener.
Nested class that handles simple mouse presses over the grid display.
GridAppFrame.DisplayMouseListener() - Constructor for class edu.kzoo.grid.gui.GridAppFrame.DisplayMouseListener
 
GridAppFrame.GUIExceptionHandler - class edu.kzoo.grid.gui.GridAppFrame.GUIExceptionHandler.
Nested class that is registered as the handler for exceptions on the Swing event thread.
GridAppFrame.GUIExceptionHandler() - Constructor for class edu.kzoo.grid.gui.GridAppFrame.GUIExceptionHandler
 
GridAppFrame() - Constructor for class edu.kzoo.grid.gui.GridAppFrame
Constructs an empty GridAppFrame window object that will display a grid.
GridBackgroundDisplay - interface edu.kzoo.grid.display.GridBackgroundDisplay.
Grid Display Package:
The GridBackgroundDisplay interface specifies the method that must be provided by any class used to display a Grid background.
GridChangeListener - interface edu.kzoo.grid.gui.GridChangeListener.
Grid GUI Support Package:
The GridChangeListener interface specifies the method used to notify GridChangeListener objects of changes to the grid.
GridChoiceComboBox - class edu.kzoo.grid.gui.GridChoiceComboBox.
Grid GUI Support Package:
A GridChoiceComboBox is a dialog that allows the user to choose the type of grid to be created and, if appropriate, its dimensions.
GridChoiceComboBox() - Constructor for class edu.kzoo.grid.gui.GridChoiceComboBox
 
GridCreationDialog - class edu.kzoo.grid.gui.GridCreationDialog.
Grid GUI Support Package:
A GridCreationDialog is a dialog that allows the user to construct a new grid, choosing its type (bounded or unbounded) and, if appropriate, its dimensions.
GridCreationDialog(JFrame, boolean) - Constructor for class edu.kzoo.grid.gui.GridCreationDialog
Creates a dialog that allows the user to choose the type of grid to create and/or its dimensions.
GridDataFileHandler - interface edu.kzoo.grid.gui.GridDataFileHandler.
Grid GUI Support Package:
The GridDataFileHandler interface specifies methods for reading grid information from a file and writing it to a file.
GridDisplay - interface edu.kzoo.grid.display.GridDisplay.
Grid Display Package:
The GridDisplay interface specifies the methods that must be provided by any class used to display a Grid object and its contents.
GridEditor - class edu.kzoo.grid.gui.GridEditor.
Grid GUI Support Package:
The GridEditor class provides a window in which to edit a grid.
GridEditor.GridObjectChoice - class edu.kzoo.grid.gui.GridEditor.GridObjectChoice.
Nested class used to hold the per-item information for the entries in the combo box of grid object choices.
GridEditor.GridObjectChoice(Class) - Constructor for class edu.kzoo.grid.gui.GridEditor.GridObjectChoice
 
GridEditor.GridObjectIcon - class edu.kzoo.grid.gui.GridEditor.GridObjectIcon.
Nested class used to draw the icons used for GridObject entries in the grid object combo box.
GridEditor.GridObjectIcon(Class, Color, int, int) - Constructor for class edu.kzoo.grid.gui.GridEditor.GridObjectIcon
 
GridEditor.GridObjectIcon(Class, int, int) - Constructor for class edu.kzoo.grid.gui.GridEditor.GridObjectIcon
 
GridEditor(GridAppFrame) - Constructor for class edu.kzoo.grid.gui.GridEditor
Constructs an empty GridEditor window to edit the grid in the specified frame.
GridFileChooser - class edu.kzoo.grid.gui.GridFileChooser.
Grid GUI Support Package:
A GridFileChooser is a JFileChooser subclass that adds some specialized behavior for opening and saving grid data files.
GridFileChooser() - Constructor for class edu.kzoo.grid.gui.GridFileChooser
Creates a new GridFileChooser.
gridLinesAreVisible() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
Returns true if the grid lines are visible, false otherwise.
gridLineWidth - Variable in class edu.kzoo.grid.display.ScrollableGridDisplay
 
GridObject - class edu.kzoo.grid.GridObject.
Grid Container Package:
A GridObject object is an object that can be contained in a grid.
GridObject() - Constructor for class edu.kzoo.grid.GridObject
Constructs an instance of a GridObject that is not yet in a grid.
GridObject(Grid, Location) - Constructor for class edu.kzoo.grid.GridObject
Constructs an instance of a GridObject and places it in the specified grid.
gridObjectClasses() - Static method in class edu.kzoo.grid.gui.GridPkgFactory
Returns the set of grid object classes known to the factory.
GridObjectDisplay - interface edu.kzoo.grid.display.GridObjectDisplay.
Grid Display Package:
The GridObjectDisplay interface contains the method needed to display an object in a grid.
GridPkgFactory - class edu.kzoo.grid.gui.GridPkgFactory.
Grid GUI Support Package:
The GridPkgFactory class provides a set of static methods for constructing grids and the objects they contain, and for keeping track of what types of grids or grid objects are available to a specific application.
GridPkgFactory() - Constructor for class edu.kzoo.grid.gui.GridPkgFactory
 
gui - Variable in class edu.kzoo.grid.gui.GeneratedButtonList
 

A B C D E F G H I L M N O P R S T U V W X Y Z