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

A

add(Shape) - Method in class BorderedInfiniteCanvas
Adds the specified into the bordered space
add(Shape) - Method in class InfiniteCanvas
Adds a shape to the infinite canvas at the x-coordinate specified by the shape in infinite x-space.
add(Shape) - Method in class TickedInfiniteCanvas
 
addArgumentAndHelp(String[]) - Method in class support143.DriverHelper
Adds a pair [argument, help] to the argument processor.
addCommand(String, String) - Method in class support143.Args
Creates a given command and associates it with the help message.
addCommandWithIntegerParameter(String, String) - Method in class IntegerArgs
Adds a parameterized argument to the legal set.
addPair(DataSource, DataSink) - Method in class Pump
Add a new paired source/sink.
addPoint(PointValue) - Method in interface DataSink
Drops a new point into the sink.
addPoint(PointValue) - Method in class TimeSeriesGraph
Adds a new point to the time series.
addToBorderedSpace(Shape) - Method in class BorderedInfiniteCanvas
Adds given shape to enclosed bordered space.
addToUnborderedSpace(Shape) - Method in class BorderedInfiniteCanvas
Adds the given shape to the set of shapes drawn in the borders.
addToWindow(Shape) - Method in class InfiniteCanvas
Adds the given shape to the window in native window coordinates.
Args - class support143.Args.
Args class for managing command line arguments.
Args(String, String[]) - Constructor for class support143.Args
Sole Constructor.
AveragingTicker - class AveragingTicker.
An AveragingTicker smooths out a stream of ticks by applying a moving average function over an arbitrary number of recent ticks.
AveragingTicker(String, int) - Constructor for class AveragingTicker
Sole constructor.

B

BorderedInfiniteCanvas - class BorderedInfiniteCanvas.
A BorderedInfiniteCanvas provides an infinitely extending X Canvas that includes borders on the left and bottom.
BorderedInfiniteCanvas(String, int, int) - Constructor for class BorderedInfiniteCanvas
Constructs using default left and bottom border size.
BorderedInfiniteCanvas(String, int, int, int, int) - Constructor for class BorderedInfiniteCanvas
Constructs as above, but also using specified border sizes.

C

cleanBorders() - Method in class BorderedInfiniteCanvas
Wipes clean anything in the borders and refills with current color.
clearBorders() - Method in class BorderedInfiniteCanvas
Wipes clean anything in the borders.
consumeArgument(String) - Method in class IntegerArgs
 
consumeArgument(String) - Method in class support143.Args
Consumes (and processes) a single argument.
consumeFlaggedArgument(String) - Method in class support143.Args
Consumes a flagged argument so that its presence can later be queried.
consumeUnflaggedArgument(String) - Method in class support143.Args
Consumes an unflagged argument.
createArguments(String, String[]) - Method in class TSGHelper
 
createArguments(String, String[]) - Method in class support143.DriverHelper
Creates the appropriate argument processor.

D

DataSink - interface DataSink.
A DataSink provides a mechanism that allows PointValue producers and PointValue consumers to communicate.
DataSource - interface DataSource.
A DataSource provides a mechanism that allows PointValue producers and PointValue consumers to communicate.Implementors of this interface produce points on demand.
Debug - class support143.Debug.
Debug control class globally available to an application that wishes to conditionally generate helpful debugging messages.
Debug() - Constructor for class support143.Debug
Sole constructor.
debugCmd - Variable in class support143.DriverHelper
 
defineArguments() - Method in class TSGHelper
 
defineArguments() - Method in class support143.DriverHelper
Primes argument processor with expected arguments.
defineBasicArguments() - Method in class support143.DriverHelper
Defines common (basic) arguments generally available to all programs.
drawAxes() - Method in class TickedInfiniteCanvas
Draws axes by placing a line at each border.
drawBottomBorder() - Method in class BorderedInfiniteCanvas
Draws the bottom border on the screen.
drawLeftBorder() - Method in class BorderedInfiniteCanvas
Draws the left border on the screen.
drawTicksY() - Method in class TickedTimeSeriesGraph
 
drawTickX(int) - Method in class TickedInfiniteCanvas
Draws a labeled tick on the x axis
drawTickY(int, String) - Method in class TickedInfiniteCanvas
Draws a labeled tick on the y axis
Driver - class Driver.
Driver main module.
Driver() - Constructor for class Driver
 
