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

N

NamedColor - class edu.kzoo.util.NamedColor.
Kalamazoo College Utility Classes:
The edu.kzoo.util.NamedColor class extends the java.awt.Color class to associate names with colors and to provide static methods that generate random colors.
NamedColor.ColorMap - class edu.kzoo.util.NamedColor.ColorMap.
ColorMap is a protected static class that represents a mapping of colors to names and names to colors.
NamedColor.ColorMap() - Constructor for class edu.kzoo.util.NamedColor.ColorMap
 
NamedColor(Color) - Constructor for class edu.kzoo.util.NamedColor
Creates a NamedColor version of the given Color object.
NamedColor(Color, String) - Constructor for class edu.kzoo.util.NamedColor
Creates a NamedColor version of the given Color object with the given name.
NamedColor(int, int, int) - Constructor for class edu.kzoo.util.NamedColor
Creates an opaque sRGB color with the specified red, green, and blue values in the range (0 - 255).
NamedColor(int, int, int, int) - Constructor for class edu.kzoo.util.NamedColor
Creates an sRGB color with the specified red, green, blue, and alpha values in the range (0 - 255).
NamedColor(int, int, int, int, String) - Constructor for class edu.kzoo.util.NamedColor
Creates an sRGB color with the specified red, green, blue, and alpha values in the range (0 - 255) and associated with the given name.
NamedColor(int, int, int, String) - Constructor for class edu.kzoo.util.NamedColor
Creates an opaque sRGB color with the specified red, green, and blue values in the range (0 - 255) and associated with the specified name.
NEEDS_APP_RUNNING - Static variable in class edu.kzoo.grid.gui.EnabledDisabledStates
Indicates that a component should be enabled when the application is actively executing (responding to another button, for example) and disabled whenever the application is waiting for user input, as for a stop button.
NEEDS_APP_WAITING - Static variable in class edu.kzoo.grid.gui.EnabledDisabledStates
Indicates that a component should be enabled whenever the application is waiting for user input (regardless of whether the user interface's grid has been set) and disabled when the application is actively executing (responding to another button, for example).
NEEDS_GRID - Static variable in class edu.kzoo.grid.gui.EnabledDisabledStates
Indicates that a component should be enabled if the grid associated with the component's user interface is not null.
NEEDS_GRID_AND_APP_RUNNING - Static variable in class edu.kzoo.grid.gui.EnabledDisabledStates
Indicates that a component should be enabled when the grid has been set and the application is actively executing (responding to another button, for example).
NEEDS_GRID_AND_APP_WAITING - Static variable in class edu.kzoo.grid.gui.EnabledDisabledStates
Indicates that a component should be enabled whenever the grid has been set and the application is waiting for user input.
neighborsOf(Location) - Method in class edu.kzoo.grid.Grid
Returns the adjacent neighbors of a specified location.
NewBoundedGridButton - class edu.kzoo.grid.gui.nuggets.NewBoundedGridButton.
Grid GUI Nuggets Package (Handy Grid GUI Components):
The NewBoundedGridButton class represents a button that prompts the user for the dimensions of a new grid and then constructs that grid.
NewBoundedGridButton(GridAppFrame) - Constructor for class edu.kzoo.grid.gui.nuggets.NewBoundedGridButton
Constructs a button labeled "Create New Grid" that will create a new BoundedGrid object with dimensions specified by the user through a dialog box.
NewBoundedGridButton(GridAppFrame, String) - Constructor for class edu.kzoo.grid.gui.nuggets.NewBoundedGridButton
Constructs a button that will create a new BoundedGrid object with dimensions specified by the user through a dialog box.
nextBoolean() - Method in class edu.kzoo.util.RandNumGenerator
Returns a pseudorandom, uniformly distributed boolean value from this random number generator's sequence.
nextDouble() - Method in class edu.kzoo.util.RandNumGenerator
Returns a pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence.
nextInt(int) - Method in class edu.kzoo.util.RandNumGenerator
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
NORTH - Static variable in class edu.kzoo.grid.Direction
 
NORTHEAST - Static variable in class edu.kzoo.grid.Direction
 
NORTHWEST - Static variable in class edu.kzoo.grid.Direction
 
notifyGridChangeListeners() - Method in class edu.kzoo.grid.gui.GridAppFrame
Notifies all registered model change listeners that the model has been replaced.
nSteps() - Method in class edu.kzoo.grid.gui.SteppedGridAppFrame
Advances the application multiple (N) steps (where N is provided by the user in a dialog box) in a separate thread.
numAdjacentNeighbors() - Method in class edu.kzoo.grid.Grid
Returns the number of adjacent neighbors around each cell.
numCols - Variable in class edu.kzoo.grid.display.ScrollableGridDisplay
 
numCols() - Method in class edu.kzoo.grid.Grid
Returns number of columns in this grid.
numCols() - Method in class edu.kzoo.grid.BoundedGrid
Returns number of columns in this grid.
numCols() - Method in class edu.kzoo.grid.BoundedGrid.Array2DGridRep
Returns number of columns in this grid.
numCols() - Method in class edu.kzoo.grid.ArrayListGrid.Bounded
Returns number of columns in this grid.
numCols() - Method in class edu.kzoo.grid.ArrayListGrid.Unbounded
Returns number of columns in this grid.
numObjects() - Method in class edu.kzoo.grid.Grid
Returns the number of objects in this grid.
numObjects() - Method in interface edu.kzoo.grid.Grid.InternalRepresentation
Returns the number of objects in this grid.
numObjects() - Method in class edu.kzoo.grid.BoundedGrid.Array2DGridRep
Returns the number of objects in this grid.
numObjects() - Method in class edu.kzoo.grid.ArrayListGrid.ArrayListGridRep
Returns the number of objects in this grid.
numRows - Variable in class edu.kzoo.grid.display.ScrollableGridDisplay
 
numRows() - Method in class edu.kzoo.grid.Grid
Returns number of rows in this grid.
numRows() - Method in class edu.kzoo.grid.BoundedGrid
Returns number of rows in this grid.
numRows() - Method in class edu.kzoo.grid.BoundedGrid.Array2DGridRep
Returns number of rows in this grid.
numRows() - Method in class edu.kzoo.grid.ArrayListGrid.Bounded
Returns number of rows in this grid.
numRows() - Method in class edu.kzoo.grid.ArrayListGrid.Unbounded
Returns number of rows in this grid.
numStepsSoFar - Variable in class edu.kzoo.grid.gui.SteppedGridAppFrame
 
numStepsToRun - Variable in class edu.kzoo.grid.gui.SteppedGridAppFrame
 

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