A B C D E F G I J K L M N P R S T U V W

A

accept(File) - Method in class jgGlyphs.GlyphFilter
Accepts a file if it has a supported extension, and optionally if it starts with one of the glyphs specified by the GlyphSet this object was created with.
actionPerformed(ActionEvent) - Method in class jgGame.JgGameClassic
The action performed when a glyph buton is pressed.
actionPerformed(ActionEvent) - Method in class jgGlyphs.GlyphImageWindow
Invoked when the picture is changed; removes all children and repaints them.
actionPerformed(ActionEvent) - Method in class jgSettings.CatagorySelectionUI
 
actionPerformed(ActionEvent) - Method in class jgSettings.JgSettingsUI
 
add(String) - Method in class jgDataLoader.CatagoryList
Adds a catagory to the list
addCatagoriesFromDir(File) - Method in class jgDataLoader.DataLoader
Adds catagory names to the list of catagories, using the directory entries in 'dir'.
addCatagoryChangeListener(CatagoryChangeListener) - Static method in class jgDataLoader.CatagoryListenerList
Adds a catagory change listener to the registry
addChildren() - Method in class jgGame.JgGameClassic
Adds all children
addChildren() - Method in class jgGlyphs.GlyphImageWindow
Adds all the children
addChildren() - Method in class jgSettings.JgSettingsUI
Adds the children of this UI
addGlyph(String) - Method in class jgGlyphs.GlyphSet
Adds a glyph to the list.
addGlyphChars(String) - Method in class jgGlyphs.GlyphSet
Adds new glyphs to the set.
addGlyphImage(File) - Method in class jgGlyphs.GlyphImageList
Adds a glyph image.
addGlyphs(String[]) - Method in class jgGlyphs.GlyphSet
Adds each String in the array via the addGlyph method
addGlyphs(GlyphSet) - Method in class jgGlyphs.GlyphSet
Adds each glyph in the passed GlyphSet to this GlyphSet
allCatButton - Variable in class jgSettings.CatagorySelectionUI
 
availableGlyphs - Variable in class jgSettings.GlyphSelectionUI
 

B

begin() - Static method in class jgGame.JgGameClassic
This is how the game is started.
buttonAction - Variable in class jgSettings.GlyphSelectionUI
 

C

CatagoryChangeEvent - class jgDataLoader.CatagoryChangeEvent.
This is an event object signifying that the catagory has changed.
CatagoryChangeEvent(Object) - Constructor for class jgDataLoader.CatagoryChangeEvent
Constructor.
CatagoryChangeListener - interface jgDataLoader.CatagoryChangeListener.
Objects interested in catagory changes must implement this interface.
CatagoryList - class jgDataLoader.CatagoryList.
This class contains the list of available catagories.
CatagoryList() - Constructor for class jgDataLoader.CatagoryList
Constructs the catagory list
CatagoryListenerList - class jgDataLoader.CatagoryListenerList.
Maintains the list of CatagoryChangeListeners.
CatagoryListenerList() - Constructor for class jgDataLoader.CatagoryListenerList
Constructor
CatagorySelectionUI - class jgSettings.CatagorySelectionUI.
This description left intentionally blank
CatagorySelectionUI() - Constructor for class jgSettings.CatagorySelectionUI
 
catList - Variable in class jgSettings.CatagorySelectionUI
 
catagory - Variable in class jgSettings.JgSettings
A string representing the catagory to start with
catagoryChanged(CatagoryChangeEvent) - Method in interface jgDataLoader.CatagoryChangeListener
 
catagoryChanged(CatagoryChangeEvent) - Method in class jgSettings.JgSettingsUI
 