DriverHelper - class support143.DriverHelper.
Base class driver.
DriverHelper(String) - Constructor for class support143.DriverHelper
Sole constructor.
DriverHelper2 - class DriverHelper2.
DriverHelper2 is extended version of DriverHelper that supports controlled program finalization.
DriverHelper2(String) - Constructor for class DriverHelper2
Sole constructor.

E

exit(int) - Method in class support143.DriverHelper
Terminates the program with given exit value.
exit(int, String) - Method in class support143.DriverHelper
Terminates the program with given exit after dumping help messages.
expectUnflaggedArguments(String) - Method in class support143.Args
Allows for arguments without "-"'s

F

fillBorders() - Method in class BorderedInfiniteCanvas
Fills the borders according to the current border color.
fillBorders(Color) - Method in class BorderedInfiniteCanvas
Fills the borders according to the given color.
finalize() - Method in class DriverHelper2
Acquires control just prior to normal program exit.
fixLabel(String, Color) - Method in class InfiniteCanvas
Fixes a label somewhere convenient on the screen.
flags - Variable in class support143.Args
 

G

getArguments() - Method in class support143.DriverHelper
Gets the Args associated with this driver.
getBottomBorderWidth() - Method in class BorderedInfiniteCanvas
Gets the size of the bottom border.
getCanvas() - Method in class TimeSeriesGraph
 
getColor() - Method in class TimeSeriesGraph
Determines the line/point color used by time series.
getIntegerParameter(String) - Method in class IntegerArgs
Gets the integer parameter associated with the given flag name.
getLeftBorderWidth() - Method in class BorderedInfiniteCanvas
Gets the size of the left border.
getLeftHandX() - Method in class InfiniteCanvas
Gets the x-value associated with the left most visible point.
getNonFlaggedArguments() - Method in class support143.Args
Fetches all non flagged arguments.
getOriginX() - Method in class BorderedInfiniteCanvas
 
getOriginX() - Method in class InfiniteCanvas
Computes the x position of the logical origin of the GWindow along x.
getRemainingCommandLineArguments() - Method in class support143.Args
Computes how many command line arguments remain for parsing.
getUnborderedWindowHeight() - Method in class BorderedInfiniteCanvas
Finds the true window height, accounting for borders.
getUnborderedWindowWidth() - Method in class BorderedInfiniteCanvas
Finds the true window width, accounting for borders.
getWindowHeight() - Method in class BorderedInfiniteCanvas
Gets the window height not counting the bottom bordered space.
getWindowWidth() - Method in class BorderedInfiniteCanvas
Gets the window width not counting the left bordered space.
go(String[]) - Method in class DriverHelper2
 
go(String[]) - Method in class support143.DriverHelper
Starts the system.

H

help() - Method in class support143.Args
Shows a help message to the console.
help(String) - Method in class support143.Args
Shows a prefixed help message to the console.
helpCmd - Variable in class support143.DriverHelper
 

I

InfiniteCanvas - class InfiniteCanvas.
An InfiniteCanvas automatically scrolls left so that points can be continually added and displayed.
InfiniteCanvas(String, int, int) - Constructor for class InfiniteCanvas
Sole constructor.
initialize() - Method in class TSGHelper
 
initialize() - Method in class support143.DriverHelper
Starts phase 2 of system.
insideBottomBorder(int) - Method in class BorderedInfiniteCanvas
Determines if a given y value is in the bottom border
insideLeftBorder(int) - Method in class BorderedInfiniteCanvas
Determines if a given x value is in the left hand border
IntegerArgs - class IntegerArgs.
Advanced command line argument processor.
IntegerArgs(String, String[]) - Constructor for class IntegerArgs
Sole constructor.
isArgumentPresent(String[]) - Method in class support143.DriverHelper
Checks if a given argument is present in the parsed arguments.
isFlagPresent(String) - Method in class support143.Args
Checks if a given flag is present in the command line.
isIntegerParameterPresent(String) - Method in class IntegerArgs
Checks if a given parameterized argument is present on the command line.

M

