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

C

calculateGridLineWidth() - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
Returns the width of each grid line.
changeLocation(Location) - Method in class edu.kzoo.grid.GridObject
Modifies this grid object's location and notifies the grid.
changeName(String) - Method in class edu.kzoo.util.NamedColor
Changes the name associated with this color to the specified name.
changeNameColorMapping(String, Color) - Method in class edu.kzoo.util.NamedColor.ColorMap
Adds a named color to the map, removing any previous mapping involving either name or c.
changeNameOrColor(String, Color) - Static method in class edu.kzoo.util.NamedColor
Changes a name => color association to the new name and the new color.
CheckeredBackgroundDisplay - class edu.kzoo.grid.display.CheckeredBackgroundDisplay.
Grid Display Package:
The GridBackgroundDisplay interface specifies the method that must be provided by any class used to display a Grid background.
CheckeredBackgroundDisplay(ScrollableGridDisplay, Color, Color) - Constructor for class edu.kzoo.grid.display.CheckeredBackgroundDisplay
Constructs a background display that draws a checkered background for a grid, using the specified colors.
chooseColor() - Method in class edu.kzoo.grid.gui.ColorChoiceDDMenu
Follows up when the user picks a new choice from the drop-down menu (specified listener action).
chooseGridObjType() - Method in class edu.kzoo.grid.gui.GridEditor
Follows up when the user picks a new choice from the grid object combo box (specified listener action).
CINNAMON - Static variable in class edu.kzoo.util.NamedColor
 
ClearGridButton - class edu.kzoo.grid.gui.nuggets.ClearGridButton.
Grid GUI Nuggets Package (Handy Grid GUI Components):
The ClearGridButton class represents a button that clears all objects out of a grid.
ClearGridButton(GridAppFrame) - Constructor for class edu.kzoo.grid.gui.nuggets.ClearGridButton
Constructs a button labeled "Clear Grid" that will clear all objects out of a grid.
ClearGridButton(GridAppFrame, boolean) - Constructor for class edu.kzoo.grid.gui.nuggets.ClearGridButton
Constructs a button that will clear all objects out of a grid.
ClearGridButton(GridAppFrame, String) - Constructor for class edu.kzoo.grid.gui.nuggets.ClearGridButton
Constructs a button that will clear all objects out of a grid.
ClearGridButton(GridAppFrame, String, boolean) - Constructor for class edu.kzoo.grid.gui.nuggets.ClearGridButton
Constructs a button that will clear all objects out of a grid.
col() - Method in class edu.kzoo.grid.Location
Returns the column coordinate of this location.
color() - Method in class edu.kzoo.grid.TextCell
Gets color of text.
color() - Method in class edu.kzoo.grid.ColorBlock
Gets color value for color block.
ColorBlock - class edu.kzoo.grid.ColorBlock.
Grid Container Package:
A ColorBlock object encapsulates a color for a colored cell in a grid.
ColorBlock(Color) - Constructor for class edu.kzoo.grid.ColorBlock
Constructs a color block with the specified color.
ColorBlock(Color, Grid, Location) - Constructor for class edu.kzoo.grid.ColorBlock
Constructs a color block with the specified color.
ColorBlockDisplay - class edu.kzoo.grid.display.ColorBlockDisplay.
Grid Display Package:
A ColorBlockDisplay object displays a ColorBlock object, or any object with a color method, as a color block in a grid.
ColorBlockDisplay() - Constructor for class edu.kzoo.grid.display.ColorBlockDisplay
 
ColorChoiceDDMenu - class edu.kzoo.grid.gui.ColorChoiceDDMenu.
Grid GUI Support Package:
The ColorChoiceDDMenu class provides a drop-down menu for choosing a color.
ColorChoiceDDMenu.ColorChoice - class edu.kzoo.grid.gui.ColorChoiceDDMenu.ColorChoice.
Nested class used to hold the per-item information for the entries in the combo box of color choices.
ColorChoiceDDMenu.ColorChoice(NamedColor) - Constructor for class edu.kzoo.grid.gui.ColorChoiceDDMenu.ColorChoice
 
ColorChoiceDDMenu.ColorChoice(String, Color) - Constructor for class edu.kzoo.grid.gui.ColorChoiceDDMenu.ColorChoice
 
ColorChoiceDDMenu.ColorIcon - class edu.kzoo.grid.gui.ColorChoiceDDMenu.ColorIcon.
Nested class used to draw the color swatch icon used for color choice entries in the color combo box.
ColorChoiceDDMenu.ColorIcon(Color, int, int) - Constructor for class edu.kzoo.grid.gui.ColorChoiceDDMenu.ColorIcon
 
ColorChoiceDDMenu() - Constructor for class edu.kzoo.grid.gui.ColorChoiceDDMenu
Creates a color choice menu in which the selected choice to begin with is the "Random" color choice.
ColorChoiceDDMenu(ColorChoiceDDMenu.ColorChoice) - Constructor for class edu.kzoo.grid.gui.ColorChoiceDDMenu
Creates a color choice menu in which startingColorChoice is the selected one when the menu is created.
ColorChoiceDDMenu(ColorChoiceDDMenu.ColorChoice[], ColorChoiceDDMenu.ColorChoice) - Constructor for class edu.kzoo.grid.gui.ColorChoiceDDMenu
Creates a color choice menu with the specified color choices and with startingColorChoice as the selected one when the menu is created.
ColorChoiceDDMenu(String) - Constructor for class edu.kzoo.grid.gui.ColorChoiceDDMenu
Creates a color choice menu in which startingColorChoice is the selected one when the menu is created.
ColorChoiceMenu - class edu.kzoo.grid.gui.nuggets.ColorChoiceMenu.
Grid GUI Nuggets Package (Handy Grid GUI Components):
A ColorChoiceMenu object provides a drop-down menu for choosing a color.
ColorChoiceMenu(String) - Constructor for class edu.kzoo.grid.gui.nuggets.ColorChoiceMenu
Constructs a menu of color choices.
ColorChoiceMenu(String, ColorChoiceDDMenu.ColorChoice[], ColorChoiceDDMenu.ColorChoice) - Constructor for class edu.kzoo.grid.gui.nuggets.ColorChoiceMenu
Constructs a menu of color choices.
ColorChoiceMenu(String, String) - Constructor for class edu.kzoo.grid.gui.nuggets.ColorChoiceMenu
Constructs a menu of color choices.
colorMenu - Variable in class edu.kzoo.grid.gui.nuggets.ColorChoiceMenu
 