catagoryList - Variable in class jgDataLoader.CatagoryList
Private list of catagories as strings
catagoryList - Variable in class jgDataLoader.DataLoader
Private instance of the catagory list
catagoryWasSet - Variable in class jgSettings.JgSettings
Set to true if the catagory was specified on the command line
cll - Static variable in class jgDataLoader.CatagoryListenerList
Singleton instance of this clobject
contains(String) - Method in class jgDataLoader.CatagoryList
Checks to see if a catagory is in the list.
contains(String) - Method in class jgGlyphs.GlyphSet
Returns true if the glyph set contains the specified glyph
crash(String) - Method in class jgMain.JgDebug
Crashes the program for the following reason:
createButtons() - Method in class jgSettings.GlyphSelectionUI
 
createExitButton() - Method in class jgGame.JgGameClassic
Creates the convenient means for quitting the game.
createGlyphButtons() - Method in class jgGame.JgGameClassic
Creates the main point of the game, which is the buttons for the glyphs.
createImageButton(GlyphImage) - Method in class jgGlyphs.GlyphImageWindow
Creates the image button and its contianer; returns the container
createNameSelection() - Method in class jgGlyphs.GlyphImageWindow
Creates the image selection part (iff there is more than one image) and its contianer.
csUI - Variable in class jgSettings.JgSettingsUI
The catagory selection part

D

DataLoader - class jgDataLoader.DataLoader.
The data loader is resposible for maintaing a list of catagory folder locations, validating catagories, and loading media in the catagories.
DataLoader() - Constructor for class jgDataLoader.DataLoader
Constructor.
dl - Static variable in class jgMain.JgMain
A reference to the DataLoader instance
drawUI() - Static method in class jgSettings.JgSettingsUI
Draws the Settings selection dialog.

E

equalsNameOf(GlyphImage) - Method in class jgGlyphs.GlyphImage
This is a convenience wrapper for the static class method.
equalsNameOf(GlyphImage, GlyphImage) - Static method in class jgGlyphs.GlyphImage
Compares the names of two GlyphImages to see if they are equal.
extensionOK(File) - Method in class jgGlyphs.GlyphFilter
Checks that the file has a supported extension.

F

findWindow(String) - Method in class jgGame.JgGameClassic
Locates a window in the internal Vector given the name (glyph) of the window.
fireCatagoryChangeEvent(Object) - Static method in class jgDataLoader.CatagoryListenerList
Alerts all listeners that the catagory has changed.

G

GlyphFilter - class jgGlyphs.GlyphFilter.
This is a FileFilter implemenation that filters files based on its extension and starting Characters.
GlyphFilter() - Constructor for class jgGlyphs.GlyphFilter
Constructor which will accept any starting glyphs.
GlyphFilter(String) - Constructor for class jgGlyphs.GlyphFilter
Constructs a GlyphFilter using the Characters in the passed String as the list of valid starting Characters.
GlyphFilter(String[]) - Constructor for class jgGlyphs.GlyphFilter
Constructs a GlyphFilter using the supplied array of Strings as the list of glyphs to filter on.
GlyphFilter(GlyphSet) - Constructor for class jgGlyphs.GlyphFilter
Constructor that takes a GlyphSet.
GlyphImage - class jgGlyphs.GlyphImage.
This class breaks down a filename into its basic parts.
GlyphImage(File) - Constructor for class jgGlyphs.GlyphImage
Constructor, specifies the File location
GlyphImageList - class jgGlyphs.GlyphImageList.
This is a simple class wrapper around a vector of glyph images.
GlyphImageList() - Constructor for class jgGlyphs.GlyphImageList
Constructs the list.
GlyphImageWindow - class jgGlyphs.GlyphImageWindow.
A GlyphImageWindow is a top level window showing the image and the glyph.
GlyphImageWindow(GlyphImage[]) - Constructor for class jgGlyphs.GlyphImageWindow
The only constructor.
GlyphSelectionUI - class jgSettings.GlyphSelectionUI.
This description left intentionally blank
GlyphSelectionUI() - Constructor for class jgSettings.GlyphSelectionUI
 