main(String[]) - Static method in class Driver
Main routine.
max() - Method in interface DataSource
Determines the maximum expected value.
max() - Method in class Pump
Determines the larges expected value from all data sources.
max() - Method in class Ticker
Gets the maximum ticker value.
moveAllBy(int, int) - Method in class BorderedInfiniteCanvas
Moves to a position in bordered infinite /** Moves all of the items in bordered space while leaving unbordered space untouched.
moveBordersBy(int, int) - Method in class BorderedInfiniteCanvas
Adjusts the position of the borders and their contents.
msg(int, Object) - Static method in class support143.Debug
Displays a debug message (or more generally object) of the specified priority.

N

needDebug() - Method in class support143.DriverHelper
Checks if debug is requested.
needHelp() - Method in class support143.DriverHelper
Checks if help is requested.
next() - Method in class AveragingTicker
 
next() - Method in interface DataSource
Generates the next point in the series.
next() - Method in class Ticker
Fetches the next point value

O

outsideBorderedSpace(int, int) - Method in class BorderedInfiniteCanvas
Determines if a given position is beyond the borders.

P

parameters - Variable in class IntegerArgs
 
parseCommandLine() - Method in class support143.Args
Parses any unparsed command line arguments.
PointValue - class PointValue.
Simple integer point value class.
PointValue(int) - Constructor for class PointValue
Sole constructor.
process() - Method in class TSGHelper
 
process() - Method in class support143.DriverHelper
Starts phase 3.
Pump - class Pump.
A Pump synchronizes the flow between any number of paired DataSources and DataSinks.
pump() - Method in class Pump
Synchronously move the next point from each source to its associated sink.
Pump() - Constructor for class Pump
Sole constructor.

R

remove(Shape) - Method in class BorderedInfiniteCanvas
 
removeFromUnborderedSpace(Shape) - Method in class BorderedInfiniteCanvas
Removes a given shape which has been draw in the borders.

S

scale(PointValue) - Method in class TimeSeriesGraph
MADE PROTECTED
setDebugLevel(int) - Static method in class support143.Debug
Changes the current debug level.
setHelp(String, String) - Method in class support143.Args
Associates a help message with a command.
setLeftHandX(int) - Method in class InfiniteCanvas
Sets the value of left most visible point.
setLined(boolean) - Method in class TimeSeriesGraph
Specifies whether points should be connected.
setMax(int) - Method in interface DataSink
Establishes maximum expected value for points coming down this sink.
setMax(int) - Method in class TickedTimeSeriesGraph
 
setMax(int) - Method in class TimeSeriesGraph
Specifies maximum y value for this time series for scaling purposes.
setup(String[]) - Method in class support143.DriverHelper
Starts phase 1 of the system.
shiftCommandLine() - Method in class support143.Args
Shifts left the command line, dropping the first argument into oblivion.
showHelp() - Method in class support143.Args
Shows help messages.
showUsage() - Method in class IntegerArgs
 
showUsage() - Method in class support143.Args
Displays invocation template.
support143 - package support143
Support functions for common activities in 143.

T

TickedInfiniteCanvas - class TickedInfiniteCanvas.
Ticks and Axes on an Infinite Canvas with Borders Shapes should be drawn in infinite x space.
TickedTimeSeriesGraph - class TickedTimeSeriesGraph.
 
TickedTimeSeriesGraph() - Constructor for class TickedTimeSeriesGraph
 
TickedTimeSeriesGraph(TickedInfiniteCanvas) - Constructor for class TickedTimeSeriesGraph
 
Ticker - class Ticker.
A ticker implements a DataSource interface on top of a file containing floating point numbers.
Ticker(String) - Constructor for class Ticker
Sole constructor.
TimeSeriesGraph - class TimeSeriesGraph.
A TimeSeriesGraph graphs a series of points assumed to be in time order.
TimeSeriesGraph() - Constructor for class TimeSeriesGraph
Place the time series on its own InfiniteCanvas.
TimeSeriesGraph(InfiniteCanvas) - Constructor for class TimeSeriesGraph
Places the time series on a predefined canvas.
toString() - Method in class PointValue
 
toString() - Method in class Ticker
 
toString() - Method in class TimeSeriesGraph
Creates a fancy printable name for this class
TSGHelper - class TSGHelper.
TSGHelper class.
TSGHelper(String) - Constructor for class TSGHelper
Sole constructor.

U

unflaggedArgs - Variable in class support143.Args
 
useColumnarLayout() - Method in class InfiniteCanvas
Specifies whether to lay labels out in columns or rows.

V

value() - Method in class PointValue
Extracts the integer value of this.

Y

yMax - Variable in class TimeSeriesGraph
 
yMaxDefault - Variable in class TimeSeriesGraph
 
ySize - Variable in class TimeSeriesGraph
 

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