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

A

ABSOLUTE_ZERO - Static variable in class com.pegacat.vcf.data.Body
 
ABUNDANT - Static variable in class com.pegacat.vcf.data.WorldResource
 
add(Component) - Method in class com.pegacat.vcf.GridPanel
Add the next component in a straight line, automatically incrementing the X position 'cursor'.
add(Component, int, int) - Method in class com.pegacat.vcf.GridPanel
Add a unit cell object to a specific x and y position.
add(Component, int, int, int, int) - Method in class com.pegacat.vcf.GridPanel
Adds a component to the specified x,y cell position, with a size spanning (width, height) cells.
addLine(Component) - Method in class com.pegacat.vcf.GridPanel
Adds a component taking up the remainder of the line (using GridBagConstraints.REMAINDER), and increments the cursor to the next line.
addLines(Component, int) - Method in class com.pegacat.vcf.GridPanel
Adds a large multi - line component at the next cursor position, increments the cursor to the start of the next line immediately below the object.
addln(Component) - Method in class com.pegacat.vcf.GridPanel
Adds a component taking up the remainder of the line (using GridBagConstraints.REMAINDER), and increments the cursor to the next line.
addPlugins(Vector) - Method in class com.pegacat.vcf.BaseGUI
Given a list of plugins, this creates a button for each one (using the plugins advertised name), and sets up a button listener to call the 'start()' method of the plugin when the button is pressed.
addResource(PluginResource) - Method in class com.pegacat.vcf.utility.PluginResourceLoader
Adds a new zip/jar resource file to the list of files to be examined for resources.
addStarToSystem(int, Star) - Static method in class com.pegacat.vcf.data.Star
 
addUnit(Unit, String) - Static method in class com.pegacat.vcf.data.Unit
This method is used internally to add units to an internal vector array, indexed by a particular key (unit types, world location etc.).
addWide(Component, int) - Method in class com.pegacat.vcf.GridPanel
Adds a wider-than-usual component, updating the cursor as appropriate.
allUnits - Static variable in class com.pegacat.vcf.data.Unit
 
ASTEROID - Static variable in class com.pegacat.vcf.data.Body
Size options
ATMOSNAMES - Static variable in class com.pegacat.vcf.data.ResourceType
names of valid atmospheres - used to detect atmospheric resources
atmosphere - Variable in class com.pegacat.vcf.data.Body
 
ATMOSPHERE - Static variable in class com.pegacat.vcf.data.ResourceType
 
ATMOSPHERENAMES - Static variable in class com.pegacat.vcf.data.Body
 
atmosphereString - Variable in class com.pegacat.vcf.data.Body
 

B

backgroundTileSize - Static variable in class com.pegacat.vcf.Skin
 
BaseGUI - class com.pegacat.vcf.BaseGUI.
The Base GUI displays itself and the various plugged-in components (obtained from Framework) using a skin.
BaseGUI(Framework, Skin) - Constructor for class com.pegacat.vcf.BaseGUI
Constructor takes a framework object, and creates the basic gui.
bodies - Variable in class com.pegacat.vcf.data.Star
worlds/moons around this star
Body - class com.pegacat.vcf.data.Body.
A voyager body - a world or a moon.
Body(String, VoyagerLocation) - Constructor for class com.pegacat.vcf.data.Body
Construct from a name and a location.
burps - Variable in class com.pegacat.vcf.data.Body
 
buttonHeight - Static variable in class com.pegacat.vcf.Skin
 
buttonStart - Static variable in class com.pegacat.vcf.Skin
 
buttonWidth - Static variable in class com.pegacat.vcf.Skin
 
byte2Hex(byte) - Static method in class com.pegacat.vcf.utility.Utility
 
bytes2Hex(byte[]) - Static method in class com.pegacat.vcf.utility.Utility
 

C

center(Component, Component) - Static method in class com.pegacat.vcf.utility.Utility
This positions a component to the center of another component.
centerOnScreen(Component) - Static method in class com.pegacat.vcf.utility.Utility
Centers the compenent on the screen
CH4 - Static variable in class com.pegacat.vcf.data.Body
Atmospheres
char2Hex(char) - Static method in class com.pegacat.vcf.utility.Utility
 
checkCookie(URLConnection) - Method in class com.pegacat.vcf.data.WebLoader
 
CL2 - Static variable in class com.pegacat.vcf.data.Body
Atmospheres
classes - Variable in class com.pegacat.vcf.utility.PluginClassLoader
a cached list of classes to speed the return of twice loaded classes.
clear_survey() - Method in class com.pegacat.vcf.data.SurveyListParser
clear any old survey data to start on a new survey
clone() - Method in class com.pegacat.vcf.data.WorldResource
Insert the method's description here.
CloudCover - Static variable in class com.pegacat.vcf.data.Body
 
CO2 - Static variable in class com.pegacat.vcf.data.Body
Atmospheres
COLD - Static variable in class com.pegacat.vcf.data.Body
 
com.pegacat.vcf - package com.pegacat.vcf
 
com.pegacat.vcf.data - package com.pegacat.vcf.data
 
com.pegacat.vcf.utility - package com.pegacat.vcf.utility
 
COMMON - Static variable in class com.pegacat.vcf.data.WorldResource
 
compareTo(Object) - Method in class com.pegacat.vcf.data.ResourceType
Compares this object with the specified object for order.
completedStage(int) - Method in interface com.pegacat.vcf.data.Loader.Watcher
 
connect() - Method in class com.pegacat.vcf.Framework
Trigger the 'Connect to server' screen.
connectionDialogHeight - Static variable in class com.pegacat.vcf.Skin
 
connectionDialogStart - Static variable in class com.pegacat.vcf.Skin
 
connectionDialogWidth - Static variable in class com.pegacat.vcf.Skin
 
connectToServer(URL, int, String, String) - Method in class com.pegacat.vcf.data.WebLoader
 
contents - Variable in class com.pegacat.vcf.utility.PluginResource
The contents of the zip file are cached the first time they are used, to speed any subsequent access of the same resource.
CULTURAL - Static variable in class com.pegacat.vcf.data.ResourceType
constants defining resource types
CURRENT_DATE - Static variable in class com.pegacat.vcf.data.DataLayer
 
currentTurn - Variable in class com.pegacat.vcf.data.DataLayer
 

D

DataLayer - class com.pegacat.vcf.data.DataLayer.
The DataLayer provides a common access point for all the different objects in the Voyager universe.
DataLayer() - Constructor for class com.pegacat.vcf.data.DataLayer
 
date - Variable in class com.pegacat.vcf.data.SurveyText
the date of the survey
debug - Static variable in class com.pegacat.vcf.Framework
 
debug - Static variable in class com.pegacat.vcf.data.Loader
 
debug - Static variable in class com.pegacat.vcf.data.WebLoader
 
debug - Static variable in class com.pegacat.vcf.data.OfflineLoader
 
debug - Static variable in class com.pegacat.vcf.data.DataLayer
 
debug - Static variable in class com.pegacat.vcf.utility.PluginClassLoader
 
debug - Static variable in class com.pegacat.vcf.utility.PluginResourceLoader
Whether to print out shtuff on the way.
description - Variable in class com.pegacat.vcf.data.Body
the actual world description - several lines of text
dist - Variable in class com.pegacat.vcf.data.Star
 
distanceFrom(Star) - Method in class com.pegacat.vcf.data.Star
Return the distance from another star.
distanceFrom(VoyagerLocation) - Method in class com.pegacat.vcf.data.VoyagerLocation
return distance from another location.
dumpZipEntry(ZipEntry) - Method in class com.pegacat.vcf.utility.PluginResource
Dumps a zip entry into a string.

E

eco - Variable in class com.pegacat.vcf.data.Body
 