GlyphSet - class jgGlyphs.GlyphSet.
A GlyphSet is a collection of Characters and string fragments
GlyphSet() - Constructor for class jgGlyphs.GlyphSet
Constructor.
GlyphSet(GlyphSet) - Constructor for class jgGlyphs.GlyphSet
Constructor that effectively "clones" the passed GlyphSet
game - Static variable in class jgGame.JgGameClassic
The instance of this class
get(int) - Method in class jgGlyphs.GlyphImageList
Retrieves the kth image in the list
getAvailableGlyphImages(GlyphSet) - Method in class jgDataLoader.DataLoader
Retrieves all available glyph images restricted to the passed GlyphSet
getAvailableGlyphImages() - Method in class jgDataLoader.DataLoader
Retrieves all available glyph images with no glyph restrictions
getAvailableGlyphs(GlyphSet) - Method in class jgDataLoader.DataLoader
Retrieves a new GlyphSet indicating all available glyphs for the selected catagory, retstricted to the passed GlyphSet (if not empty).
getAvailableGlyphs() - Method in class jgDataLoader.DataLoader
Retrieves all available glyphs with no restrictions.
getCatagories() - Method in class jgDataLoader.CatagoryList
 
getCatagory() - Method in class jgSettings.JgSettings
Retrieves the catagory name.
getCatagoryNames() - Method in class jgDataLoader.DataLoader
Retrieves the names of all the available catagories.
getCurrentLocation() - Method in class jgMain.JgDebug
Gets the current location in the source
getCurrentMethod() - Method in class jgMain.JgDebug
Gets the current method in the source
getDataLoader() - Static method in class jgMain.JgMain
Retreives the data loader instance
getGame() - Static method in class jgGame.JgGameClassic
Returns the singleton instance of the game
getGlyph() - Method in class jgGlyphs.GlyphImage
This is a convenience wrapper for the static class method.
getGlyph(File) - Static method in class jgGlyphs.GlyphImage
Returns the glyph that this image pertains to, lowercased if applicable.
getGlyphImageIndex(String) - Method in class jgGlyphs.GlyphImageList
Retrieves the vector position of a GlyphImage specified by name
getGlyphImagesForGlyph(String) - Method in class jgGlyphs.GlyphImageList
Retrieves an array of GlyphImages for a specified glyph.
getGlyphSet() - Method in class jgSettings.JgSettings
Retrieves the GlyphSet instance
getGlyphs() - Method in class jgGlyphs.GlyphImageList
Retrieves a GlyphSet applicable to this list of glyph images.
getIncludeDir() - Method in class jgSettings.JgSettings
Retireves the user-specified include dir.
getList() - Static method in class jgDataLoader.CatagoryListenerList
Returns the singleton instance of this clobject
getLocation() - Method in class jgGlyphs.GlyphImage
Returns the location of this image.
getMarkupLabel() - Method in class jgGlyphs.GlyphImage
This is a convenience wrapper for the static class method.
getMarkupName(GlyphImage) - Static method in class jgGlyphs.GlyphImage
Gets the name of the image, marking up the name using html.
getName() - Method in class jgGlyphs.GlyphImage
This is a convenience wrapper for the static class method.
getName(File) - Static method in class jgGlyphs.GlyphImage
Returns the normalized name.
getName() - Method in class jgGlyphs.GlyphImageWindow
Retrieves the window name, which is the glyph that this window pertains to
getRandomColor() - Method in class jgGame.JgGameClassic
Used to get a psuedo-random color between the possibilities of red, blue, and green.
getSelected() - Method in class jgSettings.GlyphSelectionUI
Retrieves the selected glyphs
getSettings() - Static method in class jgMain.JgMain
Retrieves the settings object
getSize() - Method in class jgGlyphs.GlyphImageList
Returns the size of this list
giList - Variable in class jgGlyphs.GlyphImageList
The internal list of glyph images
giWindow - Variable in class jgGlyphs.GlyphImageWindow
The instance for this window
globalDir - Variable in class jgDataLoader.DataLoader
Global location of catagory folders
glyph - Variable in class jgGlyphs.GlyphImageWindow
The glyph for this window.
glyphSet - Variable in class jgGlyphs.GlyphFilter
This is the GlyphSet to filter on, if any
glyphs - Variable in class jgGame.JgGameClassic
Represents the set of available glyphs
glyphs - Variable in class jgGlyphs.GlyphSet
The vector of glyphs.
glyphs - Variable in class jgSettings.JgSettings
An array of Strings representing Characters or sequences for the game
glyphsWereSet - Variable in class jgSettings.JgSettings
Set to true if glyphs were specified on the command line.
gsUI - Variable in class jgSettings.JgSettingsUI
The glyph selection part