colToXCoord(int) - Method in class edu.kzoo.grid.display.ScrollableGridDisplay
Returns X-coordinate of left side of given column.
compareTo(Object) - Method in class edu.kzoo.grid.Location
Compares this location to other for ordering.
componentRequiresGrid(JComponent) - Method in class edu.kzoo.grid.gui.GridAppFrame
Returns true if the given component requires the grid to have been set in order to be enabled; false otherwise.
componentsEnabledOnlyIfGridSet() - Method in class edu.kzoo.grid.gui.GridAppFrame
Returns the set of components that should be enabled only when the current grid is not null.
componentsEnabledOnlyWhenRunning() - Method in class edu.kzoo.grid.gui.GridAppFrame
Returns the set of components that should be enabled only when the application is actively running, and should be disabled when the application is ready and waiting for user input.
componentsEnabledOnlyWhenWaiting() - Method in class edu.kzoo.grid.gui.GridAppFrame
Returns the set of components that should be enabled only when the application is ready and waiting for user input.
constructDisplay(int, int, int, Color) - Method in class edu.kzoo.grid.gui.GridAppFrame
Constructs the grid display at the heart of the graphical user interface.
constructGrid(Class) - Static method in class edu.kzoo.grid.gui.GridPkgFactory
Creates an instance of a Grid using the default constructor of the given class.
constructGrid(Class, int, int) - Static method in class edu.kzoo.grid.gui.GridPkgFactory
Creates an instance of a Grid using the 2-argument constructor of the given class.
constructGridObject(Class, Grid, Location) - Static method in class edu.kzoo.grid.gui.GridPkgFactory
Creates an instance of the given grid object class using a two-argument constructor that takes a grid and a location.
constructGridObject(Class, Grid, Location, Direction) - Static method in class edu.kzoo.grid.gui.GridPkgFactory
Creates an instance of the given grid object class using a three-argument constructor that takes a grid, a location, and a direction.
constructGridObject(Class, Grid, Location, Direction, Color) - Static method in class edu.kzoo.grid.gui.GridPkgFactory
Creates an instance of the given grid object class using a four-argument constructor that takes a grid, a location, a direction, and a color.
constructObject(Class, Class[], Object[]) - Static method in class edu.kzoo.grid.gui.GridPkgFactory
Creates an object of the given class.
constructWindowContents() - Method in class edu.kzoo.grid.gui.GridEditor
Constructs the display for a GridEditor using values from the parent frame.
constructWindowContents(String, Color, int, int, int) - Method in class edu.kzoo.grid.gui.GridEditor
Constructs the display for a GridEditor.
constructWindowContents(String, Color, int, int, int) - Method in class edu.kzoo.grid.gui.GridAppFrame
Constructs the body of a window containing a scrollable display for a grid and its contents.
constructWindowContents(String, int, int, int) - Method in class edu.kzoo.grid.gui.GridAppFrame
Constructs the body of a window containing a scrollable display for a grid and its contents.
containsColor(Color) - Method in class edu.kzoo.util.NamedColor.ColorMap
Checks whether or not the mapping contains a name => color mapping for the given color.
containsName(String) - Method in class edu.kzoo.util.NamedColor.ColorMap
Checks whether or not the mapping contains a color with the given name.
ControlButton - class edu.kzoo.grid.gui.ControlButton.
Grid GUI Support Package:
The ControlButton class represents a button whose button action runs in the same thread as the rest of the graphical user interface.
ControlButton(GridAppFrame, String, boolean) - Constructor for class edu.kzoo.grid.gui.ControlButton
Constructs a button.
createButtons() - Method in class edu.kzoo.grid.gui.GeneratedButtonList
Creates control buttons that, when pressed, will pass a message to the appropriate method in the target object.
createFileChooser() - Method in class edu.kzoo.grid.gui.FileMenuActionHandler
Creates the file chooser.
createGridCreationDialog() - Method in class edu.kzoo.grid.gui.FileMenuActionHandler
Creates a grid creation dialog.
createNewGrid() - Method in class edu.kzoo.grid.gui.FileMenuActionHandler
Creates a new empty grid and invokes the grid editor.
currentColor() - Method in class edu.kzoo.grid.gui.ColorChoiceDDMenu
Returns the currently selected color.
currentColor() - Method in class edu.kzoo.grid.gui.nuggets.ColorChoiceMenu
Returns the current color from the drop-down menu.
currentGridObjectClass() - Method in class edu.kzoo.grid.gui.GridEditor
Returns the currently selected grid object class.
CUSTOM - Static variable in class edu.kzoo.grid.gui.ColorChoiceDDMenu
 
CYAN - Static variable in class edu.kzoo.util.NamedColor
NamedColor version of java.awt.Color constant

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