empire - Variable in class com.pegacat.vcf.data.Body
 
empireNumber - Variable in class com.pegacat.vcf.data.DataLayer
 
entries - Variable in class com.pegacat.vcf.utility.PluginResource
When the PluginResource object is created, the referenced zip file's catalogue is read.
equals(Object) - Method in class com.pegacat.vcf.data.ResourceType
Compares two ResourceTypes for equality.
error - Variable in class com.pegacat.vcf.data.WebLoader
 
EXACT - Static variable in class com.pegacat.vcf.data.WorldResource
 
exactType - Variable in class com.pegacat.vcf.data.Unit
the type name of the unit (e.g.
exists() - Method in class com.pegacat.vcf.data.OfflineLoader
Returns whether this OfflineLoader has any valid files to parse
extraInfo - Variable in class com.pegacat.vcf.data.Body
extra info - includes cloud cover and the like
EXTREMELY_HOT - Static variable in class com.pegacat.vcf.data.Body
 

F

F2 - Static variable in class com.pegacat.vcf.data.Body
Atmospheres
FAR_STAR - Static variable in class com.pegacat.vcf.data.DataLayer
 
finalize() - Method in class com.pegacat.vcf.utility.PluginResource
 
findClass(String) - Method in class com.pegacat.vcf.utility.PluginClassLoader
This is a simple version for external clients since they will always want the class resolved before it is returned to them.
findClass(String, boolean) - Method in class com.pegacat.vcf.utility.PluginClassLoader
This is the required version of findClass which is called both from findClass above and from the internal function loadClass of the parent.
findResource(String) - Method in class com.pegacat.vcf.utility.PluginClassLoader
Returns a 'jar url' to the specified resource.
Framework - class com.pegacat.vcf.Framework.
The Framework is the glue that links the various parts of the program together.
Framework(Skin) - Constructor for class com.pegacat.vcf.Framework
 

G

GAS_GIANT - Static variable in class com.pegacat.vcf.data.Body
Size options
get(int) - Method in class com.pegacat.vcf.data.VoyagerText
Get an individual line from the text Creation date: (29/05/2001 9:55:33 AM)
getAllSurveys() - Method in class com.pegacat.vcf.data.Loader
 
getAllSurveys() - Method in class com.pegacat.vcf.data.DataLayer
 
getAllTech() - Method in class com.pegacat.vcf.data.Loader
 
getAllTech() - Method in class com.pegacat.vcf.data.DataLayer
 
getAtmosphere() - Method in class com.pegacat.vcf.data.Body
 
getAtmosphereString() - Method in class com.pegacat.vcf.data.Body
 
getBackgroundTileHeight() - Method in class com.pegacat.vcf.Skin
 
getBackgroundTileWidth() - Method in class com.pegacat.vcf.Skin
 
getBodies() - Method in class com.pegacat.vcf.data.Star
 
getBody(String) - Method in class com.pegacat.vcf.data.Star
Gets a world/moon by name (NNNA(NN)?) Creation date: (31/05/2001 1:29:14 PM)
getBurps() - Method in class com.pegacat.vcf.data.Body
 
getButton() - Method in class com.pegacat.vcf.Skin
Returns a set of 4 small buttons images 50 x 100 pixels, in order normal, highlit, pressed, and inactive.
getCargoReport() - Method in class com.pegacat.vcf.data.Loader
 
getCargoReport() - Method in class com.pegacat.vcf.data.DataLayer
 
getConnectionDialog() - Method in class com.pegacat.vcf.Skin
Returns a small (400 x 300) image used as the backdrop to the connection dialog box.
getCurrentTurn() - Method in class com.pegacat.vcf.data.DataLayer
Insert the method's description here.
getCurrentTurnNo() - Method in class com.pegacat.vcf.data.Loader
Tries to work out what the current turn is, (currently, by loading up the cargo report and parsing the header - better methods greatfully accepted!).
getDate() - Method in class com.pegacat.vcf.data.SurveyText
 
getDescription() - Method in class com.pegacat.vcf.data.Body
 
getDist() - Method in class com.pegacat.vcf.data.Star
 
getDistance() - Method in class com.pegacat.vcf.data.Star
 
getEco() - Method in class com.pegacat.vcf.data.Body
 
getEmpire() - Method in class com.pegacat.vcf.data.Body
 
getEmpireNumber() - Method in class com.pegacat.vcf.data.DataLayer
Insert the method's description here.
getExtraInfo() - Method in class com.pegacat.vcf.data.Body
 
getFile(String) - Method in class com.pegacat.vcf.data.Loader
This method is inherited by WebLoader and OfflineLoader (and conceivably other loaders) to provide their own way of getting the text file data...
getFile(String) - Method in class com.pegacat.vcf.data.WebLoader
 
getFile(String) - Method in class com.pegacat.vcf.data.OfflineLoader
 
getGameNumber() - Method in class com.pegacat.vcf.data.DataLayer
 
getHeight() - Method in class com.pegacat.vcf.Skin
Returns the total height of the skin (useful for determining if any 'extra' graphics have been added).
getHomeStar() - Method in class com.pegacat.vcf.data.DataLayer
Insert the method's description here.
getIcon() - Method in class com.pegacat.vcf.Skin
Returns a 16 x 16 icon for decorating the top left of the main window.
getID(int) - Static method in class com.pegacat.vcf.data.Unit
 
getImage(String, Toolkit) - Method in class com.pegacat.vcf.utility.PluginResourceLoader
Search all registered zip files for a particular Image, and return an awt Image object.
getImage(String, Toolkit) - Method in class com.pegacat.vcf.utility.PluginResource
Returns an Image from a zip file.
getInputStream(String) - Method in class com.pegacat.vcf.utility.PluginResourceLoader
Search all registered zip files for a particular file, and return an input stream to that file.
getInputStream(String) - Method in class com.pegacat.vcf.utility.PluginResource
Allows a zipped file to be accessed with a (uncompressed) input stream, not unlike a normal FileInputStream.
getJarContainingResource(String) - Method in class com.pegacat.vcf.utility.PluginResourceLoader
Searches an internal hash, followed by all Jar files, for a particular resource.
getLines() - Method in class com.pegacat.vcf.data.VoyagerText
get all lines as an array Creation date: (29/05/2001 10:33:53 AM)
getLiquid() - Method in class com.pegacat.vcf.data.Body
 
getLiveability() - Method in class com.pegacat.vcf.data.Body
 
getLoadWatcher() - Method in class com.pegacat.vcf.BaseGUI
 
getLocation() - Method in class com.pegacat.vcf.data.VoyagerObject
returns the full location associated with this object
getLogo() - Method in class com.pegacat.vcf.Skin
Returns the welcome image used as a place holder on the main window.
getMainScreenComponent() - Method in interface com.pegacat.vcf.Plugin
Called to get the (optional) component to be used in the main body of the framework.
getMulti() - Method in class com.pegacat.vcf.data.Star
 
getName() - Method in interface com.pegacat.vcf.Plugin
Called to get the display name of the plugin.
getName() - Method in class com.pegacat.vcf.data.VoyagerObject
Returns the name of the object, as a String.
getName() - Method in class com.pegacat.vcf.data.SurveyText
 
getName() - Method in class com.pegacat.vcf.data.ResourceType
 
getNamedPosition() - Method in class com.pegacat.vcf.data.VoyagerObject
convenience link to the corresponding VoyagerLocation method
getNewSurveys() - Method in class com.pegacat.vcf.data.Loader
 
getNewSurveys() - Method in class com.pegacat.vcf.data.DataLayer
 
getNewTech() - Method in class com.pegacat.vcf.data.Loader
 
getNewTech() - Method in class com.pegacat.vcf.data.DataLayer
 
getNumber() - Method in class com.pegacat.vcf.data.Star
return the star's number Creation date: (30/04/2001 11:53:22 AM)
getObjectTree() - Method in class com.pegacat.vcf.data.Loader
 
getObjectTree() - Method in class com.pegacat.vcf.data.DataLayer
 
getOfflineDirectory(String, String) - Static method in class com.pegacat.vcf.data.OfflineLoader
Returns, for a particular game (e.g.
getOrbit() - Method in class com.pegacat.vcf.data.Body
 
getPage(URL) - Method in class com.pegacat.vcf.data.WebLoader
Reads the given web page (using a cookie if required), returning the contents as a string.
getPage(URL, String) - Method in class com.pegacat.vcf.data.WebLoader
Reads the given web page (using a cookie if required), returning the contents as a string.
getParentFrame(Component) - Static method in class com.pegacat.vcf.utility.Utility
Iterates through a components parents until it finds the root frame.
getPlayerNumber() - Method in class com.pegacat.vcf.data.DataLayer
 
getPopSurveys() - Method in class com.pegacat.vcf.data.Loader
 
getPopSurveys() - Method in class com.pegacat.vcf.data.DataLayer
 
getPosition(String) - Static method in class com.pegacat.vcf.data.VoyagerLocation
Returns the starNo map position of a starNo, world or moon as a three int array [x,y,z].
getPrefixedResources(String) - Method in class com.pegacat.vcf.utility.PluginResourceLoader
Returns all resources with the given prefix.
getPrefixedResources(String) - Method in class com.pegacat.vcf.utility.PluginResource
Returns the *names* only of any resources with a particular prefix (such as 'images/').
getProperty(String) - Static method in class com.pegacat.vcf.VoyagerClient
Convenience function to access global properties list.
getRaceDesc() - Method in class com.pegacat.vcf.data.Loader
 
getRaceDesc() - Method in class com.pegacat.vcf.data.DataLayer
 
getRadiation() - Method in class com.pegacat.vcf.data.Body
 
getRawResource(String) - Method in class com.pegacat.vcf.utility.PluginResource
Extracts a file from a jar or zip, returning it as a raw byte array.
getRawStars() - Method in class com.pegacat.vcf.data.Loader
 
getRawStars() - Method in class com.pegacat.vcf.data.DataLayer
 
getRegion(Rectangle) - Method in class com.pegacat.vcf.Skin
Skins may be any size greater than the minimum required.
getRemaining() - Method in class com.pegacat.vcf.data.WorldResource
Gets remining numeric level, either exact or approximate Creation date: (3/06/2001 9:25:26 PM)
getRemainingApprox() - Method in class com.pegacat.vcf.data.WorldResource
 
getRemainingExact() - Method in class com.pegacat.vcf.data.WorldResource
 
getRemainingString() - Method in class com.pegacat.vcf.data.WorldResource
Gets remining level as string Creation date: (3/06/2001 9:25:26 PM)
getReport() - Method in class com.pegacat.vcf.data.Loader
 
getReport() - Method in class com.pegacat.vcf.data.DataLayer
 
getResource() - Method in class com.pegacat.vcf.data.WorldResource
 
getResource(String) - Static method in class com.pegacat.vcf.data.ResourceType
get a resource if it exists, otherwise returns null.
getResource(String) - Method in class com.pegacat.vcf.utility.PluginResourceLoader
Search all registered zip files for a particular file, and return the data within that file as a byte array.
getResource(String) - Method in class com.pegacat.vcf.utility.PluginResource
Extracts a jar resource as a blob.
getResource(String, int) - Static method in class com.pegacat.vcf.data.ResourceType
get a resource if it exists, otherwise add a resource & return it.
getResources() - Method in class com.pegacat.vcf.data.Body
 
getShp() - Method in class com.pegacat.vcf.data.Body
 
getSize() - Method in class com.pegacat.vcf.data.Star
 
getSize() - Method in class com.pegacat.vcf.data.Body
 
getSizeString() - Method in class com.pegacat.vcf.data.Body
get the size as a string Creation date: (22/05/2001 7:21:02 PM)
getSkin() - Method in class com.pegacat.vcf.Skin
Returns the entire skin image.
getSlp() - Method in class com.pegacat.vcf.data.Body
 
getSlpType() - Method in class com.pegacat.vcf.data.Body
 
getSmp() - Method in class com.pegacat.vcf.data.Body
 
getSpectra() - Method in class com.pegacat.vcf.data.Star
 
getSpectralType() - Method in class com.pegacat.vcf.data.Star
Return the star spectra as a string.
getSpp() - Method in class com.pegacat.vcf.data.Body
 
getStar(int) - Method in class com.pegacat.vcf.data.DataLayer
get a star by star number.
getStarName(String) - Static method in class com.pegacat.vcf.data.VoyagerLocation
Returns the unadorned starNo name from a starNo, world or moon string.
getStars() - Method in class com.pegacat.vcf.data.Loader
This method is inherited by WebLoader and OfflineLoader to get and parse the star list.
getStars() - Method in class com.pegacat.vcf.data.WebLoader
 
getStars() - Method in class com.pegacat.vcf.data.OfflineLoader
 
getStars() - Method in class com.pegacat.vcf.data.DataLayer
 
getStars(String) - Method in class com.pegacat.vcf.data.Loader
This parses the original star data file ('slocs.0'), that is still available on the web page...
getStarSize() - Method in class com.pegacat.vcf.data.Star
Return the star size as a string.
getSummary() - Method in class com.pegacat.vcf.data.Loader
 
getSummary() - Method in class com.pegacat.vcf.data.DataLayer
 
getSurveyDate() - Method in class com.pegacat.vcf.data.Star
 
getSurveyDate() - Method in class com.pegacat.vcf.data.Body
 
getSystem() - Method in class com.pegacat.vcf.data.Star
 
getSystemStars() - Method in class com.pegacat.vcf.data.Star
Returns all the stars in this star's system (including this star).
getTemperature() - Method in class com.pegacat.vcf.data.Body
 
getTemperatureString() - Method in class com.pegacat.vcf.data.Body
 
getTesselatedBackground() - Method in class com.pegacat.vcf.Skin
Returns a generic background image 'tile' of size 100 x 100, (or arbitrary if using a separate image...)
getText() - Method in class com.pegacat.vcf.data.VoyagerObject
returns the associated text description of the object (if any).
getText() - Method in class com.pegacat.vcf.data.VoyagerText
 
getText() - Method in class com.pegacat.vcf.data.SurveyText
 
getTurnNumber() - Method in class com.pegacat.vcf.data.DataLayer
 
getType() - Method in class com.pegacat.vcf.data.ResourceType
 
getVector(String) - Static method in class com.pegacat.vcf.data.Unit
Looks up a particular type of object by name, either generically ("SHIPS"), or exact type "TRADE 7".
getVeg() - Method in class com.pegacat.vcf.data.Body
 
getVegString() - Method in class com.pegacat.vcf.data.Body
 
getWarehouse() - Method in class com.pegacat.vcf.data.WorldResource
 
getWelcome() - Method in class com.pegacat.vcf.Skin
Returns the welcome image used as a place holder on the main window.
getWidth() - Method in class com.pegacat.vcf.Skin
Returns the total width of the skin (useful for determining if any 'extra' graphics have been added).
getX() - Method in class com.pegacat.vcf.data.VoyagerLocation
returns the starNo map x co-ordinate.
getX() - Method in class com.pegacat.vcf.data.VoyagerObject
convenience link to the corresponding VoyagerLocation method
getY() - Method in class com.pegacat.vcf.data.VoyagerLocation
returns the starNo map y co-ordinate.
getY() - Method in class com.pegacat.vcf.data.VoyagerObject
convenience link to the corresponding VoyagerLocation method
getZ() - Method in class com.pegacat.vcf.data.VoyagerLocation
returns the starNo map z co-ordinate.
getZ() - Method in class com.pegacat.vcf.data.VoyagerObject
convenience link to the corresponding VoyagerLocation method
getZipFileName() - Method in class com.pegacat.vcf.utility.PluginResource
Returns the raw name of the zip/jar file.
GIANT - Static variable in class com.pegacat.vcf.data.Body
Size options
GridPanel - class com.pegacat.vcf.GridPanel.
Java layout managers are frustrating, badly written pieces of garbage that are difficult to use, erratic, throw strange errors, and are generally junk.
GridPanel() - Constructor for class com.pegacat.vcf.GridPanel
Constructor calls the JPanel superclass constructor, and initialises the GridBagLayout and GridBagConstraints objects.
GridPanel(Image) - Constructor for class com.pegacat.vcf.GridPanel
 

H

H2 - Static variable in class com.pegacat.vcf.data.Body
Atmospheres
hashCode() - Method in class com.pegacat.vcf.data.VoyagerLocation
 
hashCode() - Method in class com.pegacat.vcf.data.ResourceType
Generates a hash code for the receiver.
hasResource(String) - Method in class com.pegacat.vcf.utility.PluginResource
returns whether a particular resource exists in the archive.
hideSplash() - Static method in class com.pegacat.vcf.VoyagerClient
Dispose of the splash window.
homeStar - Variable in class com.pegacat.vcf.data.DataLayer
 
HOT - Static variable in class com.pegacat.vcf.data.Body
 

I

iconStart - Static variable in class com.pegacat.vcf.Skin
 
id - Variable in class com.pegacat.vcf.data.Unit
the unit's unique i.d.
idArray - Static variable in class com.pegacat.vcf.data.Unit
A fast look up array of all units by id number.
init() - Method in class com.pegacat.vcf.utility.PluginResource
initializes internal hash tables with Jar file resources.
init(BaseGUI, DataLayer, Skin, PluginResource) - Method in interface com.pegacat.vcf.Plugin
This is called by the framework to set the DataLayer object, the parent GUI component, and the skin.
isAtmosphere(String) - Static method in class com.pegacat.vcf.data.ResourceType
returns true if the specified resource name is an atmosphere type Creation date: (3/06/2001 9:54:49 PM)
isConnected() - Method in class com.pegacat.vcf.Framework
Returns true if we are connected to either the web or an offline data source (a saved game file).
isConnected() - Method in class com.pegacat.vcf.data.DataLayer
 
isCultural(String) - Static method in class com.pegacat.vcf.data.ResourceType
returns true if the specified resource name is a cultural cargo type Creation date: (3/06/2001 9:54:49 PM)
isLifetype(String) - Static method in class com.pegacat.vcf.data.ResourceType
returns true if the specified resource name is a (numeric) life type Creation date: (3/06/2001 9:54:49 PM)
isMoon() - Method in class com.pegacat.vcf.data.Body
 
isMulti() - Method in class com.pegacat.vcf.data.Star
 
isResource_surveyed() - Method in class com.pegacat.vcf.data.Body
 
isStar() - Method in class com.pegacat.vcf.data.SurveyText
returns true if the survey is a star survey
isSurveyed() - Method in class com.pegacat.vcf.data.Star
 
isSurveyed() - Method in class com.pegacat.vcf.data.Body
 

L

LARGE - Static variable in class com.pegacat.vcf.data.Body
Size options
LARGE_GAS_GIANT - Static variable in class com.pegacat.vcf.data.Body
Size options
LIFETYPE - Static variable in class com.pegacat.vcf.data.ResourceType
 
lines - Variable in class com.pegacat.vcf.data.VoyagerText
contains the actual stored text
liquid - Variable in class com.pegacat.vcf.data.Body
liquid - text version, see slp for numeric liquid level
liveability - Variable in class com.pegacat.vcf.data.Body
 
loadAll(DataLayer, Loader.Watcher) - Method in class com.pegacat.vcf.data.Loader
This method is used to load all available data into the DataLayer object.
Loader - class com.pegacat.vcf.data.Loader.
A Loader initialises the data variables of a DataLayer object.
Loader.Watcher - interface com.pegacat.vcf.data.Loader.Watcher.
 
Loader() - Constructor for class com.pegacat.vcf.data.Loader
 
loadFinished(DataLayer) - Method in class com.pegacat.vcf.data.Loader
This method can be extended to run any extra processing required when a 'loadAll()' method has completed successfully.
loadFinished(DataLayer) - Method in class com.pegacat.vcf.data.WebLoader
 
loadImage(Image, Component) - Static method in class com.pegacat.vcf.Skin
Utility function that fully loads an image before returning.
loadImage(String, Component) - Static method in class com.pegacat.vcf.Skin
 
loadOffline(File) - Method in class com.pegacat.vcf.data.DataLayer
 
loadPlugins() - Method in class com.pegacat.vcf.Framework
This loads up all the available plugins (even if not used).
loadSkins() - Static method in class com.pegacat.vcf.VoyagerClient
 
loadWeb(URL, int, String, String, boolean) - Method in class com.pegacat.vcf.data.DataLayer
This establishes a connection to the voyager server, and slurps the data (using the WebLoader to load all the data).
location - Variable in class com.pegacat.vcf.data.VoyagerObject
the location of the object (e.g.
logoSize - Static variable in class com.pegacat.vcf.Skin
 
logoStart - Static variable in class com.pegacat.vcf.Skin
 
lowerCaseClasses - Variable in class com.pegacat.vcf.utility.PluginClassLoader
 

M

MAIN_STAR - Static variable in class com.pegacat.vcf.data.DataLayer
 
main(String[]) - Static method in class com.pegacat.vcf.VoyagerClient
The 'main' Voyager class - this actually does little but set up the global config variables, initialise the skins,
main(String[]) - Static method in class com.pegacat.vcf.utility.PluginResource
Is a test driver.
makeConnection() - Static method in class com.pegacat.vcf.VoyagerClient
 
makeConnection(String, String, String, String, boolean) - Method in class com.pegacat.vcf.Framework
 
makeHeavy() - Method in class com.pegacat.vcf.GridPanel
Makes all components added after this call expand to fill all available space.
makeLight() - Method in class com.pegacat.vcf.GridPanel
 
makeWide() - Method in class com.pegacat.vcf.GridPanel
Makes all components added after this call expand to fill all available width (but not height).
MEDIUM - Static variable in class com.pegacat.vcf.data.Body
Size options
message(String) - Method in class com.pegacat.vcf.BaseGUI
Dialog Box coming soon.
MILD - Static variable in class com.pegacat.vcf.data.Body
 
moon - Variable in class com.pegacat.vcf.data.VoyagerLocation
 
moon - Variable in class com.pegacat.vcf.data.Body
true for moons, false for worlds!
multi - Variable in class com.pegacat.vcf.data.Star
 

N

name - Variable in class com.pegacat.vcf.data.VoyagerObject
the name of the object, usually a numeric string such as '833'
name - Variable in class com.pegacat.vcf.data.SurveyText
the name of the surveyed object
name - Variable in class com.pegacat.vcf.data.ResourceType
 
NEAR_STAR - Static variable in class com.pegacat.vcf.data.DataLayer
 
NEGLIGIBLE - Static variable in class com.pegacat.vcf.data.WorldResource
 
newLine() - Method in class com.pegacat.vcf.GridPanel
Adjusts the cursor to the next line down.
nextCharIn(int, String, String, boolean) - Static method in class com.pegacat.vcf.utility.Utility
Get the next character pos in a string after an initial offset that either matches, or does not match, any of a set of comparison characters.
nextInt(StringTokenizer) - Method in class com.pegacat.vcf.data.Loader
 
nextInt(StringTokenizer) - Method in class com.pegacat.vcf.data.OfflineLoader
 
NH3 - Static variable in class com.pegacat.vcf.data.Body
Atmospheres
NO_DATE - Static variable in class com.pegacat.vcf.data.DataLayer
 
NONE - Static variable in class com.pegacat.vcf.data.WorldResource
 
NORMAL - Static variable in class com.pegacat.vcf.data.ResourceType
 
number - Variable in class com.pegacat.vcf.data.Star
 

O

ObjectTreeParser - class com.pegacat.vcf.data.ObjectTreeParser.
 
ObjectTreeParser() - Constructor for class com.pegacat.vcf.data.ObjectTreeParser
 
offline() - Method in class com.pegacat.vcf.Framework
Load game info offline from stored data
OfflineLoader - class com.pegacat.vcf.data.OfflineLoader.
 
OfflineLoader(File) - Constructor for class com.pegacat.vcf.data.OfflineLoader
 
orbit - Variable in class com.pegacat.vcf.data.Body
Orbits
OXYGEN - Static variable in class com.pegacat.vcf.data.Body
Atmospheres

P

paint(Graphics) - Method in class com.pegacat.vcf.BaseGUI
most of the work here is done by paintBackground(), which handles painting the background bitmap.
paint(Graphics) - Method in class com.pegacat.vcf.GridPanel
 
paintBackground(Graphics, Skin, int, int, ImageObserver, int, int) - Static method in class com.pegacat.vcf.BaseGUI
Paints the background bitmap.
parse(DataLayer) - Static method in class com.pegacat.vcf.data.ObjectTreeParser
 
parse(SurveyText) - Method in class com.pegacat.vcf.data.StarSurveyParser
Parse a star survey, updating the data layer.
parse(SurveyText) - Method in class com.pegacat.vcf.data.WorldSurveyParser
parse a survey - parses each line of the survey, and then updates the datalayer, merging survey data with any existing data.
parse(VoyagerText) - Method in class com.pegacat.vcf.data.SurveyListParser
parse a list of surveys
parseAllData() - Method in class com.pegacat.vcf.data.DataLayer
This method is run *after* all the data has been loaded.
parseline(String) - Method in class com.pegacat.vcf.data.WorldSurveyParser
 
parseline(String) - Method in class com.pegacat.vcf.data.SurveyListParser
parse a single line of a list of surveys
parseObjectTree() - Method in class com.pegacat.vcf.data.DataLayer
Parses the object tree, creating a complete listing of all ships, reus, hulks, etc.
parseReport() - Method in class com.pegacat.vcf.data.WebLoader
obsolete ?
parseSurveys() - Method in class com.pegacat.vcf.data.DataLayer
Insert the method's description here.
PLENTIFUL - Static variable in class com.pegacat.vcf.data.WorldResource
 
Plugin - interface com.pegacat.vcf.Plugin.
 
PluginClassLoader - class com.pegacat.vcf.utility.PluginClassLoader.
Title: test Description: See if we can get this crappy IDE to work properly just once.
PluginClassLoader(PluginResource) - Constructor for class com.pegacat.vcf.utility.PluginClassLoader
Constructor - note that that the class is useless until at least one resource file has been registered with it using the addResource() method.
PluginResource - class com.pegacat.vcf.utility.PluginResource.
PluginResource: PluginResources maps resources in a zip or jar file.
PluginResource(String) - Constructor for class com.pegacat.vcf.utility.PluginResource
creates a PluginResource.
PluginResource(String, boolean) - Constructor for class com.pegacat.vcf.utility.PluginResource
creates a PluginResources.
PluginResourceLoader - class com.pegacat.vcf.utility.PluginResourceLoader.
This Class provides access to a group of zip files.
PluginResourceLoader() - Constructor for class com.pegacat.vcf.utility.PluginResourceLoader
Constructor - note that that the class is useless until at least one resource file has been registered with it using the addResource() method.
printEnumeration(Enumeration) - Static method in class com.pegacat.vcf.utility.Utility
prints an enumeration...
printKey(String) - Static method in class com.pegacat.vcf.data.Unit
Print out a particular Vector of Units, based on a key, for debug purposes...

Q

QTYAVERAGES - Static variable in class com.pegacat.vcf.data.WorldResource
an average value for each of the numeric approximate quantity values
QTYNAMES - Static variable in class com.pegacat.vcf.data.WorldResource
string name for each of the numeric approximate quantity values

R

radiation - Variable in class com.pegacat.vcf.data.Body
 
RARE - Static variable in class com.pegacat.vcf.data.WorldResource
 
readData(URLConnection) - Method in class com.pegacat.vcf.data.WebLoader
 
readFilteredDirectory(String, String) - Static method in class com.pegacat.vcf.utility.Utility
Reads a directory, returning all file names of the given extension.
readFilteredDirectory(String, String[]) - Static method in class com.pegacat.vcf.utility.Utility
Reads a directory, returning all file names of the given extensions
readGlobalConfig(String[]) - Static method in class com.pegacat.vcf.VoyagerClient
 
readTextFile(File) - Static method in class com.pegacat.vcf.utility.Utility
Reads a text file, and returns the result as a StringBuffer.
readURLText(URL) - Static method in class com.pegacat.vcf.utility.Utility
Returns the raw text (i.e.
readZipEntryData(InputStream, ZipEntry) - Method in class com.pegacat.vcf.utility.PluginResource
Reads a specific zip entry from the input stream...
registerCacheLoader(Loader) - Method in class com.pegacat.vcf.data.WebLoader
 
registerDataLayer(DataLayer) - Static method in class com.pegacat.vcf.data.VoyagerLocation
Registers the current data layer.
registerLoadWatcher(Loader.Watcher) - Method in class com.pegacat.vcf.data.DataLayer
Registers a gui feedback agent to let the user know how downloads are going.
reload(URL) - Method in class com.pegacat.vcf.data.DataLayer
Forces all data to be reloaded from the server, clearing any previously cached data.
remainingApprox - Variable in class com.pegacat.vcf.data.WorldResource
approximate remaining amount, or EXACT if exact amount known.
remainingExact - Variable in class com.pegacat.vcf.data.WorldResource
exact remaining amount if known
replaceAllBufferChar(StringBuffer, char, String) - Static method in class com.pegacat.vcf.utility.Utility
Deletes all characters c in text replaces it with the string replacement.
replaceAllBufferString(StringBuffer, String, String) - Static method in class com.pegacat.vcf.utility.Utility
Deletes all characters c in text replaces it with the string replacement.
replaceAllChar(StringBuffer, char, String) - Static method in class com.pegacat.vcf.utility.Utility
Deletes all characters c in text replaces it with the string replacement.
replaceAllString(StringBuffer, String, String) - Static method in class com.pegacat.vcf.utility.Utility
Deletes all characters c in text replaces it with the string replacement.
replaceChar(StringBuffer, int, String) - Static method in class com.pegacat.vcf.utility.Utility
Deletes a character in text at position pos and replaces it with the string replacement.
replaceString(StringBuffer, int, int, String) - Static method in class com.pegacat.vcf.utility.Utility
Deletes a substring in text at position pos, of length len and replaces it with the string replacement.
REPLENISHING - Static variable in class com.pegacat.vcf.data.WorldResource
 
resmap - Static variable in class com.pegacat.vcf.data.ResourceType
Hash of resources by (string) names.
resource - Variable in class com.pegacat.vcf.data.WorldResource
the resource
resource_surveyed - Variable in class com.pegacat.vcf.data.Body
true if resources are from the cargo report, so we have an reu there.
resourceFiles - Variable in class com.pegacat.vcf.utility.PluginResourceLoader
A list of PluginResource objects that may be searched for packaged resources.
resourceLoader - Variable in class com.pegacat.vcf.utility.PluginClassLoader
The resource loader provides the interface to a group of zip files.
resources - Variable in class com.pegacat.vcf.data.Body
array of resources on the world, or null if none.
ResourceType - class com.pegacat.vcf.data.ResourceType.
Stores information about a particular resource type, including the name, and the category i.e.
ResourceType(String, int) - Constructor for class com.pegacat.vcf.data.ResourceType
constructor - note protected, usually construction is a side effect of getResource() calls.
RING - Static variable in class com.pegacat.vcf.data.Body
Size options

S

saveAll(DataLayer) - Method in class com.pegacat.vcf.data.Loader
This method can be extended by loaders that can also save data, such as the OfflineLoader which handles cached data...
saveAll(DataLayer) - Method in class com.pegacat.vcf.data.OfflineLoader
 
saveAllSurveys(VoyagerText) - Method in class com.pegacat.vcf.data.OfflineLoader
 
saveAllTech(VoyagerText) - Method in class com.pegacat.vcf.data.OfflineLoader
 
saveCargoReport(VoyagerText) - Method in class com.pegacat.vcf.data.OfflineLoader
 
saveFile(VoyagerText, String) - Method in class com.pegacat.vcf.data.OfflineLoader
 
saveNewSurveys(VoyagerText) - Method in class com.pegacat.vcf.data.OfflineLoader
 
saveNewTech(VoyagerText) - Method in class com.pegacat.vcf.data.OfflineLoader
 
saveObjectTree(VoyagerText) - Method in class com.pegacat.vcf.data.OfflineLoader
 
savePopSurveys(VoyagerText) - Method in class com.pegacat.vcf.data.OfflineLoader
 
saveRaceDesc(VoyagerText) - Method in class com.pegacat.vcf.data.OfflineLoader
 
saveRawStars(VoyagerText) - Method in class com.pegacat.vcf.data.OfflineLoader
 
saveReport(VoyagerText) - Method in class com.pegacat.vcf.data.OfflineLoader
 
saveSummary(VoyagerText) - Method in class com.pegacat.vcf.data.OfflineLoader
 
setAllSurveys(VoyagerText) - Method in class com.pegacat.vcf.data.DataLayer
 
setAllTech(VoyagerText) - Method in class com.pegacat.vcf.data.DataLayer
 
setAtmosphere(String) - Method in class com.pegacat.vcf.data.Body
This sets the atmosphere String to the passed newAtmosphere parameter.
setBackground(Image) - Method in class com.pegacat.vcf.GridPanel
 
setBodies(List) - Method in class com.pegacat.vcf.data.Star
 
setBurps(int) - Method in class com.pegacat.vcf.data.Body
 
setCargoReport(VoyagerText) - Method in class com.pegacat.vcf.data.DataLayer
 
setCoOrds() - Method in class com.pegacat.vcf.data.VoyagerLocation
This attempts to look up the Star array, using this object's starNo number, and thus set the x/y/z position of the object.
setCurrentTurn(double) - Method in class com.pegacat.vcf.data.DataLayer
Insert the method's description here.
setDate(double) - Method in class com.pegacat.vcf.data.SurveyText
 
setDefaultProperty(String, String) - Static method in class com.pegacat.vcf.VoyagerClient
sets a global property, *if* it doesn't already exist.
setDescription(String) - Method in class com.pegacat.vcf.data.Body
 
setDist(int) - Method in class com.pegacat.vcf.data.Star
 
setEco(int) - Method in class com.pegacat.vcf.data.Body
 
setEmpire(int) - Method in class com.pegacat.vcf.data.Body
 
setEmpireNumber(int) - Method in class com.pegacat.vcf.data.DataLayer
Insert the method's description here.
setExtraInfo(String) - Method in class com.pegacat.vcf.data.Body
 
setHomeStar(int) - Method in class com.pegacat.vcf.data.DataLayer
Insert the method's description here.
setLiquid(String) - Method in class com.pegacat.vcf.data.Body
 
setLiveability(int) - Method in class com.pegacat.vcf.data.Body
 
setMessages(String[]) - Method in interface com.pegacat.vcf.data.Loader.Watcher
This sets the text shown to the user as each stage is loaded.
setMoon(boolean) - Method in class com.pegacat.vcf.data.Body
 
setMulti(int) - Method in class com.pegacat.vcf.data.Star
 
setName(String) - Method in class com.pegacat.vcf.data.SurveyText
 
setName(String) - Method in class com.pegacat.vcf.data.ResourceType
 
setNamedPosition() - Method in class com.pegacat.vcf.data.VoyagerLocation
returns the named position, such as 's112' or 'w212b5', in canonical '[char][number][char][number]' form.
setNewSurveys(VoyagerText) - Method in class com.pegacat.vcf.data.DataLayer
 
setNewTech(VoyagerText) - Method in class com.pegacat.vcf.data.DataLayer
 
setNumberOfSystems(int) - Static method in class com.pegacat.vcf.data.Star
 
setObjectTree(VoyagerText) - Method in class com.pegacat.vcf.data.DataLayer
 
setOptions() - Method in class com.pegacat.vcf.Framework
 
setOrbit(int) - Method in class com.pegacat.vcf.data.Body
 
setPopSurveys(VoyagerText) - Method in class com.pegacat.vcf.data.DataLayer
 
setPosition(String) - Method in class com.pegacat.vcf.data.VoyagerLocation
This sets the canonical position of the location by parsing any of the generic world/star description strings.
setProperty(String, String) - Static method in class com.pegacat.vcf.VoyagerClient
sets a global property
setRaceDesc(VoyagerText) - Method in class com.pegacat.vcf.data.DataLayer
 
setRadiation(int) - Method in class com.pegacat.vcf.data.Body
 
setRawStars(VoyagerText) - Method in class com.pegacat.vcf.data.DataLayer
 
setRemainingApprox(int) - Method in class com.pegacat.vcf.data.WorldResource
 
setRemainingExact(int) - Method in class com.pegacat.vcf.data.WorldResource
 
setReport(VoyagerText) - Method in class com.pegacat.vcf.data.DataLayer
 
setResource_surveyed(boolean) - Method in class com.pegacat.vcf.data.Body
 
setResource(ResourceType) - Method in class com.pegacat.vcf.data.WorldResource
 
setResources(WorldResource[]) - Method in class com.pegacat.vcf.data.Body
Sets the resources, unless the world has already been flagged as resource_surveyed, in which case the resources are already up to date.
setResources(WorldResource[], boolean) - Method in class com.pegacat.vcf.data.Body
Sets the resources, and the resource surveyed flag if resource_survey_data is true.
setShp(int) - Method in class com.pegacat.vcf.data.Body
 
setSize(int) - Method in class com.pegacat.vcf.data.Star
 
setSize(int) - Method in class com.pegacat.vcf.data.Body
 
setSkin(Skin) - Method in class com.pegacat.vcf.BaseGUI
Sets the skin used by the BaseGUI for displaying buttons, backgrounds and so forth
setSkin(Skin) - Method in class com.pegacat.vcf.Framework
 
setSlp(int) - Method in class com.pegacat.vcf.data.Body
 
setSlpType(String) - Method in class com.pegacat.vcf.data.Body
 
setSmp(int) - Method in class com.pegacat.vcf.data.Body
 
setSpectra(int) - Method in class com.pegacat.vcf.data.Star
 
setSpp(int) - Method in class com.pegacat.vcf.data.Body
 
setStars(Star[]) - Method in class com.pegacat.vcf.data.DataLayer
 
setStartingPosition() - Method in class com.pegacat.vcf.BaseGUI
Sets the browser up at the same position and size that it was when last saved.
setSummary(VoyagerText) - Method in class com.pegacat.vcf.data.DataLayer
 
setSurveyDate(double) - Method in class com.pegacat.vcf.data.Star
 
setSurveyDate(double) - Method in class com.pegacat.vcf.data.Body
 
setSurveyed(boolean) - Method in class com.pegacat.vcf.data.Star
 
setSurveyed(boolean) - Method in class com.pegacat.vcf.data.Body
 
setSystem(int) - Method in class com.pegacat.vcf.data.Star
 
setSystemSize(int, int, int, int, int) - Static method in class com.pegacat.vcf.data.Star
 
setTemperature(String) - Method in class com.pegacat.vcf.data.Body
Set the temperature string, and attempt to match it with a known temperature in the standard temperature name array.
setText(String) - Method in class com.pegacat.vcf.data.VoyagerText
 
setText(VoyagerText) - Method in class com.pegacat.vcf.data.SurveyText
 
setType(int) - Method in class com.pegacat.vcf.data.ResourceType
 
setupLayout() - Method in class com.pegacat.vcf.BaseGUI
Set the layout to use a grid bag layout
setupLoadWatcher() - Method in class com.pegacat.vcf.BaseGUI
 
setupMenu() - Method in class com.pegacat.vcf.BaseGUI
This sets up the menu bar, providing links back to the Framework object for all non-trivial actions (e.g.
setupSkins(Menu) - Method in class com.pegacat.vcf.BaseGUI
This reads from disk all the available skins, and sets up check box menu items corresponding to them.
setupTitleBar() - Method in class com.pegacat.vcf.BaseGUI
Make minor additions; the top-right window icon and the title bar text.
setupWindowButtons() - Method in class com.pegacat.vcf.BaseGUI
Sets up the window behaviour to close the application on a window close.
setVeg(int) - Method in class com.pegacat.vcf.data.Body
 
setVegString(String) - Method in class com.pegacat.vcf.data.Body
 
setWarehouse(int) - Method in class com.pegacat.vcf.data.WorldResource
 
setWatcher(Loader.Watcher, int) - Method in class com.pegacat.vcf.data.Loader
 
showAbout() - Method in class com.pegacat.vcf.BaseGUI
 
showHelp() - Method in class com.pegacat.vcf.BaseGUI
XXX todo - stick in standard java help system.
showHelp() - Method in class com.pegacat.vcf.Framework
 
showSplash() - Static method in class com.pegacat.vcf.VoyagerClient
Shows a quicky splash screen - a simple window that shows an image.
showVoyagerHelp() - Method in class com.pegacat.vcf.Framework
 
shp - Variable in class com.pegacat.vcf.data.Body
 
shutdown() - Method in class com.pegacat.vcf.BaseGUI
Close down the program - update the global properties with the most recent graphics shtuff, and call framework.shutdown().
shutdown() - Method in class com.pegacat.vcf.Framework
Stop the program and clean up.
shutdown() - Static method in class com.pegacat.vcf.VoyagerClient
Exit code - does clean up, saves any extra data that needs saving (e.g.
size - Variable in class com.pegacat.vcf.data.Star
 
size - Variable in class com.pegacat.vcf.data.Body
size is one of the constants from ASTEROID to LARGE_GAS_GIANT
size() - Method in class com.pegacat.vcf.data.VoyagerText
return number of lines in the text, or 0 if empty Creation date: (29/05/2001 9:59:36 AM)
SIZENAMES - Static variable in class com.pegacat.vcf.data.Body
strings corresponding to sizes
SIZEVALUES - Static variable in class com.pegacat.vcf.data.Body
values for each sizename - needed to handle duplicates
Skin - class com.pegacat.vcf.Skin.
A utility grab bag class allowing a common access point to different gifs that make up a 'skin'.
Skin(String, Frame) - Constructor for class com.pegacat.vcf.Skin
 
skinDirectory - Static variable in class com.pegacat.vcf.Skin
 
slp - Variable in class com.pegacat.vcf.data.Body
 
slpType - Variable in class com.pegacat.vcf.data.Body
the slp type, i.e.
SMALL - Static variable in class com.pegacat.vcf.data.Body
Size options
smp - Variable in class com.pegacat.vcf.data.Body
 
spectra - Variable in class com.pegacat.vcf.data.Star
 
splash - Static variable in class com.pegacat.vcf.VoyagerClient
A short lived splash screen.
spp - Variable in class com.pegacat.vcf.data.Body
 
Star - class com.pegacat.vcf.data.Star.
A Star in Voyager - contains a 3D location, as well as spectral data etc.
Star(int, int, int, int) - Constructor for class com.pegacat.vcf.data.Star
 
starNo - Variable in class com.pegacat.vcf.data.VoyagerLocation
 
starpos - Static variable in class com.pegacat.vcf.data.VoyagerLocation
 
StarSurveyParser - class com.pegacat.vcf.data.StarSurveyParser.
Parses star surveys into Star and World/Moon information Creation date: (30/05/2001 4:43:30 PM)
StarSurveyParser(DataLayer) - Constructor for class com.pegacat.vcf.data.StarSurveyParser
create with a datalayer to be updated
start() - Method in interface com.pegacat.vcf.Plugin
When the user presses the triggering button, this method is called.
state - Variable in class com.pegacat.vcf.data.WorldSurveyParser
stat of parsing - one of the ST_* constants
state - Variable in class com.pegacat.vcf.data.SurveyListParser
current state of the parser
stop() - Method in interface com.pegacat.vcf.Plugin
Called by the framework at shutdown to enable the plugin to do any cleaning up that may be required.
string2Hex(String) - Static method in class com.pegacat.vcf.utility.Utility
 
SULPHUR - Static variable in class com.pegacat.vcf.data.Body
Atmospheres
survey - Variable in class com.pegacat.vcf.data.SurveyListParser
current survey being accumulated
surveyDate - Variable in class com.pegacat.vcf.data.Star
date of the survey
surveyDate - Variable in class com.pegacat.vcf.data.Body
date of world survey
surveyed - Variable in class com.pegacat.vcf.data.Star
has the star been star surveyed?
surveyed - Variable in class com.pegacat.vcf.data.Body
Do we have a world survey? Note some fields may be set from star survey Also a world can be surveyed even if it's star isn't!
SurveyListParser - class com.pegacat.vcf.data.SurveyListParser.
Parses a series of input surveys (generally e_sur, e_pop and e_c) into a collection of SurveyText objects.
SurveyListParser(Collection, DataLayer) - Constructor for class com.pegacat.vcf.data.SurveyListParser
Construct a parser, no initial data.
surveys - Variable in class com.pegacat.vcf.data.SurveyListParser
output collection of SurveyText objects
SurveyText - class com.pegacat.vcf.data.SurveyText.
Storage for all the text of a star/world survey, including the surveyed object's name, and the survey date.
SurveyText(VoyagerText, String, double) - Constructor for class com.pegacat.vcf.data.SurveyText
Create a survey, with initial text, name and date.
system - Variable in class com.pegacat.vcf.data.Star
 
systemList - Static variable in class com.pegacat.vcf.data.Star
 

T

temperature - Variable in class com.pegacat.vcf.data.Body
 
temperatureString - Variable in class com.pegacat.vcf.data.Body
 
TEMPNAMES - Static variable in class com.pegacat.vcf.data.Body
strings corresponding to temperatures
text - Variable in class com.pegacat.vcf.data.VoyagerObject
general associated text, if any
text - Variable in class com.pegacat.vcf.data.SurveyText
the text of the survey
tileHeight - Variable in class com.pegacat.vcf.Skin
 
tileWidth - Variable in class com.pegacat.vcf.Skin
 
TINY - Static variable in class com.pegacat.vcf.data.Body
Size options
toString() - Method in class com.pegacat.vcf.Skin
 
toString() - Method in class com.pegacat.vcf.GridPanel
for debugging...
toString() - Method in class com.pegacat.vcf.data.WorldResource
Returns a String that represents the value of this object.
toString() - Method in class com.pegacat.vcf.data.VoyagerLocation
 
toString() - Method in class com.pegacat.vcf.data.Star
 
toString() - Method in class com.pegacat.vcf.data.VoyagerText
 
toString() - Method in class com.pegacat.vcf.data.Unit
returns a generic string representation, similar to (But *not* guaranteed to be identical to) the Voyager game representation (e.g.
toString() - Method in class com.pegacat.vcf.data.SurveyText
Returns a String that represents the value of this object.
toString() - Method in class com.pegacat.vcf.data.ResourceType
Returns a String that represents the value of this object.
toString() - Method in class com.pegacat.vcf.data.Body
Returns a String that represents the value of this object.
toString() - Method in class com.pegacat.vcf.utility.PluginClassLoader
 
toString() - Method in class com.pegacat.vcf.utility.PluginResource
Prints a simple identifying string for debugging purposes.
translateClassName(String) - Method in class com.pegacat.vcf.utility.PluginClassLoader
Translates the '.' seperators of Class package names into the \ seperators needed for the internal directory structure of the zip file.
type - Variable in class com.pegacat.vcf.data.ResourceType
 

U

ULTRA_HOT - Static variable in class com.pegacat.vcf.data.Body
 
UNDETERMINED - Static variable in class com.pegacat.vcf.data.ResourceType
 
Unit - class com.pegacat.vcf.data.Unit.
A Unit in Voyager - can be any civilian/military/space unit.
Unit(String, VoyagerLocation, String, String, int, String) - Constructor for class com.pegacat.vcf.data.Unit
 
unitType - Variable in class com.pegacat.vcf.data.Unit
the unit type (e.g.
unitVectors - Static variable in class com.pegacat.vcf.data.Unit
the poor mans database :
a list of all the vectors that hold pointers to the various units.
UNK_STRING - Static variable in class com.pegacat.vcf.data.Body
voyager unknown field flag, also used to indicate unknown strings
UNKNOWN - Static variable in class com.pegacat.vcf.data.VoyagerLocation
 
UNKNOWN - Static variable in class com.pegacat.vcf.data.Body
value for all unknown integer fields
UNKNOWNC - Static variable in class com.pegacat.vcf.data.VoyagerLocation
 
unknownResources - Variable in class com.pegacat.vcf.utility.PluginResourceLoader
a cached list of 'unknown' resources that have been (unsuccessfully) looked up before.
UNKNOWNS - Static variable in class com.pegacat.vcf.data.VoyagerLocation
 
userCancelled() - Method in interface com.pegacat.vcf.data.Loader.Watcher
 
Utility - class com.pegacat.vcf.utility.Utility.
Usefully thingumies that don't rate their own classes wind up in here...

V

VACUUM - Static variable in class com.pegacat.vcf.data.Body
Atmospheres
veg - Variable in class com.pegacat.vcf.data.Body
numeric veg level from a world survey
vegString - Variable in class com.pegacat.vcf.data.Body
string veg level from a star survey - can be '-' if there is cloud cover
version - Static variable in class com.pegacat.vcf.VoyagerClient
 
VERY_COLD - Static variable in class com.pegacat.vcf.data.Body
 
VERY_HOT - Static variable in class com.pegacat.vcf.data.Body
 
VERY_RARE - Static variable in class com.pegacat.vcf.data.WorldResource
 
VoyagerClient - class com.pegacat.vcf.VoyagerClient.
 
VoyagerClient() - Constructor for class com.pegacat.vcf.VoyagerClient
 
VoyagerLocation - class com.pegacat.vcf.data.VoyagerLocation.
A location in voyager, being a) a star, world, moon location, and b) an x,y,z starmap position
VoyagerLocation(int, int, int) - Constructor for class com.pegacat.vcf.data.VoyagerLocation
Sets a voyager location purely in terms of starmap x,y,z co-ordinates.
VoyagerLocation(int, int, int, int) - Constructor for class com.pegacat.vcf.data.VoyagerLocation
Sets a voyager location purely in terms of starmap x,y,z co-ordinates.
VoyagerLocation(String) - Constructor for class com.pegacat.vcf.data.VoyagerLocation
Creates a location specified by a string of form [s]SSS[World letter][Moon number] such as '105a2', '497', 's497', 'w232b'.
VoyagerObject - class com.pegacat.vcf.data.VoyagerObject.
Represents a game object or location of some sort - e.g.
VoyagerObject(String, VoyagerLocation) - Constructor for class com.pegacat.vcf.data.VoyagerObject
Creates an object with a name and location.
VoyagerObject(String, VoyagerLocation, String) - Constructor for class com.pegacat.vcf.data.VoyagerObject
Creates an object with a name, location, and description.
VoyagerText - class com.pegacat.vcf.data.VoyagerText.
Represents a text report of some sort - e.g.
VoyagerText() - Constructor for class com.pegacat.vcf.data.VoyagerText
 
VoyagerText(Collection) - Constructor for class com.pegacat.vcf.data.VoyagerText
constructor for building from a collection of strings
VoyagerText(String) - Constructor for class com.pegacat.vcf.data.VoyagerText
 
VoyagerText(String[]) - Constructor for class com.pegacat.vcf.data.VoyagerText
constructor for building from an array of strings

W

warehouse - Variable in class com.pegacat.vcf.data.WorldResource
 
watcher - Variable in class com.pegacat.vcf.data.DataLayer
 
WebLoader - class com.pegacat.vcf.data.WebLoader.
 
WebLoader(URL, int, String, String) - Constructor for class com.pegacat.vcf.data.WebLoader
 
welcomeHeight - Static variable in class com.pegacat.vcf.Skin
 
welcomeStartX - Static variable in class com.pegacat.vcf.Skin
 
welcomeStartY - Static variable in class com.pegacat.vcf.Skin
 
welcomeWidth - Static variable in class com.pegacat.vcf.Skin
 
workOffline(File) - Method in class com.pegacat.vcf.Framework
Loads a pre-saved game Directory with 'OVF' data ("Old Voyager Format" :-) )
world - Variable in class com.pegacat.vcf.data.VoyagerLocation
 
WorldResource - class com.pegacat.vcf.data.WorldResource.
Represents available and potential resources on a world or moon.
WorldResource(String, String, int) - Constructor for class com.pegacat.vcf.data.WorldResource
Create a world resource record - analyses the 'remaining' string, and the warehouse level, and attempts to determine the resource type if not already known.
WorldSurveyParser - class com.pegacat.vcf.data.WorldSurveyParser.
Parses world surveys into actual world/moon information.
WorldSurveyParser(DataLayer) - Constructor for class com.pegacat.vcf.data.WorldSurveyParser
construct a parser - no parsing done until parse() called.
writeData(String, URLConnection) - Method in class com.pegacat.vcf.data.WebLoader
 
writePropertyFile(String, Properties, String) - Static method in class com.pegacat.vcf.VoyagerClient
Writes a java Properties list to a file.
writeTextFile(File, String) - Static method in class com.pegacat.vcf.utility.Utility
Writes a String to a text file.

X

x - Variable in class com.pegacat.vcf.data.VoyagerLocation
 

Y

y - Variable in class com.pegacat.vcf.data.VoyagerLocation
 

Z

z - Variable in class com.pegacat.vcf.data.VoyagerLocation
 
ZERO_DATE - Static variable in class com.pegacat.vcf.data.DataLayer
 
zipFile - Variable in class com.pegacat.vcf.utility.PluginResource
The actual zip or jar file
zipFileName - Variable in class com.pegacat.vcf.utility.PluginResource
The name of this object's jar/zip file

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