I

imageButton - Variable in class jgGlyphs.GlyphImageWindow
The image button, which acts as the image pane
images - Variable in class jgGame.JgGameClassic
The available glyphs
images - Variable in class jgGlyphs.GlyphImageWindow
The GlyphImageList this window was created with
imdex - Variable in class jgGlyphs.GlyphImageWindow
The currently displaying image
includeDir - Variable in class jgDataLoader.DataLoader
User specified directory.
includeDir - Variable in class jgSettings.JgSettings
An extra directory to search for catagory folders in
init() - Method in class jgSettings.JgSettings
Sets the defaults
intr - Variable in class jgMain.JgDebug
The level of depth in the current debugging object
isCatagoryValid(String) - Method in class jgDataLoader.DataLoader
Checks to see if a catagory is valid

J

JgDebug - class jgMain.JgDebug.
This description left intentionally blank
JgDebug() - Constructor for class jgMain.JgDebug
 
JgGameClassic - class jgGame.JgGameClassic.
This is the class for the actual game TODO: most of this needs to be super-classed to JgGame, which this should then extend.
JgGameClassic() - Constructor for class jgGame.JgGameClassic
Constructor.
JgMain - class jgMain.JgMain.
This description left intentionally blank
JgMain() - Constructor for class jgMain.JgMain
 
JgMeta - class jgMain.JgMeta.
Various information about the program
JgMeta() - Constructor for class jgMain.JgMeta
 
JgSettings - class jgSettings.JgSettings.
JgSettings maintains the settings for the program, such as catagory and selected glyphs.
JgSettings() - Constructor for class jgSettings.JgSettings
Constructor that sets default setings
JgSettings(String[]) - Constructor for class jgSettings.JgSettings
Constructor that sets settings according to the passed command line
JgSettingsUI - class jgSettings.JgSettingsUI.
This is a settings dialog.
JgSettingsUI() - Constructor for class jgSettings.JgSettingsUI
Protected constructor
jgDataLoader - package jgDataLoader
 
jgGame - package jgGame
 
jgGlyphs - package jgGlyphs
 
jgMain - package jgMain
 
jgSettings - package jgSettings
 

K

keepOnly(GlyphSet) - Method in class jgGlyphs.GlyphSet
Prunes this glyph set to contain only elements in the passed glyph set

L

loc - Variable in class jgGlyphs.GlyphImage
This is the full pathspec to the image
locateCatagory(String) - Method in class jgDataLoader.DataLoader
Locates a catagory by name.

M

main(String[]) - Static method in class jgMain.JgMain
duh

N

notify(String) - Method in class jgMain.JgDebug
Prints a debuging message.
notifyMethodEntered() - Method in class jgMain.JgDebug
Prints a notification that a method has been entered.
notifyMethodExit() - Method in class jgMain.JgDebug
Prints a notification that a method has been exited.

P

prefixOK(File) - Method in class jgGlyphs.GlyphFilter
Checks that the file starts with one of the glyphs in the internal GlyphSet.
printCopyright() - Static method in class jgMain.JgMeta
 
printCurrentMethod() - Method in class jgMain.JgDebug
Prints the current location in the source.
printHelp() - Static method in class jgMain.JgMeta
 
printStackTrace(int) - Method in class jgMain.JgDebug
Prints a stack trace up to a certain limit.
printVersion() - Static method in class jgMain.JgMeta
 
println(String) - Method in class jgMain.JgDebug
A simple wrapper around System.out.println(""); This is here to conveniently locate debugging messages in the source.

R

remove(String) - Method in class jgDataLoader.CatagoryList
Removes a catagory from the list.
removeCatagoryChangeListener(CatagoryChangeListener) - Static method in class jgDataLoader.CatagoryListenerList
Removes a catagory change listener
removeGlyph(String) - Method in class jgGlyphs.GlyphSet
Removes a glyph from the list
removeGlyphImage(String) - Method in class jgGlyphs.GlyphImageList
Removes a glyph image from the list, specified by name
removeGlyphs(GlyphSet) - Method in class jgGlyphs.GlyphSet
Removes all glyphs in the passed set from this GlyphSet
removeWindow(String) - Method in class jgGame.JgGameClassic
Removes a window by name (glyph) from the internal Vector.

S

selectedGlyphs - Variable in class jgSettings.GlyphSelectionUI
 
selectedLabel - Variable in class jgSettings.GlyphSelectionUI
 
setCatagory(String, Object) - Method in class jgSettings.JgSettings
Sets the catagory to the supplied string, or null to indicate 'all available catagories'.
setData() - Method in class jgGame.JgGameClassic
Sets internal data
setGlyphSet(GlyphSet) - Method in class jgSettings.JgSettings
Sets the glyphs used for play.
setSelected(GlyphSet) - Method in class jgSettings.GlyphSelectionUI
Sets the selected glyphs, pruning them to the available ones.
settings - Static variable in class jgMain.JgMain
A reference to the program settings
shouldDrawUI() - Method in class jgSettings.JgSettings
Checks to see if the UI should be drawn to select options.
size() - Method in class jgGlyphs.GlyphSet
Returns the number of glyphs in the set

T

toArray() - Method in class jgGlyphs.GlyphSet
Returns all the glyphs in order
toString() - Method in class jgDataLoader.CatagoryChangeEvent
Returns the string representation of this class
toString() - Method in class jgDataLoader.CatagoryList
Returns the string representation of this class
toString() - Method in class jgDataLoader.CatagoryListenerList
Returns the string representation of this class
toString() - Method in class jgDataLoader.DataLoader
Returns the string representation of this class
toString() - Method in class jgGame.JgGameClassic
Returns the string representation of this class
toString() - Method in class jgGlyphs.GlyphFilter
Returns the string representation of this class.
toString() - Method in class jgGlyphs.GlyphImage
Returns the string representation of this class
toString() - Method in class jgGlyphs.GlyphImageList
Returns the string representation of this class
toString() - Method in class jgGlyphs.GlyphImageWindow
Returns the string representation of this class
toString() - Method in class jgGlyphs.GlyphSet
Returns the string representation of this class
toString() - Method in class jgSettings.CatagorySelectionUI
Returns the string representation of this class
toString() - Method in class jgSettings.GlyphSelectionUI
Returns the string representation of this class
toString() - Method in class jgSettings.JgSettings
Returns the string representation of this class
toString() - Method in class jgSettings.JgSettingsUI
Returns the string representation of this class

U

ui - Static variable in class jgSettings.JgSettingsUI
Protected singleton instance
updateCatagoryDisplay() - Method in class jgSettings.CatagorySelectionUI
 
updateLabel() - Method in class jgSettings.GlyphSelectionUI
 
userDir - Variable in class jgDataLoader.DataLoader
User specific location of catagory folders (in the user's home dir)

V

version - Static variable in class jgMain.JgMeta
 

W

windows - Variable in class jgGame.JgGameClassic
The set extant windows

A B C D E F G I J K L M N P R S T U V W