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

A

ACKNOWLEDGE - Static variable in class ch.aplu.util.LptPort
Bit value of Acknowledge line in status register of LPT port (at base address + 1).
add(Complex) - Method in class ch.aplu.util.Complex
Define a complex add method.
add(Complex, Complex) - Static method in class ch.aplu.util.Complex
Define a static add method that creates a a new Complex object with the sum.
add(Component) - Method in class ch.aplu.util.GPanel
Same as addComponent() (deprecated).
add(GVector) - Method in class ch.aplu.util.GVector
Returns a new vector that is the vector sum of the current vector and the given vector.
addActionListener(ActionListener) - Method in class ch.aplu.util.ModelessOptionPane
Register a ActionListener to get a notification when the button is hit.
addCleanable(Cleanable) - Method in class ch.aplu.util.MessagePane
Register a class that implements Cleanable.clean() that will be called when the title bar's close button is hit.
addCleanable(Cleanable) - Method in class ch.aplu.util.ModelessOptionPane
Register a class that implements Cleanable.clean() that will be called when the title bar's close button is hit.
addComponent(Component) - Method in class ch.aplu.util.GPanel
Append the specified component to the container.
addEntryListener(EntryListener) - Method in class ch.aplu.util.EntryDialog
Registers an EntryListener.
addExitListener(ExitListener) - Static method in class ch.aplu.util.Console
Register an ExitListener to get a notification when the close button is clicked.
addExitListener(ExitListener) - Method in class ch.aplu.util.EntryDialog
Registers a class that implements ExitListener.notifyExit() that will be called when the title bar's close button is hit.
addExitListener(ExitListener) - Method in class ch.aplu.util.GConsole
Register an ExitListener to get a notification when the close button is clicked.
addExitListener(ExitListener) - Method in class ch.aplu.util.GPanel
Register an ExitListener to get a notification when the close button is clicked.
addExitListener(ExitListener) - Method in class ch.aplu.util.GWindow
Register an ExitListener to get a notification when the close button is clicked.
addExitListener(ExitListener) - Method in class ch.aplu.util.HtmlPane
Register an ExitListener to get a notification when the close button is clicked.
addExitListener(ExitListener) - Method in class ch.aplu.util.MessagePane
Register a class that implements ExitListener.notifyExit() that will be called when the title bar's close button is hit.
addExitListener(ExitListener) - Method in class ch.aplu.util.ModelessOptionPane
Register a class that implements ExitListener.notifyExit() that will be called when the title bar's close button is hit.
addExitListener(ExitListener) - Static method in class ch.aplu.util.QuitPane
Create a QuitPane dialog, if it's not yet done.
addKeyListener(KeyListener) - Method in class ch.aplu.util.GPanel
Registers the given KeyListener to get notifications for key events.
addLinkListener(LinkListener) - Method in class ch.aplu.util.HtmlPane
Registers a LinkListener to get events when clicked on a hyperlink.
addMouseDoubleClickListener(MouseDoubleClickListener) - Method in class ch.aplu.util.GPane
Adds the specified MouseDoubleClickListener get notifications for mouse double-click events and calls setDoubleClickDelay(-1).
addMouseDoubleClickListener(MouseDoubleClickListener) - Method in class ch.aplu.util.GPanel
Adds the specified MouseDoubleClickListener get notifications for mouse double-click events.
addMouseListener(MouseListener) - Method in class ch.aplu.util.GPanel
Registers the given MouseListener to get notifications for mouse events.
addMouseMotionListener(MouseMotionListener) - Method in class ch.aplu.util.GPanel
Registers the given MouseMotionListener to get notifications for mouse motion events.
addMouseWheelListener(MouseWheelListener) - Method in class ch.aplu.util.GPanel
Registers the given MouseWhelListener to get notifications for mouse wheel events.
addQuitNotifier(Cleanable) - Method in class ch.aplu.util.QuitPane
Register a Cleanble whose clean method will be called when the Quit or Close button is hit.
addSoundConverter(SoundConverter) - Method in class ch.aplu.util.SoundPlayer
Registers a sound converter.
addSoundPlayerListener(SoundPlayerListener) - Method in class ch.aplu.util.SoundPlayer
Register a SoundPlayerListener to get notifications from the SoundPlayer.
addSoundSampleListener(SoundSampleListener) - Method in class ch.aplu.util.SoundRecorder
Register a SoundSampleLister to get notifications for each recorded sound sample (default sample size: 10000 bytes).
addStatusBar(int) - Method in class ch.aplu.util.GPanel
Add a status window attached at the bottom of the GPanel window.
addTimerListener(TimerListener) - Method in class ch.aplu.util.BaseAlarmTimer
Register a TimerListener to fire callbacks when the time interval expires (current time reaches 0 or the timer is stopped).
adjust() - Method in class ch.aplu.util.GWindow
Actualize the conversion between window und user coordinates according to the current component size.
advanceFrames(long) - Method in class ch.aplu.util.SoundPlayer
Advance current position (number of frames).
advanceTime(double) - Method in class ch.aplu.util.SoundPlayer
Advance current time (in ms).
APPLETFRAME - Static variable in class ch.aplu.util.GPanel
Mode for a GPanel used as standalone window in a applet.
applyTransform(AffineTransform) - Method in class ch.aplu.util.GPane
Apply the given AffineTransform to offscreen buffer.
applyTransform(AffineTransform) - Method in class ch.aplu.util.GPanel
Apply the given AffineTransform to offscreen buffer.
arc(double, double, double) - Method in class ch.aplu.util.GPane
Draw an arc with center at the current graph position and given radius in window coordinates.
arc(double, double, double) - Method in class ch.aplu.util.GPanel
Draw an arc with center at the current graph position and given radius in window coordinates.
AudioFormats - Class in ch.aplu.util
Class to provide simple AudioFormats.
AUTOLINEFEED - Static variable in class ch.aplu.util.LptPort
Bit value of Auto Linefeed line in control register of LPT port (at base address + 2).

B

backgroundColor - Variable in class ch.aplu.util.GPane
Property for bean support.
BaseAlarmTimer - Class in ch.aplu.util
Abstract base class for HiResAlarmTimer and LoResAlarmTimer.
BaseTimer - Class in ch.aplu.util
Abstract base class for HiResTimer and LoResTimer.
bgColor(Color) - Method in class ch.aplu.util.GPane
Set the background color.
bgColor(Color) - Method in class ch.aplu.util.GPanel
Set the background color.
bgColor(String) - Method in class ch.aplu.util.GPanel
Set the background color using the given X11 color name.
blockingPlay() - Method in class ch.aplu.util.SoundPlayer
Start playing and block until the sound file is completely played.
browse(String) - Static method in class ch.aplu.util.HtmlPane
Calls the standard system browser
BUSY - Static variable in class ch.aplu.util.LptPort
Bit value of Busy line in status register of LPT port (at base address + 1).
ButtonEntry - Class in ch.aplu.util
Class derived from EntryItem to create a push button in a EntryDialog.
ButtonEntry(String) - Constructor for class ch.aplu.util.ButtonEntry
Creates a push button with given button text.

C

cancel(long) - Method in class ch.aplu.util.JRunner
Continue the halted thread and wait for the thread to die at most the given time (in ms).
cancel() - Method in class ch.aplu.util.JRunner
Continue the halted thread and block until the thread is dead.
capture() - Method in class ch.aplu.util.SoundRecorder
Same as capture(ByteArrayOutputStream data), but store data in an internal buffer that can be read-out by getRecordedData().
capture(ByteArrayOutputStream) - Method in class ch.aplu.util.SoundRecorder
Start capturing the sound in a separate capture thread and store data in the given stream.
ch.aplu.util - package ch.aplu.util
Java class package with a focus on education.
checkDisposed() - Method in class ch.aplu.util.GConsole
 
CheckEntry - Class in ch.aplu.util
Class derived from EntryItem to create a check box in a EntryDialog.
CheckEntry(String, boolean) - Constructor for class ch.aplu.util.CheckEntry
Creates a check box with given label text and default check/uncheck sign.
circle(double) - Method in class ch.aplu.util.GPane
Draw a circle with center at the current graph position and given radius in horizontal window coordinates.
circle(double) - Method in class ch.aplu.util.GPanel
Draw a circle with center at the current graph position and given radius in horizontal window coordinates.
clean() - Method in interface ch.aplu.util.Cleanable
 
Cleanable - Interface in ch.aplu.util
Interface to declare a cleanup method, called normally before program terminates.
cleanup() - Method in interface ch.aplu.util.SoundConverter
Callback method called when no more data is available before closing SoundPlayer's output to the sound device.
clear() - Static method in class ch.aplu.util.Console
Erase all text in console window
clear() - Method in class ch.aplu.util.GConsole
Erase all text in console window
clear() - Method in class ch.aplu.util.GPane
Clear the graphics window (fully paint with background color) (and the offscreen buffer used by the window).
clear() - Method in class ch.aplu.util.GPanel
Clear the graphics window (fully paint with background color) (and the offscreen buffer used by the window).
clear() - Method in class ch.aplu.util.GWindow
Clear the screen graphics (without calling repaint).
clear() - Method in class ch.aplu.util.HtmlPane
Erase all text.
clearBuf() - Method in class ch.aplu.util.GWindow
Clear the graphics offline buffer (without calling repaint).
clearStore(Color) - Method in class ch.aplu.util.GPane
Clear store buffer by uniformly painting it with with given color.
clearStore(Color) - Method in class ch.aplu.util.GPanel
Clear store buffer by uniformly painting it with with given color.
clearStore(String) - Method in class ch.aplu.util.GPanel
Clear store buffer by uniformly painting it with with the given X11 color name.
clearStore(Color) - Method in class ch.aplu.util.GWindow
Clear store buffer by uniformly painting it with given color.
clone() - Method in class ch.aplu.util.GVector
Returns a new vector with the same coordinates as the current vector.
close() - Method in class ch.aplu.util.LptPort
Close port Do nothing, if port is not open.
close() - Method in class ch.aplu.util.MessageDialog
Hide the modeless message dialog previously shown.
close() - Static method in class ch.aplu.util.QuitPane
Hide the dialog.
closeInputStream(InputStream) - Static method in class ch.aplu.util.FilePath
Closes the given input stream.
closeOutputStream(OutputStream) - Static method in class ch.aplu.util.FilePath
Closes the given output stream.
color(Color) - Method in class ch.aplu.util.GPane
Same as setColor() (deprecated).
color(Color) - Method in class ch.aplu.util.GPanel
Same as setColor(Color color) (deprecated).
color(String) - Method in class ch.aplu.util.GPanel
Same as setColor(String colorStr) (deprecated).
Complex - Class in ch.aplu.util
This is a complex number class with the essential features needed for computations.
Complex(double, double) - Constructor for class ch.aplu.util.Complex
Constructor that initializes the values.
Console - Class in ch.aplu.util
Console window for line oriented input and output.
Console(Position, Size, Font) - Constructor for class ch.aplu.util.Console
Construct a Console with attributes.
Console() - Constructor for class ch.aplu.util.Console
Construct a Console with default attributes ( see init() ).
Console.ClosingMode - Enum in ch.aplu.util
 
copyDirectory(File, File, boolean) - Static method in class ch.aplu.util.FilePath
Copies all files from the source directory into the destination directory.
copyFile(URL, File) - Static method in class ch.aplu.util.FilePath
Copies binary data from the source URL to the destination file.
copyFile(File, File) - Static method in class ch.aplu.util.FilePath
Copies binary data from the source file to the destination file.
copyTree(File, File) - Static method in class ch.aplu.util.FilePath
Copies all files with subdirectory structure from the source directory to the destination directory.
copyTree(File, File, String) - Static method in class ch.aplu.util.FilePath
Copies all files with subdirectory structure from the source directory to the destination directory.
createDirectoryTree(File) - Static method in class ch.aplu.util.FilePath
Creates a directory structure.
crop(BufferedImage, int, int, int, int) - Static method in class ch.aplu.util.GBitmap
Extracts the partial image if the given rectangular area.
cubicBezier(Point2D.Double, Point2D.Double, Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPane
Draw a cubic bezier curve.
cubicBezier(double, double, double, double, double, double, double, double) - Method in class ch.aplu.util.GPane
Draw a cubic bezier curve.
cubicBezier(Point2D.Double, Point2D.Double, Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPanel
Draw a cubic bezier curve.
cubicBezier(double, double, double, double, double, double, double, double) - Method in class ch.aplu.util.GPanel
Draw a cubic bezier curve.

D

DATA0 - Static variable in class ch.aplu.util.LptPort
Bit value of bit 0 in data register of LPT port (at base address).
DATA1 - Static variable in class ch.aplu.util.LptPort
Bit value of bit 1 in data register of LPT port (at base address).
DATA2 - Static variable in class ch.aplu.util.LptPort
Bit value of bit 2 in data register of LPT port (at base address).
DATA3 - Static variable in class ch.aplu.util.LptPort
Bit value of bit 3 in data register of LPT port (at base address).
DATA4 - Static variable in class ch.aplu.util.LptPort
Bit value of bit 4 in data register of LPT port (at base address).
DATA5 - Static variable in class ch.aplu.util.LptPort
Bit value of bit 5 in data register of LPT port (at base address).
DATA6 - Static variable in class ch.aplu.util.LptPort
Bit value of bit 6 in data register of LPT port (at base address).
DATA7 - Static variable in class ch.aplu.util.LptPort
Bit value of bit 7 in data register of LPT port (at base address).
delay(int) - Static method in class ch.aplu.util.BaseTimer
Delay execution for the given amount of time ( in ms ).
delay(int) - Static method in class ch.aplu.util.Console
Delay execution for the given amount of time ( in ms ).
delay(int) - Method in class ch.aplu.util.GConsole
Delay execution for the given amount of time ( in ms ).
delay(int) - Static method in class ch.aplu.util.GPane
Delay execution for the given amount of time ( in ms ).
delay(int) - Static method in class ch.aplu.util.GPanel
Delay execution for the given amount of time ( in ms ).
delay(int) - Static method in class ch.aplu.util.GWindow
Delay execution for the given amount of time ( in ms ).
delay(long) - Static method in class ch.aplu.util.SoundPlayer
Suspend thread execution for the given amount of time (in ms).
deleteLastChar() - Static method in class ch.aplu.util.Console
Deletes the last character and adjusts the cursor.
deleteLastChar() - Method in class ch.aplu.util.GConsole
Deletes the last character and adjusts the cursor.
disableClose(boolean) - Method in class ch.aplu.util.GPanel
Disable/enable the title bar's closing button.
disableClose(boolean) - Method in class ch.aplu.util.GWindow
Disable/Enable the title bar's closing button.
dispose() - Static method in class ch.aplu.util.Console
Disposes the console frame.
dispose() - Method in class ch.aplu.util.EntryDialog
 
dispose() - Method in class ch.aplu.util.GConsole
Disposes the console frame.
dispose() - Method in class ch.aplu.util.GPane
Release all used system resources (offscreen buffer, graphics context) and unblock getKeyWait() and getKeyCodeWait() and waiting Monitor.putSleep().
dispose() - Method in class ch.aplu.util.GPanel
Release all used system resources (offscreen buffer, graphics context) and unblock getKeyWait() and getKeyCodeWait() and waiting Monitor.putSleep().
dispose() - Method in class ch.aplu.util.HtmlPane
 
dispose() - Method in class ch.aplu.util.ModelessOptionPane
Dispose the dialog.
dispose() - Static method in class ch.aplu.util.QuitPane
Hide the dialog and release the resources.
disposeAll() - Static method in class ch.aplu.util.GPane
Release all used system resources (offscreen buffer, graphics context) and unblock getKeyWait() and getKeyCodeWait() and waiting Monitor.putSleep() of all currently openend GPane windows.
disposeAll() - Static method in class ch.aplu.util.GPanel
Release all used system resources (offscreen buffer, graphics context) and unblock getKeyWait() and getKeyCodeWait() and waiting Monitor.putSleep() of all currently openend GPanel windows.
disposeAll() - Static method in class ch.aplu.util.HtmlPane
Release all used system resources of all currently openend HtmlPane windows.
distanceTo(GVector) - Method in class ch.aplu.util.GVector
Returns the distance between the current vector and the given vector.
divide(Complex) - Method in class ch.aplu.util.Complex
Divide this complex object by the complex argument.
divide(Complex, Complex) - Static method in class ch.aplu.util.Complex
Define a static divide method that creates a a new Complex object with the result of cvalue1/cvalue2.
dot(GVector) - Method in class ch.aplu.util.GVector
Returns the scalar product (dot product) of the current vector with the given vector.
DoubleEntry - Class in ch.aplu.util
Class derived from EntryItem to create an input text field in a EntryDialog.
DoubleEntry(String) - Constructor for class ch.aplu.util.DoubleEntry
Creates a text field with given prompt text.
DoubleEntry(String, double) - Constructor for class ch.aplu.util.DoubleEntry
Creates a text field with given prompt text and given initializing value.
draw(double, double) - Method in class ch.aplu.util.GPane
Draw a line from current graph position to given window coordinates and set the graph position to the endpoint.
draw(Point2D.Double) - Method in class ch.aplu.util.GPane
Draw a line from current graph position to given point (in window coordinates) and set the graph position to the endpoint.
draw(double, double) - Method in class ch.aplu.util.GPanel
Draw a line from current graph position to given window coordinates and set the graph position to the endpoint.
draw(Point2D.Double) - Method in class ch.aplu.util.GPanel
Draw a line from current graph position to given point (in window coordinates) and set the graph position to the endpoint.
draw() - Method in interface ch.aplu.util.GPrintable
This method must perform all drawing operations.
drawImage(BufferedImage, int, int, boolean) - Method in class ch.aplu.util.GWindow
Draw the given BufferedImage into offscreen buffer at (x, y) coordinates of upper left corner.
drawNode(double, double, String, int, int, Color, Color, Color, Font) - Method in class ch.aplu.util.GPane
Creates an image that shows a filled circle with given text center-aligned and draws it at given position.
drawNode(double, double, String, int, int, Color, Color, Color, Font) - Method in class ch.aplu.util.GPanel
Creates an image that shows a filled circle with given text center-aligned and draws it at given position.
dvd_mono - Static variable in class ch.aplu.util.AudioFormats
PCM signed, 16 bit, mono, 44100 kHz, small endian
dvd_stereo - Static variable in class ch.aplu.util.AudioFormats
PCM signed, 16 bit, stereo, 44100 kHz, small endian

E

ellipse(double, double) - Method in class ch.aplu.util.GPane
Draw an ellipse with center at the current graph position and given horizontal and vertical axes.
ellipse(double, double) - Method in class ch.aplu.util.GPanel
Draw an ellipse with center at the current graph position and given horizontal and vertical axes.
EMBEDDED - Static variable in class ch.aplu.util.GPanel
Mode for a GPanel embedded in a top-level window (no longer supported).
enableFocus - Variable in class ch.aplu.util.GPane
 
enableRepaint(boolean) - Method in class ch.aplu.util.GPane
Enable or disable the automatic repaint in graphics methods.
enableRepaint(boolean) - Method in class ch.aplu.util.GPanel
Enable or disable the automatic repaint in graphics methods.
end() - Static method in class ch.aplu.util.Console
Hide the console window and releases resources.
end() - Method in class ch.aplu.util.GConsole
Hide the console window and releases resources.
EntryDialog - Class in ch.aplu.util
Versatile modeless message dialog for entering user data and selecting option.
EntryDialog(EntryPane...) - Constructor for class ch.aplu.util.EntryDialog
Same as general constructor, but the dialog is positioned at the screen center.
EntryDialog(int, int, EntryPane...) - Constructor for class ch.aplu.util.EntryDialog
General constructor that shows a modeless message dialog at given position (upper left corner) containing any number of EntryPanes containers any number of EntryItems of the same type.
EntryItem - Class in ch.aplu.util
Base class of all controls to be inserted into an EntryPane container used in an EntryDialog.
EntryItem() - Constructor for class ch.aplu.util.EntryItem
 
EntryListener - Interface in ch.aplu.util
The listener interface for processing entry dialog events.
EntryPane - Class in ch.aplu.util
Container for EntryItems to be used for EntryDialog areas.
EntryPane(EntryItem...) - Constructor for class ch.aplu.util.EntryPane
Creates an entry pane with no surrounding border lines.
EntryPane(String, EntryItem...) - Constructor for class ch.aplu.util.EntryPane
Creates an entry pane with thin border lines and given title text displayed at the top border line.
equals(Object) - Method in class ch.aplu.util.Complex
Check for the equality of this object with that of the argument.
erase() - Method in class ch.aplu.util.GPane
Same as clear() but let the current graph position unchanged.
erase() - Method in class ch.aplu.util.GPanel
Same as clear() but let the current graph position unchanged.
ERROR - Static variable in class ch.aplu.util.LptPort
Bit value of Error line in status register of LPT port (at base address + 1).
ExitListener - Interface in ch.aplu.util
The listener interface for processing the GPanel's or Console's close button event.

F

f(double, double) - Method in class ch.aplu.util.Waveform.ChirpWave
Declares a chirp wave of given start frequency.
f(double, double) - Method in interface ch.aplu.util.Waveform
Signature of the function to play
f(double, double) - Method in class ch.aplu.util.Waveform.SawtoothWave
Declares a sawtooth wave of given frequency with amplitude 1.
f(double, double) - Method in class ch.aplu.util.Waveform.SineWave
Declares a sine wave of given frequency: f = sin(omega*t).
f(double, double) - Method in class ch.aplu.util.Waveform.SquareWave
Declares a square wave of given frequency with amplitude 1.
f(double, double) - Method in class ch.aplu.util.Waveform.TriangleWave
Declares a triangle wave of given frequency with amplitude 1.
FilePath - Class in ch.aplu.util
FilePath is a helper class that simplifies file operations.
fill(Point2D.Double, Color, Color) - Method in class ch.aplu.util.GPane
Change the color of the bounded region with the given internal point to the replacement color using the flood fill algorithm.
fill(double, double, Color, Color) - Method in class ch.aplu.util.GPane
Change the color of the bounded region with the given internal point to the replacement color using the flood fill algorithm.
fill(Point2D.Double, Color, Color) - Method in class ch.aplu.util.GPanel
Change the color of the bounded region with the given internal point to the replacement color using the flood fill algorithm.
fill(Point2D.Double, String, String) - Method in class ch.aplu.util.GPanel
Change the color of the bounded region with the given internal point to the replacement color using the flood fill algorithm.
fill(double, double, Color, Color) - Method in class ch.aplu.util.GPanel
Change the color of the bounded region with the given internal point to the replacement color using the flood fill algorithm.
fill(double, double, String, String) - Method in class ch.aplu.util.GPanel
Change the color of the bounded region with the given internal point to the replacement color using the flood fill algorithm.
fillArc(double, int, int) - Method in class ch.aplu.util.GPane
Draw a filled arc with center at the current graph position and given radius in window coordinates.
fillArc(double, int, int) - Method in class ch.aplu.util.GPanel
Draw a filled arc with center at the current graph position and given radius in window coordinates.
fillCircle(double) - Method in class ch.aplu.util.GPane
Draw a filled circle with center at the current graph position and given radius in window coordinates using the current color.
fillCircle(double) - Method in class ch.aplu.util.GPanel
Draw a filled circle with center at the current graph position and given radius in window coordinates using the current color.
fillEllipse(double, double) - Method in class ch.aplu.util.GPane
Draw a filled ellipse with center at the current graph position and given horizontal and vertical axes.
fillEllipse(double, double) - Method in class ch.aplu.util.GPanel
Draw a filled ellipse with center at the current graph position and given horizontal and vertical axes.
fillGeneralPath(GeneralPath) - Method in class ch.aplu.util.GPane
Fill a figure defined by the given GeneralPath (using window coordinates) using the current color.
fillGeneralPath(GeneralPath) - Method in class ch.aplu.util.GPanel
Fill a figure defined by the given GeneralPath (using window coordinates) using the current color.
fillPolygon(double[], double[]) - Method in class ch.aplu.util.GPane
Draw a filled polygon with given corner coordinates in window coordinates using the current color.
fillPolygon(Point2D.Double[]) - Method in class ch.aplu.util.GPane
Draw a filled polygon with given corner points in window coordinates using the current color.
fillPolygon(double[], double[]) - Method in class ch.aplu.util.GPanel
Draw a filled polygon with given corner coordinates in window coordinates using the current color.
fillPolygon(Point2D.Double[]) - Method in class ch.aplu.util.GPanel
Draw a filled polygon with given corner points in window coordinates using the current color.
fillRectangle(double, double) - Method in class ch.aplu.util.GPane
Draw a filled rectangle with center at the current graph position and given width and height in window coordinates using the current color.
fillRectangle(double, double, double, double) - Method in class ch.aplu.util.GPane
Draw a filled rectangle with given opposite corners in window coordinates using the current color.
fillRectangle(Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPane
Draw a filled rectangle with given opposite corner points in window coordinates using the current color.
fillRectangle(double, double) - Method in class ch.aplu.util.GPanel
Draw a filled rectangle with center at the current graph position and given width and height in window coordinates using the current color.
fillRectangle(double, double, double, double) - Method in class ch.aplu.util.GPanel
Draw a filled rectangle with given opposite corners in window coordinates using the current color.
fillRectangle(Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPanel
Draw a filled rectangle with given opposite corner points in window coordinates using the current color.
fillTriangle(double, double, double, double, double, double) - Method in class ch.aplu.util.GPane
Draw a filled triangle with given corner coordinates in window coordinates using the current color.
fillTriangle(Point2D.Double, Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPane
Draw a filled triangle with given corners in window coordinates using the current color.
fillTriangle(double, double, double, double, double, double) - Method in class ch.aplu.util.GPanel
Draw a filled triangle with given corner coordinates in window coordinates using the current color.
fillTriangle(Point2D.Double, Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPanel
Draw a filled triangle with given corners in window coordinates using the current color.
floodFill(BufferedImage, Point, Color, Color) - Static method in class ch.aplu.util.GBitmap
Fills a bounded single-colored region with the given color.
fm_mono - Static variable in class ch.aplu.util.AudioFormats
PCM unsigned, 8 bit, mono, 22050 kHz, small endian
fm_stereo - Static variable in class ch.aplu.util.AudioFormats
PCM unsigned, 8 bit, stereo, 22050 kHz, small endian
focusGained(FocusEvent) - Method in class ch.aplu.util.GPane
Essentially for internal use only.
focusLost(FocusEvent) - Method in class ch.aplu.util.GPane
Essentially for internal use only.
font(Font) - Method in class ch.aplu.util.GPane
Select the given font for all following text operations.
font(Font) - Method in class ch.aplu.util.GPanel
Select the given font for all following text operations.
Fullscreen - Class in ch.aplu.util
Construct a Size object that has the current fullscreen width and height.
Fullscreen() - Constructor for class ch.aplu.util.Fullscreen
Construct a Fullscreen instance.
FULLSCREEN - Static variable in class ch.aplu.util.GPanel
Instance of class Fullscreen.
FunctionPlayer - Class in ch.aplu.util
Class to play audio clips based on mathematical functions.
FunctionPlayer(AudioFormat) - Constructor for class ch.aplu.util.FunctionPlayer
Creates a FunctionPlayer with given audio format.
FunctionPlayer() - Constructor for class ch.aplu.util.FunctionPlayer
Creates a FunctionPlayer with format Audioformats.dvd_mono.

G

GBitmap - Class in ch.aplu.util
GBitmap is a helper class derived from BufferedImage with some common bitmap transformation methods.
GBitmap(ColorModel, WritableRaster, boolean, Hashtable) - Constructor for class ch.aplu.util.GBitmap
Constructs a BufferedImage with a specified ColorModel and Raster.
GBitmap(int, int, int) - Constructor for class ch.aplu.util.GBitmap
Constructs a BufferedImage of one of the predefined image types.
GBitmap(int, int) - Constructor for class ch.aplu.util.GBitmap
Constructs a BufferedImage of type BufferedImage.TYPE_INT_ARGB.
GBitmap(int, int, int, IndexColorModel) - Constructor for class ch.aplu.util.GBitmap
Constructs a BufferedImage of one of the predefined image types: TYPE_BYTE_BINARY or TYPE_BYTE_INDEXED.
GConsole - Class in ch.aplu.util
Console window for line oriented input and output.
GConsole(Position, Size, Font) - Constructor for class ch.aplu.util.GConsole
Construct a Console with given attributes.
GConsole() - Constructor for class ch.aplu.util.GConsole
Construct a Console with default attributes.
GConsole(Position, Size) - Constructor for class ch.aplu.util.GConsole
Construct a Console with given position, size and default font.
GConsole(Font) - Constructor for class ch.aplu.util.GConsole
Construct a Console with given font and default position and size.
GConsole.ClosingMode - Enum in ch.aplu.util
 
generalPath(GeneralPath) - Method in class ch.aplu.util.GPane
Draw a figure defined by the given GeneralPath (using window coordinates).
generalPath(GeneralPath) - Method in class ch.aplu.util.GPanel
Draw a figure defined by the given GeneralPath (using window coordinates).
getAbout() - Method in class ch.aplu.util.GPane
Return copywrite information
getAbout() - Static method in class ch.aplu.util.GPanel
Return copywrite information.
getAbout() - Method in class ch.aplu.util.GWindow
Return copywrite information.
getAffineScale() - Method in class ch.aplu.util.GWindow
Perform scaling of the offscreen buffer to fit the image to the current window dimension.
getAvailableMixers() - Static method in class ch.aplu.util.SoundPlayer
Return a list of the names of available mixers (sound devices).
getAvailableMixers() - Static method in class ch.aplu.util.SoundRecorder
Return a list of the names of available mixers (sound devices).
getBackgroundColor() - Method in class ch.aplu.util.GPane
Return the color of the background
getBgColor() - Method in class ch.aplu.util.GPane
Return the current background color.
getBgColor() - Method in class ch.aplu.util.GPanel
Return the current background color.
getBgColor() - Method in class ch.aplu.util.GWindow
Return the current background color.
getBgColorStr() - Method in class ch.aplu.util.GPanel
Return the current background X11 color name.
getBoolean() - Static method in class ch.aplu.util.InputDialog
Show the dialog with a yes/no button pair to get a boolean.
getBottomInset() - Method in class ch.aplu.util.GWindow
Return the bottom inset of the window (border width) in pixels.
getBufferedImage() - Method in class ch.aplu.util.GWindow
Return a reference to the offscreen buffer created by GWindow's constructor.
getButton() - Method in class ch.aplu.util.ButtonEntry
Returns the underlaying JButton.
getByteArray(BufferedImage, String) - Static method in class ch.aplu.util.GBitmap
Returns the image in a byte array. imageFormat is the informal name of the format (one of the strings returned by get SupportedImageFormats()).
getCapturedBytes() - Method in class ch.aplu.util.SoundRecorder
Return a reference to the internal sound recording buffer.
getCheckBox() - Method in class ch.aplu.util.CheckEntry
Returns the underlaying JCheckBox.
getClosingMode(MyProperties) - Method in class ch.aplu.util.GConsole
 
getColorNames() - Static method in class ch.aplu.util.X11Color
Returns the implemented X11 color names.
getCurrentHeight() - Method in class ch.aplu.util.GWindow
Return the height of the client area in user coordinates.
getCurrentPos() - Method in class ch.aplu.util.SoundPlayer
Return the current position (in frames from beginning).
getCurrentTime() - Method in class ch.aplu.util.SoundPlayer
Return the current time (in ms from beginning).
getCurrentWidth() - Method in class ch.aplu.util.GWindow
Return the width of the client area in user coordinates.
getDesktopProperties() - Static method in class ch.aplu.util.GWindow
Return the property names of available system properties.
getDialog() - Method in class ch.aplu.util.MessageDialog
Return the dialog.
getDialog() - Method in class ch.aplu.util.MessagePane
Return the dialog.
getDialog() - Method in class ch.aplu.util.ModelessOptionPane
Return the dialog.
getDialog() - Static method in class ch.aplu.util.QuitPane
Return the dialog.
getDirection() - Method in class ch.aplu.util.GVector
Returns the direction of the vector (range 0..2*pi)
getDividingPoint(Point2D.Double, Point2D.Double, double) - Static method in class ch.aplu.util.GPanel
Returns the point on the line through the point pt1 and the point pt2 that is in distance ratio times the length from pt1 to pt2 from pt1.
getDouble() - Static method in class ch.aplu.util.Console
Same as readDouble() but returns a Double object.
getDouble() - Method in class ch.aplu.util.GConsole
Same as readDouble() but returns a Double object.
getDouble() - Static method in class ch.aplu.util.InputDialog
Show the dialog to get a double value.
getDoubleClickDelay() - Method in class ch.aplu.util.GPane
Returns the current double-click delay.
getEnableFocus() - Method in class ch.aplu.util.GPane
Return true, if the focus is enabled; otherwise false.
getFormat() - Method in class ch.aplu.util.SoundPlayer
Return AudioFormat of player's (decoded) resource.
getFormat() - Method in class ch.aplu.util.SoundRecorder
Return the current audio format.
getFrame() - Static method in class ch.aplu.util.Console
Return a reference to the JFrame instance used by the console
getFrame() - Method in class ch.aplu.util.EntryDialog
Returns the underlaying JFrame
getFrame() - Method in class ch.aplu.util.GConsole
Return a reference to the JFrame instance used by the console
getFrameRate() - Method in class ch.aplu.util.SoundPlayer
Return frame rate (number of frames per seconds) of player's (decoded) resource.
getFrameSize() - Method in class ch.aplu.util.SoundPlayer
Return frame size (nb of bytes per sound sample) of player's (decoded) resource.
getHeight() - Method in class ch.aplu.util.Size
Return height.
getImage(String) - Static method in class ch.aplu.util.GBitmap
Retrieve the image either from the jar resource, from local drive or from a internet server.
getImage(String) - Static method in class ch.aplu.util.GPanel
Retrieve the image either from the jar resource, from local drive or from a internet server.
getImg() - Method in class ch.aplu.util.Complex
Get method for imaginary part.
getInstanceCount() - Static method in class ch.aplu.util.GPane
Returns the number of GPane instances.
getInstanceCount() - Static method in class ch.aplu.util.GPanel
Returns the number of GPanel instances.
getInstanceCount() - Static method in class ch.aplu.util.HtmlPane
Returns the number of HtmlPane instances.
getInt() - Static method in class ch.aplu.util.Console
Same as readInt() but returns an Integer object.
getInt() - Method in class ch.aplu.util.GConsole
Same as readInt() but returns an Integer object.
getInt() - Static method in class ch.aplu.util.InputDialog
Show the dialog to get an integer value.
getKey() - Static method in class ch.aplu.util.Console
Return the unicode character associated with last key pressed and flush the one-charactor buffer.
getKey(boolean) - Static method in class ch.aplu.util.Console
Return the unicode character associated with last key pressed and keep the one-charactor buffer if keep = true.
getKey() - Method in class ch.aplu.util.GConsole
Return the unicode character associated with last key pressed and flush the one-charactor buffer.
getKey(boolean) - Method in class ch.aplu.util.GConsole
Return the unicode character associated with last key pressed and keep the one-charactor buffer if keep = true.
getKey() - Method in class ch.aplu.util.GPanel
Return the unicode character associated with last key typed.
getKeyCode() - Static method in class ch.aplu.util.Console
Return the keycode associated with last key pressed and flush the one-character buffer.
getKeyCode() - Method in class ch.aplu.util.GConsole
Return the keycode associated with last key pressed and flush the one-character buffer.
getKeyCode() - Method in class ch.aplu.util.GPanel
Return the keycode associated with last key pressed.
getKeyCodeWait() - Static method in class ch.aplu.util.Console
Wait until a key is typed and return the keycode associated with last key pressed.
getKeyCodeWait() - Method in class ch.aplu.util.GConsole
Wait until a key is typed and return the keycode associated with last key pressed.
getKeyCodeWait() - Method in class ch.aplu.util.GPanel
Wait until a key is typed and return the keycode associated with last key pressed.
getKeyInt() - Static method in class ch.aplu.util.Console
Return the 8-bit ASCII code associated with last key pressed and flush the one-charactor buffer.
getKeyInt() - Method in class ch.aplu.util.GConsole
Return the 8-bit ASCII code associated with last key pressed and flush the one-charactor buffer.
getKeyInt() - Method in class ch.aplu.util.GPanel
Return the 8-bit ASCII code associated with last key typed.
getKeyWait() - Static method in class ch.aplu.util.Console
Wait until a key is typed and return the unicode character associated with last key pressed.
getKeyWait() - Method in class ch.aplu.util.GConsole
Wait until a key is typed and return the unicode character associated with last key pressed.
getKeyWait() - Method in class ch.aplu.util.GPanel
Wait until a key is typed and return the unicode character associated with it.
getKeyWaitInt() - Static method in class ch.aplu.util.Console
Return the 8-bit ASCII code associated with last key pressed and flush the one-charactor buffer.
getKeyWaitInt() - Method in class ch.aplu.util.GConsole
Return the 8-bit ASCII code associated with last key pressed and flush the one-charactor buffer.
getKeyWaitInt() - Method in class ch.aplu.util.GPanel
Wait until a key is typed and return the 8-bit ASCII code associated with it.
getLabel() - Method in class ch.aplu.util.TextEntry
Returns the underlaying JLabel.
getLastKey() - Static method in class ch.aplu.util.Console
Return the key character associated with last key pressed.
getLastKey() - Method in class ch.aplu.util.GConsole
Return the key character associated with last key pressed.
getLastKeyCode() - Static method in class ch.aplu.util.Console
Return the key code associated with last key pressed.
getLastKeyCode() - Method in class ch.aplu.util.GConsole
Return the key code associated with last key pressed.
getLastLine() - Method in class ch.aplu.util.Console
Returns the last line of the text area.
getLastLine() - Method in class ch.aplu.util.GConsole
Returns the last line of the text area.
getLastModifiers() - Static method in class ch.aplu.util.Console
Return the modifiers associated with last key pressed.
getLastModifiers() - Method in class ch.aplu.util.GConsole
Return the modifiers associated with last key pressed.
getLastModifiersText() - Static method in class ch.aplu.util.Console
Return the modifiers text associated with last key pressed.
getLastModifiersText() - Method in class ch.aplu.util.GConsole
Return the modifiers text associated with last key pressed.
getLastScreenLocation() - Static method in class ch.aplu.util.GWindow
Returns the location of the last window (null if not yet visible).
getLeftInset() - Method in class ch.aplu.util.GWindow
Return the left inset of the window (border width) in pixels.
getLineWidth() - Method in class ch.aplu.util.GPane
Return current line width in pixels.
getLineWidth() - Method in class ch.aplu.util.GPanel
Return current line width in pixels.
getLong() - Static method in class ch.aplu.util.InputDialog
Show the dialog to get a long value.
getMixerIndex() - Method in class ch.aplu.util.SoundPlayer
 
getMixerIndex() - Method in class ch.aplu.util.SoundRecorder
 
getModifiers() - Method in class ch.aplu.util.GPanel
Return the modifiers associated with last key pressed.
getModifiersText() - Method in class ch.aplu.util.GPanel
Return the modifiers text description associated with last key pressed.
getMono(AudioInputStream) - Static method in class ch.aplu.util.SoundPlayer
Return the sound data of the given AudioInputStream in a integer array.
getMP3Info() - Method in class ch.aplu.util.SoundPlayerExt
Return string with extended MP3 file information.
getNbFiles(File) - Static method in class ch.aplu.util.FilePath
Returns number of files (subdirectories are not counted) in given directory.
getNormalized() - Method in class ch.aplu.util.GVector
Returns a new vector with magnitude 1 in the direction of the given vector.
getOffG2D() - Method in class ch.aplu.util.GPane
Return the Graphics2D context of the offscreen buffer
getOffG2D() - Method in class ch.aplu.util.GPanel
Return the Graphics2D context of the offscreen buffer
getOffG2D() - Method in class ch.aplu.util.GWindow
Return the Graphics2D context of the offscreen buffer created by GWindow's constructor.
getPane() - Method in class ch.aplu.util.EntryPane
Returns the underlaying JPanel.
getPane() - Method in class ch.aplu.util.GPanel
Return the GPane container that holds the graphics.
getPenColor() - Method in class ch.aplu.util.GPane
Return the color of the pen.
getPixelColor(int, int) - Method in class ch.aplu.util.GBitmap
Returns the color of the pixel at given x,y coordinates.
getPixelColor(int[]) - Method in class ch.aplu.util.GBitmap
Returns the color of the pixel at given point (defined as int array for Jython compatibility).
getPixelColor(double, double) - Method in class ch.aplu.util.GPane
Return the color of the pixel at given window coordinates.
getPixelColor(Point2D.Double) - Method in class ch.aplu.util.GPane
Return the color of the pixel at given point (in window coordinates).
getPixelColor(double, double) - Method in class ch.aplu.util.GPanel
Return the color of the pixel at given window coordinates.
getPixelColor(Point2D.Double) - Method in class ch.aplu.util.GPanel
Return the color of the pixel at given point (in window coordinates).
getPixelColor(double, double) - Method in class ch.aplu.util.GWindow
Return the color of the screen pixel at given location.
getPixelColorStr(int, int) - Method in class ch.aplu.util.GBitmap
Returns the X11 color name of the pixel at given x,y coordinates.
getPixelColorStr(int[]) - Method in class ch.aplu.util.GBitmap
Returns the X11 color name of the pixel at given point (defined as int array for Jython compatibility).
getPixelColorStr(double, double) - Method in class ch.aplu.util.GPanel
Return the X11 color name of the pixel at given window coordinates.
getPixelColorStr(Point2D.Double) - Method in class ch.aplu.util.GPanel
Return the X11 color name of the pixel at given point (in window coordinates).
getPopupHeight() - Method in class ch.aplu.util.GWindow
Return the height of the window in user coordinates when it was created.
getPopupWidth() - Method in class ch.aplu.util.GWindow
Return the width of the window in user coordinates when it was created.
getPos() - Method in class ch.aplu.util.GPane
Return reference to point of current graph position (in window coordinates).
getPos() - Method in class ch.aplu.util.GPanel
Return reference to point of current graph position (in window coordinates).
getPosX() - Method in class ch.aplu.util.GPane
Return window coordinate x of current graph position.
getPosX() - Method in class ch.aplu.util.GPanel
Return window coordinate x of current graph position.
getPosY() - Method in class ch.aplu.util.GPane
Return window coordinate y of current graph position.
getPosY() - Method in class ch.aplu.util.GPanel
Return window coordinate y of current graph position.
getPropertyDescriptors() - Method in class ch.aplu.util.GPaneBeanInfo
Return the descriptor of visible properties.
getRandomColor() - Static method in class ch.aplu.util.X11Color
Returns a random color from the X11 color set.
getRandomColorStr() - Static method in class ch.aplu.util.X11Color
Returns a random X11 color from the X11 color set.
getReal() - Method in class ch.aplu.util.Complex
Get method for real part.
getRightInset() - Method in class ch.aplu.util.GWindow
Return the right inset of the window (border width) in pixels.
getSamples(double[]) - Method in class ch.aplu.util.SoundReader
 
getScaleX() - Method in class ch.aplu.util.GWindow
Return the current magnification factor of horizontal window size.
getScaleY() - Method in class ch.aplu.util.GWindow
Return the current magnification factor of vertical window size.
getScreenHeight() - Static method in class ch.aplu.util.GWindow
Get the height of the screen (in pixels).
getScreenLocation() - Method in class ch.aplu.util.GWindow
Returns the current location of the window on the screen.
getScreenWidth() - Static method in class ch.aplu.util.GWindow
Get the width of the screen (in pixels).
getSlider() - Method in class ch.aplu.util.SliderEntry
Returns the underlaying JSlider
getStereo(AudioInputStream) - Static method in class ch.aplu.util.SoundPlayer
Return the sound data in given AudioInputStream in a integer array.
getStereoSamples(double[], double[]) - Method in class ch.aplu.util.SoundReader
 
getString() - Static method in class ch.aplu.util.InputDialog
Show the dialog to get a string value (same as readString()).
getSupportedImageFormats() - Static method in class ch.aplu.util.GBitmap
Returns all supported image formats.
getTextArea() - Static method in class ch.aplu.util.Console
Return a reference to the JTextArea of the console window
getTextArea() - Method in class ch.aplu.util.GConsole
Return a reference to the JTextArea of the console window
getTextField() - Method in class ch.aplu.util.TextEntry
Returns the underlaying JTextField.
getTime() - Method in class ch.aplu.util.BaseAlarmTimer
Return the current time in microseconds (us).
getTime() - Method in class ch.aplu.util.BaseTimer
Return the current timer's value in microseconds (us).
getTotalNbSamples() - Method in class ch.aplu.util.SoundReader
Return the number of samples of all channels
getUlx() - Method in class ch.aplu.util.Position
Return x-coordinate.
getUly() - Method in class ch.aplu.util.Position
Return y-coordinate.
getValue() - Method in class ch.aplu.util.ButtonEntry
Returns the current state of the button.
getValue() - Method in class ch.aplu.util.CheckEntry
Returns the current state of the check box.
getValue() - Method in class ch.aplu.util.DoubleEntry
Returns the current value in the text field.
getValue() - Method in class ch.aplu.util.IntEntry
Returns the current value in the text field.
getValue() - Method in class ch.aplu.util.LongEntry
Returns the current value in the text field.
getValue() - Method in class ch.aplu.util.RadioEntry
Returns the current state of the radio button.
getValue() - Method in class ch.aplu.util.SliderEntry
Returns the current knob position.
getValue() - Method in class ch.aplu.util.StringEntry
Returns the current value in the text field.
getVersion() - Method in class ch.aplu.util.GPane
Return version information
getVersion() - Static method in class ch.aplu.util.GPanel
Return version information.
getVersion() - Method in class ch.aplu.util.GWindow
Return version information.
getVolume() - Method in class ch.aplu.util.SoundPlayer
Return the current volume (range 0..1000).
getWavInfo(String) - Static method in class ch.aplu.util.SoundPlayer
Return the audio file format information.
getWavInfo(URL) - Static method in class ch.aplu.util.SoundPlayer
Same as getWavInfo(String filename), but takes file from url.
getWavMono(String) - Static method in class ch.aplu.util.SoundPlayer
Return the sound data of the given WAV file in a integer array.
getWavMono(URL) - Static method in class ch.aplu.util.SoundPlayer
Same as getWavMono(String filename), but loads file from url.
getWavRaw(String) - Static method in class ch.aplu.util.SoundPlayer
Return the raw byte data of the give WAV file.
getWavRaw(URL) - Static method in class ch.aplu.util.SoundPlayer
Same as getWavRaw(String filename), but loads file from url.
getWavStereo(String) - Static method in class ch.aplu.util.SoundPlayer
Return the sound data of the given WAV file in a integer array.
getWavStereo(URL) - Static method in class ch.aplu.util.SoundPlayer
Same as getWavStereo(String filename), but loads file from url.
getWidth() - Method in class ch.aplu.util.Size
Return width.
getWindow() - Method in class ch.aplu.util.GPane
Return a reference to the GWindow used by the GPane.
getWindow() - Method in class ch.aplu.util.GPanel
Return a reference to the GWindow used by the GPanel.
getXmax() - Method in class ch.aplu.util.GPane
Return the xmax range value.
getXmin() - Method in class ch.aplu.util.GPane
Return the ymin range value.
getYmax() - Method in class ch.aplu.util.GPane
Return the ymax range value.
getYmin() - Method in class ch.aplu.util.GPane
Return the ymin range value.
GPane - Class in ch.aplu.util
Simple graphics window similar to GPanel to be used as component in a top-level window (JFrame, JDialog, Browswer window, etc.) using a coordinate system with x-axis from left to right, y-axis from bottom to top (called window coordinates, default range 0..1, 0..1).
GPane() - Constructor for class ch.aplu.util.GPane
Create a GPane to be used as embedded graphics component with default size 100x100 pixels.
GPane(Size) - Constructor for class ch.aplu.util.GPane
Create a GPane to be used as embedded graphics component with given size.
GPane(Size, boolean) - Constructor for class ch.aplu.util.GPane
Create a GPane with given size.
GPaneBeanInfo - Class in ch.aplu.util
A bean info class derived from SimpleBeanInfo in order to restrict the visible properties of bean class GPane.
GPaneBeanInfo() - Constructor for class ch.aplu.util.GPaneBeanInfo
 
GPanel - Class in ch.aplu.util
Simple graphics window of default size 501x501 pixels (client drawing area) using a coordinate system with x-axis from left to right, y-axis from bottom to top (called window coordinates, default range 0..1, 0..1).
GPanel(int) - Constructor for class ch.aplu.util.GPanel
Construct a GPanel for special purposes.
GPanel(int, Size) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given mode and window size (client area).
GPanel() - Constructor for class ch.aplu.util.GPanel
Construct a GPanel and show the window.
GPanel(boolean) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given visibility.
GPanel(Size) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given window size (client area).
GPanel(JMenuBar) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() but show given menuBar.
GPanel(JMenuBar, boolean) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given menuBar and visibility.
GPanel(String) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given title.
GPanel(String, boolean) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given title and visibility.
GPanel(String, JMenuBar) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given title and menuBar.
GPanel(String, JMenuBar, boolean) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given title, menuBar and visibility.
GPanel(double, double, double, double) - Constructor for class ch.aplu.util.GPanel
Construct a GPanel with given window coordinates
GPanel(double, double, double, double, boolean) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given window coordinates and visibility.
GPanel(JMenuBar, double, double, double, double) - Constructor for class ch.aplu.util.GPanel
Same as GPanel(xmin, xmax, ymin, ymax) with given menuBar.
GPanel(JMenuBar, double, double, double, double, boolean) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given menuBar, window coordinates and visibility.
GPanel(String, double, double, double, double) - Constructor for class ch.aplu.util.GPanel
Same as GPanel(xmin, xmax, ymin, ymax) with given title.
GPanel(String, double, double, double, double, boolean) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given title, window coordinates and visibility.
GPanel(String, JMenuBar, double, double, double, double) - Constructor for class ch.aplu.util.GPanel
Same as GPanel(xmin, xmax, ymin, ymax) with given title and menuBar.
GPanel(String, JMenuBar, double, double, double, double, boolean) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given title, menuBar, window coordinates and visibility.
GPanel(Size, String, JMenuBar, double, double, double, double, boolean) - Constructor for class ch.aplu.util.GPanel
Same as GPanel() with given window size (client area), title, menuBar, window coordinates and visibility.
GPanel.ClosingMode - Enum in ch.aplu.util
 
GPanelOptions - Class in ch.aplu.util
Class to select initializing options for the ch.aplu.util package.
GPrintable - Interface in ch.aplu.util
Interface for printing on an attached printer.
GVector - Class in ch.aplu.util
Class representing a two-dimensional vector with double coordinates (x, y).
GVector() - Constructor for class ch.aplu.util.GVector
Constructs a zero vector (with coordinates (0, 0)).
GVector(Point) - Constructor for class ch.aplu.util.GVector
Constructs a vector from integer coordinates using jawa.awt.Point.
GVector(int, int) - Constructor for class ch.aplu.util.GVector
Constructs a vector from given integer x-y-coordinates.
GVector(float, float) - Constructor for class ch.aplu.util.GVector
Constructs a vector from given float x-y-coordinates.
GVector(double, double) - Constructor for class ch.aplu.util.GVector
Constructs a vector from given double x-y-coordinates.
GWindow - Class in ch.aplu.util
Simple screen window with an event handler to exit the application when clicking the close button in the title bar.
GWindow() - Constructor for class ch.aplu.util.GWindow
Construct a GWindow with default title and size.
GWindow(String) - Constructor for class ch.aplu.util.GWindow
Same as GWindow() with given title.
GWindow(String, Size) - Constructor for class ch.aplu.util.GWindow
Same as GWindow() with given title and size of client window.
GWindow(String, Position, Size) - Constructor for class ch.aplu.util.GWindow
Same as GWindow() with given title, position and size of client window.
GWindow(Position, Size, boolean) - Constructor for class ch.aplu.util.GWindow
Same as GWindow(), but titlebar may be omited.

H

halt() - Static method in class ch.aplu.util.QuitPane
Create a QuitPane dialog, if it's not yet done.
halt(boolean) - Static method in class ch.aplu.util.QuitPane
Same as halt(), but if exit = false clicking the title bar's close button acts the same as clicking the Quit button (System.exit(0) will not be called anymore).
hashCode() - Method in class ch.aplu.util.Complex
Returns a hash code value for the object.
hide() - Static method in class ch.aplu.util.Console
Hide the console window.
hide() - Method in class ch.aplu.util.EntryDialog
Hides the dialog window.
hide() - Method in class ch.aplu.util.GConsole
Hide the console window.
hide() - Method in class ch.aplu.util.HtmlPane
Hide the console window.
HiResAlarmTimer - Class in ch.aplu.util
Alarm timer with high resolution.
HiResAlarmTimer(long) - Constructor for class ch.aplu.util.HiResAlarmTimer
Construct a alarm timer instance with better than 1 microsecond resolution on most systems and set its preset time in microseconds (us).
HiResAlarmTimer(long, boolean) - Constructor for class ch.aplu.util.HiResAlarmTimer
Same as HiResAlarmTimer(alarmTime), but the timer starts immediately if autostart is true.
HiResAlarmTimer(long, boolean, boolean) - Constructor for class ch.aplu.util.HiResAlarmTimer
Same as HiResAlarmTimer(alarmTime, autostart), but most methods calls Thread.yield() automatically, if yield is true.
HiResTimer - Class in ch.aplu.util
Timer with high resolution.
HiResTimer() - Constructor for class ch.aplu.util.HiResTimer
Construct a HiResTimer object and set its time to zero.
HiResTimer(boolean) - Constructor for class ch.aplu.util.HiResTimer
Same as HiResTimer(), but the timer starts immediately if autostart is true.
HiResTimer(boolean, boolean) - Constructor for class ch.aplu.util.HiResTimer
Same as HiResTimer(autostart), but most methods calls Thread.yield() automatically, if yield is true.
HtmlPane - Class in ch.aplu.util
Simple graphics window similar to GPanel to be used for displaying HTML formatted text.
HtmlPane() - Constructor for class ch.aplu.util.HtmlPane
Construct a HtmlPane with default size and position.
HtmlPane(Position, Size) - Constructor for class ch.aplu.util.HtmlPane
Construct a HtmlPane with given position and size.

I

ICON_EXCLAMATION - Static variable in class ch.aplu.util.ModelessOptionPane
URL to display the exclamation icon.
image(String, double, double) - Method in class ch.aplu.util.GPane
Show the GIF image from given file path at x, y window coordinates (specifies lowerleft corner of image).
image(String, Point2D.Double) - Method in class ch.aplu.util.GPane
Show the GIF image from given file path at given point(in window coordinates) (specifies lowerleft corner of image).
image(BufferedImage, double, double) - Method in class ch.aplu.util.GPane
Show the GIF image from given BufferedImage at x, y window coordinates (specifies lowerleft corner of image).
image(BufferedImage, Point2D.Double) - Method in class ch.aplu.util.GPane
Show the GIF image from given BufferedImage at given point(in window coordinates) (specifies lowerleft corner of image).
image(String, double, double) - Method in class ch.aplu.util.GPanel
Show the GIF image from given file path at given window coordinates (specifies lowerleft corner of image).
image(String, Point2D.Double) - Method in class ch.aplu.util.GPanel
Show the GIF image from given file path at given point(in window coordinates) (specifies lowerleft corner of image).
image(BufferedImage, double, double) - Method in class ch.aplu.util.GPanel
Show the GIF image from given BufferedImage at x, y window coordinates (specifies lowerleft corner of image).
image(BufferedImage, Point2D.Double) - Method in class ch.aplu.util.GPanel
Show the GIF image from given BufferedImage at given point(in window coordinates) (specifies lowerleft corner of image).
imageHeight(String) - Method in class ch.aplu.util.GPane
Return the height (vertical size) of the GIF image from the given path (in window coordinates).
imageHeight(String) - Method in class ch.aplu.util.GPanel
Return the height (vertical size) of the GIF image from the given path (in window coordinates).
imageWidth(String) - Method in class ch.aplu.util.GPane
Return the width (horizontal size) of the GIF image from the given path (in window coordinates).
imageWidth(String) - Method in class ch.aplu.util.GPanel
Return the width (horizontal size) of the GIF image from the given path (in window coordinates).
img - Variable in class ch.aplu.util.Complex
 
init() - Static method in class ch.aplu.util.Console
If no console was created before, create a new Console instance with default attributes and returns a reference to it; otherwise return the existing Console reference and show the exiting console window if it was hidden (content is erased).
init(Position, Size) - Static method in class ch.aplu.util.Console
If no console was created before, create a new Console instance with given position and size and returns a reference to it; otherwise return the existing Console reference and show the exiting console window with new position and size.
init(Font) - Static method in class ch.aplu.util.Console
If no console was created before, create a new Console instance with given font and returns a reference to it; otherwise return the existing Console reference and use the given font.
init(Position, Size, Font) - Static method in class ch.aplu.util.Console
If no console was created before, create a new Console instance with given position, size, font and returns a reference to it; otherwise return the existing Console reference and use the position, size and font.
init(String) - Static method in class ch.aplu.util.Console
Redirect all output to stdout and stderr to a text file with the given filename.
init(boolean) - Static method in class ch.aplu.util.QuitPane
Create a QuitPane dialog, if it's not yet done with the given visibility.
init() - Static method in class ch.aplu.util.QuitPane
Same as init(true).
INITRESET - Static variable in class ch.aplu.util.LptPort
Bit value of Init/Reset line in control register of LPT port (at base address + 2).
initw() - Static method in class ch.aplu.util.Console
Same as init() but enable autowrapping.
initw(Position, Size) - Static method in class ch.aplu.util.Console
Same as init(Position position, Size size), but enable autowrapping.
initw(Font) - Static method in class ch.aplu.util.Console
Same as init(Font font) but enable autowrapping.
initw(Position, Size, Font) - Static method in class ch.aplu.util.Console
Same as init(Position position, Size size, Font font) but enable autowrapping.
InputDialog - Class in ch.aplu.util
Modal input dialog.
InputDialog() - Constructor for class ch.aplu.util.InputDialog
Construct dialog with default title and prompt.
InputDialog(String, String) - Constructor for class ch.aplu.util.InputDialog
Construct dialog with given title and prompt.
insertFile(String) - Method in class ch.aplu.util.HtmlPane
Insert HTML formatted text from the given file.
insertResource(String) - Method in class ch.aplu.util.HtmlPane
Insert HTML formatted text from the given file in a JAR resource.
insertText(String) - Method in class ch.aplu.util.HtmlPane
Insert HTML formatted text.
insertUrl(String) - Method in class ch.aplu.util.HtmlPane
Insert HTML from given URL.
IntEntry - Class in ch.aplu.util
Class derived from EntryItem to create an input text field in a EntryDialog.
IntEntry(String) - Constructor for class ch.aplu.util.IntEntry
Creates a text field with given prompt text.
IntEntry(String, int) - Constructor for class ch.aplu.util.IntEntry
Creates a text field with given prompt text and given initializing value.
invert() - Method in class ch.aplu.util.GVector
Returns a new vector with inverted coordinates.
isChanged() - Method in class ch.aplu.util.EntryDialog
Checks if the state of the entry pane has changed due to user action.
isDirectoryEmpty(File) - Static method in class ch.aplu.util.FilePath
Returns true, if the directory is empty (no files and no subdirectories).
isDisposed() - Method in class ch.aplu.util.Console
Return true, if the Console windows was disposed or released.
isDisposed() - Method in class ch.aplu.util.EntryDialog
Returns true, if the window is disposed.
isDisposed() - Method in class ch.aplu.util.GConsole
Return true, if the Console windows was disposed or released.
isDisposed() - Method in class ch.aplu.util.GPanel
Return true, if the window was disposed or released.
isDisposed() - Method in class ch.aplu.util.GWindow
Return true, if the window was disposed or released.
isDisposed() - Method in class ch.aplu.util.HtmlPane
Return true, if the HtmlPane window was disposed.
isDisposed() - Method in class ch.aplu.util.MessagePane
If in aplu_util.properties the MessagePaneClosingMode key is set to DisposeOnClose, the dialog is disposed when the close title button is clicked and this method returns true
isDisposed() - Method in class ch.aplu.util.ModelessOptionPane
Return true, if in aplu_util.properties the ModelessOptionPaneClosingMode key is set to DisposeOnClose and the close button is clicked or after dispose() is called.
isEqual(GVector) - Method in class ch.aplu.util.GVector
Returns true, if the current vector is identical to the given vector.
isIntersecting(GVector, double, BufferedImage, boolean) - Method in class ch.aplu.util.GVector
Returns true, if the current vector (casted to int values) points to a non-transparant pixel of the given image.
isOpen() - Method in class ch.aplu.util.LptPort
Return true if port is open, false otherwise.
isPlaying() - Method in class ch.aplu.util.SoundPlayer
Return true, if playing (and not pausing), otherwise false.
isReady() - Method in class ch.aplu.util.GPane
Test if GPane is fully initialized.
isReady() - Method in class ch.aplu.util.GPanel
Test if GPanel is fully initialized.
isRunning() - Method in class ch.aplu.util.BaseAlarmTimer
Return true if the timer is running (current time > 0 and not stopped).
isRunning() - Method in class ch.aplu.util.BaseTimer
Return true if the timer is running.
isTouched() - Method in class ch.aplu.util.ButtonEntry
Returns true, if the button was hit by the mouse until the last call if this method.
isTouched() - Method in class ch.aplu.util.CheckEntry
Returns true, if check box control was hit by the mouse until the last call if this method.
isTouched() - Method in class ch.aplu.util.RadioEntry
Returns true, if radio button widget was hit by the mouse until the last call if this method.
isTouched() - Method in class ch.aplu.util.SliderEntry
Returns true, if the slider widget was hit by the mouse until the last call if this method.
isTouched() - Method in class ch.aplu.util.TextEntry
Returns true, if text field widget was hit by the mouse until the last call if this method.
isVisible() - Method in class ch.aplu.util.ModelessOptionPane
Return true, if dialog is visible; otherwise false.

J

join(long) - Method in class ch.aplu.util.JRunner
Wait for the internal thread to die at most the given time (in ms).
join() - Method in class ch.aplu.util.JRunner
Block until the internal thread dies.
JRunner - Class in ch.aplu.util
A helper class in order to execute a method in a separate thread and to get a notification callback when the thread terminates.
JRunner(Object) - Constructor for class ch.aplu.util.JRunner
Create a JRunner instance with given reference to a class instance.

K

kbhit() - Static method in class ch.aplu.util.Console
Return true if a key was hit since the last time the one-character buffer was read with getKey() oder getKeyWait().
kbhit() - Method in class ch.aplu.util.GConsole
Return true if a key was hit since the last time the one-character buffer was read with getKey() oder getKeyWait().
kbhit() - Method in class ch.aplu.util.GPanel
Return true, if a key was typed since the last call of getKey(), getKeyWait(), getKeyCode(), getKeyCodeWait().

L

line(double, double, double, double) - Method in class ch.aplu.util.GPane
Draws a line with given window coordinates and set the graph position to the endpoint.
line(Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPane
Draws a line with given points (in window coordinates) and set the graph position to the endpoint.
line(double, double, double, double) - Method in class ch.aplu.util.GPanel
Draw a line with given window coordinates and set the graph position to the endpoint.
line(Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPanel
Draw a line with given points (in window coordinates) and set the graph position to the endpoint.
lineWidth(int) - Method in class ch.aplu.util.GPane
Set the current line width in pixels.
lineWidth(int) - Method in class ch.aplu.util.GPanel
Set the current line width in pixels.
linkClicked(String) - Method in class ch.aplu.util.HtmlPane
 
linkClicked(String) - Method in interface ch.aplu.util.LinkListener
Invoked when a link is clicked in a HtmlPane.
LinkListener - Interface in ch.aplu.util
The listener interface for receiving clicks on a hyperlink in a HtmlPane.
load(Waveform, double, double) - Method in class ch.aplu.util.FunctionPlayer
Loads the audio data using the function from given Waveform.
LongEntry - Class in ch.aplu.util
Class derived from EntryItem to create an input text field in a EntryDialog.
LongEntry(String) - Constructor for class ch.aplu.util.LongEntry
Creates a text field with given prompt text.
LongEntry(String, int) - Constructor for class ch.aplu.util.LongEntry
Creates a text field with given prompt text and given initializing value.
LoResAlarmTimer - Class in ch.aplu.util
Alarm timer with low resolution (Resolution normally less than 10 milliseconds.)
LoResAlarmTimer(long) - Constructor for class ch.aplu.util.LoResAlarmTimer
Construct a AlarmTimer instance and set its preset time in microseconds (us).
LoResAlarmTimer(long, boolean) - Constructor for class ch.aplu.util.LoResAlarmTimer
Same as LoResAlarmTimer(alarmTime), but the timer starts immediately if autostart is true.
LoResAlarmTimer(long, boolean, boolean) - Constructor for class ch.aplu.util.LoResAlarmTimer
Same as LoResAlarmTimer(alarmTime, autostart), but most methods calls Thread.yield() automatically, if yield is true.
LoResTimer - Class in ch.aplu.util
Timer with low resolution (based on Date.getTime()) (Resolution normally less than 10 milliseconds.)
LoResTimer() - Constructor for class ch.aplu.util.LoResTimer
Construct a LoResTimer object and set its time to zero.
LoResTimer(boolean) - Constructor for class ch.aplu.util.LoResTimer
Same as LoResTimer(), but the timer starts immediately if autostart is true.
LoResTimer(boolean, boolean) - Constructor for class ch.aplu.util.LoResTimer
Same as LoResTimer(autostart), but most methods calls Thread.yield() automatically, if yield is true.
LptPort - Class in ch.aplu.util
Support to write to and read from the LPT port registers on a Windows operating system.
LptPort() - Constructor for class ch.aplu.util.LptPort
 

M

magnitude() - Method in class ch.aplu.util.GVector
Returns the magnitude (length) of the vector.
magnitude2() - Method in class ch.aplu.util.GVector
Returns the square of the magnitude, without squareroot calculation.
Main - Class in ch.aplu.util
Main contains a public static void main() entry point and is able to create an instance of another class (by Java reflection), so that its default contructor is invoked.
main(String[]) - Static method in class ch.aplu.util.Main
Program entry point.
MessageDialog - Class in ch.aplu.util
A simple message dialog (with no prompt button).
MessageDialog(Component, String, String) - Constructor for class ch.aplu.util.MessageDialog
Construct a dialog with given message, which is not yet shown. show() will display the dialog in the center of the given component.
MessageDialog(Component, String) - Constructor for class ch.aplu.util.MessageDialog
Same as MessageDialog(parent, message, iconPath) with iconPath = null.
MessageDialog(String) - Constructor for class ch.aplu.util.MessageDialog
Same as MessageDialog(parent, message, iconPath) with parent = null and iconPath = null.
MessagePane - Class in ch.aplu.util
Modeless dialog containing one line of text.
MessagePane(int, int, int) - Constructor for class ch.aplu.util.MessagePane
Show a MessagePane at given position (upper left corner) with maximal number of characters to display.
MessagePane(int) - Constructor for class ch.aplu.util.MessagePane
Show a MessagePane at center of screen with given maximal number of characters to display.
MessagePane(int, int, String) - Constructor for class ch.aplu.util.MessagePane
Show a MessagePane at given position (upper left corner) containing given text.
MessagePane(String) - Constructor for class ch.aplu.util.MessagePane
Show a MessagePane at center of screen containing the given text.
MessagePane(int, int, String, int) - Constructor for class ch.aplu.util.MessagePane
Construct a MessagePane at given position (upper left corner) containing given text and return after given amount of time (in milliseconds).
MessagePane(String, int) - Constructor for class ch.aplu.util.MessagePane
Construct a MessagePane at center of screen containing given text and return after given amount of time (in milliseconds).
ModelessOptionPane - Class in ch.aplu.util
Modeless message dialog using Swing JOptionPane.
ModelessOptionPane(int, int, String, URL, String) - Constructor for class ch.aplu.util.ModelessOptionPane
General constructor that show a modeless message dialog at given position (upper left corner) containing given text and given icon image (gif or jpg). iconUrl is the URL for the icon resource.
ModelessOptionPane(int, int, String, URL) - Constructor for class ch.aplu.util.ModelessOptionPane
Same as ModelessOptionPane(ulx, uly, text, iconUrl, buttonText), but with no button.
ModelessOptionPane(int, int, String) - Constructor for class ch.aplu.util.ModelessOptionPane
Same as general constructor, but with no icon and no button.
ModelessOptionPane(Frame, int, int, Dimension, boolean) - Constructor for class ch.aplu.util.ModelessOptionPane
Same as general constructor, but with no text, no icon and no button, given dimension and selectable decoration.
ModelessOptionPane(String, URL) - Constructor for class ch.aplu.util.ModelessOptionPane
Same as general constructor, but with no button and dialog centered in middle of the screen.
ModelessOptionPane(String, URL, String) - Constructor for class ch.aplu.util.ModelessOptionPane
Same as general constructor, but dialog centered in middle of the screen.
ModelessOptionPane(String) - Constructor for class ch.aplu.util.ModelessOptionPane
Same as general constructor, but with no icon and no button and dialog centered in middle of screen.
modified(EntryItem) - Method in interface ch.aplu.util.EntryListener
Invoked when one of the widgets changes its state.
modulus() - Method in class ch.aplu.util.Complex
Provide the magnitude of the complex value.
Monitor - Class in ch.aplu.util
Helper class for wait-notify mechanism.
MouseDoubleClickListener - Interface in ch.aplu.util
The listener interface for receiving mouse double-click events.
move(double, double) - Method in class ch.aplu.util.GPane
Set the current graph position to given window coordinates (without drawing anything).
move(int, int) - Method in class ch.aplu.util.GPane
Same as move(double x, double y)
move(Point2D.Double) - Method in class ch.aplu.util.GPane
Set the current graph position to given point (in window coordinates) (without drawing anything).
move(double, double) - Method in class ch.aplu.util.GPanel
Set the current graph position to given window coordinates (without drawing anything).
move(int, int) - Method in class ch.aplu.util.GPanel
Same as move(double x, double y)
move(Point2D.Double) - Method in class ch.aplu.util.GPanel
Set the current graph position to given point (in window coordinates) (without drawing anything).
mult(int) - Method in class ch.aplu.util.GVector
Returns a new vector that is the product by a scalar of the current vector and the given integer.
mult(float) - Method in class ch.aplu.util.GVector
Returns a new vector that is the product by a scalar of the current vector and the given float.
mult(double) - Method in class ch.aplu.util.GVector
Returns a new vector that is the product by a scalar of the current vector and the given double.
multiply(Complex) - Method in class ch.aplu.util.Complex
Multiply this complex object by the complex argument.
multiply(Complex, Complex) - Static method in class ch.aplu.util.Complex
Define a static multiply method that creates a a new Complex object with the product.
mute(boolean) - Method in class ch.aplu.util.SoundPlayer
If isMuting is true, set sound level to mimimum; otherwise reset it to the old value.

N

NoMain - Annotation Type in ch.aplu.util
Annotation definition for applications with no public static void main() method.
normalize() - Method in class ch.aplu.util.GVector
Modifies the vector to unit magnitude.
notifyClick(MouseEvent) - Method in interface ch.aplu.util.MouseDoubleClickListener
Invoked when a click is detected.
notifyDoubleClick(MouseEvent) - Method in interface ch.aplu.util.MouseDoubleClickListener
Invoked when a double-click is detected.
notifyExit() - Method in interface ch.aplu.util.ExitListener
Invoked when the close button in the title bar is pressed.
notifySoundPlayerStateChange(int, int) - Method in interface ch.aplu.util.SoundPlayerListener
Invoked when the player stops playing.
NOTITLEBAR - Static variable in class ch.aplu.util.GPanel
Mode for a GPanel with no title bar.

O

open(int) - Method in class ch.aplu.util.LptPort
Open LPT port at specified base address, e.g. 0x378.
openResource(String) - Static method in class ch.aplu.util.FilePath
Loads a binary resource from the application JAR file,
e.g. get a BufferedImage reference from a image resource with bi = ImageIO.read(openResource(path)).

P

pack(File, File) - Static method in class ch.aplu.util.FilePath
Creates a compressed JAR archive from a all files and subdirectories in directory with given dirPath.
PackageInfo - Class in ch.aplu.util
Class to provide the current package version.
PackageInfo() - Constructor for class ch.aplu.util.PackageInfo
 
pad(String, int) - Static method in class ch.aplu.util.Console
Right justify the given number in a field with the given field width (pad the field with leading spaces).
pad(String, int, int) - Static method in class ch.aplu.util.Console
Pad given number with trailing spaces to optain decimal width and right justify in a field with the given width (pad the the field with leading spaces).
pad(String, int) - Method in class ch.aplu.util.GConsole
Right justify the given number in a field with the given field width (pad the field with leading spaces).
pad(String, int, int) - Method in class ch.aplu.util.GConsole
Pad given number with trailing spaces to optain decimal width and right justify in a field with the given width (pad the the field with leading spaces).
paintComponent(Graphics) - Method in class ch.aplu.util.GPane
For internal use only.
PAPEREND - Static variable in class ch.aplu.util.LptPort
Bit value of Paper End line in status register of LPT port (at base address + 1).
paste(BufferedImage, BufferedImage, int, int) - Static method in class ch.aplu.util.GBitmap
Returns a clone of the original image where a part is replaced by another image.
pause() - Method in class ch.aplu.util.SoundPlayer
Stop playing momentarily.
penColor - Variable in class ch.aplu.util.GPane
Property for bean support.
play() - Method in class ch.aplu.util.SoundPlayer
Start or resume playing and return immediately.
playLoop() - Method in class ch.aplu.util.SoundPlayer
Start a loop playing mode, e.g. when the playing ends, it is restarted automatically until stop() is called.
playSine(double, double) - Static method in class ch.aplu.util.SoundPlayer
Play a sine tone with given frequency and duration and maximum volume.
playSine(double, double, double, boolean) - Static method in class ch.aplu.util.SoundPlayer
Play a sine tone with given frequency and duration.
point(double, double) - Method in class ch.aplu.util.GPane
Draw a single point at the given window coordinates.
point(Point2D.Double) - Method in class ch.aplu.util.GPane
Draw a single point at the given pt (in window coordinates).
point(double, double) - Method in class ch.aplu.util.GPanel
Draw a single point at the given window coordinates.
point(Point2D.Double) - Method in class ch.aplu.util.GPanel
Draw a single point at the given pt (in window coordinates).
polygon(double[], double[]) - Method in class ch.aplu.util.GPane
Draw a polygon with given corner coordinates in window coordinates.
polygon(Point2D.Double[]) - Method in class ch.aplu.util.GPane
Draw a polygon with given corner points in window coordinates.
polygon(double[], double[]) - Method in class ch.aplu.util.GPanel
Draw a polygon with given corner coordinates in window coordinates.
polygon(Point2D.Double[]) - Method in class ch.aplu.util.GPanel
Draw a polygon with given corner points in window coordinates.
pos(double, double) - Method in class ch.aplu.util.GPane
Same as move(double x, double y).
pos(Point2D.Double) - Method in class ch.aplu.util.GPane
Same as move(Point2D.Double pt).
pos(double, double) - Method in class ch.aplu.util.GPanel
Same as move(double x, double y).
pos(Point2D.Double) - Method in class ch.aplu.util.GPanel
Same as move(Point2D.Double pt).
position(int, int) - Static method in class ch.aplu.util.Console
Return a Position reference with specified upperleft x and y coordinates.
position(int, int) - Method in class ch.aplu.util.GConsole
Return a Position reference with specified upperleft x and y coordinates.
position(int, int) - Static method in class ch.aplu.util.GWindow
Return a Position ref with specified upperleft x and y coordinates.
Position - Class in ch.aplu.util
Position of a window.
Position(int, int) - Constructor for class ch.aplu.util.Position
Construct a Position instance with given coordinates.
print(boolean) - Static method in class ch.aplu.util.Console
Print a boolean value.
print(char) - Static method in class ch.aplu.util.Console
Print a character.
print(char[]) - Static method in class ch.aplu.util.Console
Print an array of characters.
print(double) - Static method in class ch.aplu.util.Console
Print a double-precision floating-point number.
print(float) - Static method in class ch.aplu.util.Console
Print a floating-point number.
print(int) - Static method in class ch.aplu.util.Console
Print an integer.
print(long) - Static method in class ch.aplu.util.Console
Print a long integer.
print(Object) - Static method in class ch.aplu.util.Console
Print an object.
print(String) - Static method in class ch.aplu.util.Console
Print a string.
print(Graphics, PageFormat, int) - Method in class ch.aplu.util.Console
For internal use only.
print(boolean) - Method in class ch.aplu.util.GConsole
Print a boolean value.
print(char) - Method in class ch.aplu.util.GConsole
Print a character.
print(char[]) - Method in class ch.aplu.util.GConsole
Print an array of characters.
print(double) - Method in class ch.aplu.util.GConsole
Print a double-precision floating-point number.
print(float) - Method in class ch.aplu.util.GConsole
Print a floating-point number.
print(int) - Method in class ch.aplu.util.GConsole
Print an integer.
print(long) - Method in class ch.aplu.util.GConsole
Print a long integer.
print(Object) - Method in class ch.aplu.util.GConsole
Print an object.
print(String) - Method in class ch.aplu.util.GConsole
Print a string.
print(Graphics, PageFormat, int) - Method in class ch.aplu.util.GConsole
For internal use only.
print(GPrintable, double) - Method in class ch.aplu.util.GPane
Print the graphics context to an attached printer with the given magnification scale factor.
print(GPrintable) - Method in class ch.aplu.util.GPane
Same as print(GPrintable gp, double scale) with scale = 1.
print(Graphics, PageFormat, int) - Method in class ch.aplu.util.GPane
For internal use only.
print(GPrintable, double) - Method in class ch.aplu.util.GPanel
Print the graphics context to an attached printer with the given magnification scale factor.
print(GPrintable) - Method in class ch.aplu.util.GPanel
Same as print(GPrintable gp, double scale) with scale = 1.
printf(String, Object...) - Static method in class ch.aplu.util.Console
Print a formatted string using the specified format string and varargs.
printf(Locale, String, Object...) - Static method in class ch.aplu.util.Console
Print a formatted string using the specified format string and varargs and applying given locale during formatting.
printf(String, Object...) - Method in class ch.aplu.util.GConsole
Print a formatted string using the specified format string and varargs.
printf(Locale, String, Object...) - Method in class ch.aplu.util.GConsole
Print a formatted string using the specified format string and varargs and applying given locale during formatting.
println() - Static method in class ch.aplu.util.Console
Terminate the current line by writing the line separator string.
println(boolean) - Static method in class ch.aplu.util.Console
Print a boolean and then terminate the line.
println(char) - Static method in class ch.aplu.util.Console
Print a character and then terminate the line.
println(char[]) - Static method in class ch.aplu.util.Console
Print an array of characters and then terminate the line.
println(double) - Static method in class ch.aplu.util.Console
Print a double and then terminate the line.
println(float) - Static method in class ch.aplu.util.Console
Print a float and then terminate the line.
println(int) - Static method in class ch.aplu.util.Console
Print an integer and then terminate the line.
println(long) - Static method in class ch.aplu.util.Console
Print a long and then terminate the line.
println(Object) - Static method in class ch.aplu.util.Console
Print an Object and then terminate the line.
println(String) - Static method in class ch.aplu.util.Console
Print a String and then terminate the line.
println() - Method in class ch.aplu.util.GConsole
Terminate the current line by writing the line separator string.
println(boolean) - Method in class ch.aplu.util.GConsole
Print a boolean and then terminate the line.
println(char) - Method in class ch.aplu.util.GConsole
Print a character and then terminate the line.
println(char[]) - Method in class ch.aplu.util.GConsole
Print an array of characters and then terminate the line.
println(double) - Method in class ch.aplu.util.GConsole
Print a double and then terminate the line.
println(float) - Method in class ch.aplu.util.GConsole
Print a float and then terminate the line.
println(int) - Method in class ch.aplu.util.GConsole
Print an integer and then terminate the line.
println(long) - Method in class ch.aplu.util.GConsole
Print a long and then terminate the line.
println(Object) - Method in class ch.aplu.util.GConsole
Print an Object and then terminate the line.
println(String) - Method in class ch.aplu.util.GConsole
Print a String and then terminate the line.
printScreen(double) - Method in class ch.aplu.util.Console
Print the current text area to an attached printer with the given magnification scale factor.
printScreen() - Method in class ch.aplu.util.Console
Same as printScreen(scale) with scale = 1
printScreen(double) - Method in class ch.aplu.util.GConsole
Print the current text area to an attached printer with the given magnification scale factor.
printScreen() - Method in class ch.aplu.util.GConsole
Same as printScreen(scale) with scale = 1
printScreen(double) - Method in class ch.aplu.util.GPane
Print the current screen view to an attached printer with the given magnification scale factor.
printScreen() - Method in class ch.aplu.util.GPane
Same printScreen(double scale) with scale = 1.
printScreen(double) - Method in class ch.aplu.util.GPanel
Print the current screen view to an attached printer with the given magnification scale factor.
printScreen() - Method in class ch.aplu.util.GPanel
Same printScreen(double scale) with scale = 1.
putSamples(byte[], int) - Method in interface ch.aplu.util.SoundConverter
Notification from the SoundPlayer that the given number of samples is available in inBuffer to be converted by the SoundConverter.
putSleep(int) - Static method in class ch.aplu.util.Monitor
Same as putSleep(Object monitor, int timeout), but uses internal static monitor object.
putSleep(Object, int) - Static method in class ch.aplu.util.Monitor
Put the current thread in a wait state until wakeUp() is called or timeout ( in ms ) expires.
putSleep(Object) - Static method in class ch.aplu.util.Monitor
Same as putSleep(Object monitor, int timeout) with timeout = 0 (timeout disabled).
putSleep() - Static method in class ch.aplu.util.Monitor
Same as putSleep(int timeout) with timeout = 0 (timeout disabled).

Q

quadraticBezier(Point2D.Double, Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPane
Draw a quadratic bezier curve.
quadraticBezier(double, double, double, double, double, double) - Method in class ch.aplu.util.GPane
Draw a quadratic bezier curve.
quadraticBezier(Point2D.Double, Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPanel
Draw a quadratic bezier curve.
quadraticBezier(double, double, double, double, double, double) - Method in class ch.aplu.util.GPanel
Draw a quadratic bezier curve.
quit(boolean) - Static method in class ch.aplu.util.QuitPane
Same as quit(), but if exit = false clicking the title bar's close button acts the same as clicking the Quit button (System.exit(0) will not be called anymore).
quit() - Static method in class ch.aplu.util.QuitPane
Create a QuitPane dialog, if it's not yet done.
QuitPane - Class in ch.aplu.util
Modeless dialog containing a "Quit" button only.
QuitPane() - Constructor for class ch.aplu.util.QuitPane
Same as QuitPane(true).
QuitPane(boolean) - Constructor for class ch.aplu.util.QuitPane
Construct a QuitPane with given visibility.

R

RadioEntry - Class in ch.aplu.util
Class derived from EntryItem to create a radio button in a EntryDialog.
RadioEntry(String) - Constructor for class ch.aplu.util.RadioEntry
Creates a radio with given label text
RAINBOW_COLORS - Static variable in class ch.aplu.util.X11Color
 
readBoolean() - Static method in class ch.aplu.util.InputDialog
Show the dialog with a yes/no button pair to get a boolean.
readChar() - Static method in class ch.aplu.util.Console
Wait until a key is typed and return the unicode character associated it.
readChar() - Method in class ch.aplu.util.GConsole
Wait until a key is typed and return the unicode character associated it.
readData() - Method in class ch.aplu.util.LptPort
Return content of data port (at base address) in lower byte.
readDouble() - Static method in class ch.aplu.util.Console
Wait until a sequence of numbers with trailing newline is typed.
readDouble() - Method in class ch.aplu.util.GConsole
Wait until a sequence of numbers with trailing newline is typed.
readDouble() - Static method in class ch.aplu.util.InputDialog
Show the dialog to read a double value.
readImage(byte[]) - Static method in class ch.aplu.util.GBitmap
Retrieve the image from a byte array.
readInt() - Static method in class ch.aplu.util.Console
Wait until a sequence of numbers with trailing newline is typed.
readInt() - Method in class ch.aplu.util.GConsole
Wait until a sequence of numbers with trailing newline is typed.
readInt() - Static method in class ch.aplu.util.InputDialog
Show the dialog to read an integer value.
readLine() - Static method in class ch.aplu.util.Console
Wait until a sequence of characters with trailing newline is typed.
readLine() - Method in class ch.aplu.util.GConsole
Wait until a sequence of characters with trailing newline is typed.
readLong() - Static method in class ch.aplu.util.InputDialog
Show the dialog to read a long value.
readStatus() - Method in class ch.aplu.util.LptPort
Return content of status port (at base address + 1) in lower byte.
readString() - Static method in class ch.aplu.util.InputDialog
Show the dialog to get a string value (same as getString()).
readTextFile(File) - Static method in class ch.aplu.util.FilePath
Reads a text file into a string.
readTextResource(String) - Static method in class ch.aplu.util.FilePath
Reads a text resource from the application JAR file.
real - Variable in class ch.aplu.util.Complex
 
recallGraphics() - Method in class ch.aplu.util.GPane
Copy graphics from store buffer to offscreen buffer and render it on the screen window (if enableRepaint(true)).
recallGraphics() - Method in class ch.aplu.util.GPanel
Copy graphics from store buffer to offscreen buffer and render it on the screen window (if enableRepaint(true)).
recallGraphics() - Method in class ch.aplu.util.GWindow
Copy the store buffer to the offscreen buffer.
receiveSamples(byte[], int) - Method in interface ch.aplu.util.SoundConverter
Notification from the SoundPlayer to get back the converted data in outBuffer.
rectangle(double, double) - Method in class ch.aplu.util.GPane
Draw a rectangle with center at the current graph position and given width and height in window coordinates.
rectangle(double, double, double, double) - Method in class ch.aplu.util.GPane
Draw a rectangle with given opposite corners in window coordinates.
rectangle(Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPane
Draw a rectangle with given opposite corner points in window coordinates.
rectangle(double, double) - Method in class ch.aplu.util.GPanel
Draw a rectangle with center at the current graph position and given width and height in window coordinates.
rectangle(double, double, double, double) - Method in class ch.aplu.util.GPanel
Draw a rectangle with given opposite corners in window coordinates.
rectangle(Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPanel
Draw a rectangle with given opposite corner points in window coordinates.
release() - Method in class ch.aplu.util.SoundPlayer
Releases all audio resources.
removeDir(File) - Static method in class ch.aplu.util.FilePath
(Be very careful) Deletes all files and subdirectories and the directory itself.
removeFiles(File, boolean) - Static method in class ch.aplu.util.FilePath
(Be very careful) Deletes all files in directory (but not the directory itself).
repaint() - Method in class ch.aplu.util.GPane
Override JPanel's repaint() to inhibit explicit repainting while printing.
repaint(int, int, int, int) - Method in class ch.aplu.util.GPane
Override JPanel's repaint(int x, int y, int width, int height) to inhibit explicit repainting while printing.
repaint() - Method in class ch.aplu.util.GPanel
Invoke the internal JPanels repaint().
replay() - Method in class ch.aplu.util.SoundPlayer
Wait until a playing underway has ended.
requestFocus() - Method in class ch.aplu.util.ModelessOptionPane
Request the focus.
reset() - Method in class ch.aplu.util.BaseTimer
Stop the timer and set its value to zero.
resizable(boolean) - Method in class ch.aplu.util.GPanel
Enable/disable resizing of the window by mouse dragging.
resume() - Method in class ch.aplu.util.BaseAlarmTimer
Restart the timer from its current time.
resume() - Method in class ch.aplu.util.BaseTimer
Restart the timer from its current value.
resume() - Method in class ch.aplu.util.JRunner
Continue the halted thread.
rewindFrames(long) - Method in class ch.aplu.util.SoundPlayer
Rewind current position (number of frames).
rewindTime(double) - Method in class ch.aplu.util.SoundPlayer
Rewind current time (in ms).
rotate(double) - Method in class ch.aplu.util.GVector
Rotates the vector by the specified angle.
run() - Method in class ch.aplu.util.Console
For internal use only.
run() - Method in class ch.aplu.util.GConsole
For internal use only.
run(String) - Method in class ch.aplu.util.JRunner
Create a thread and invoke the parameterless method with given name.

S

sampleReceived(int) - Method in interface ch.aplu.util.SoundSampleListener
Event callback method called by the sound recording thread each time a new sound sample is copied into the sound sample buffer.
save(File) - Method in class ch.aplu.util.FunctionPlayer
Save the loaded sound data to the given WAV file using the current audio format.
save(BufferedImage, String, String) - Static method in class ch.aplu.util.GBitmap
Writes a image file of the given BufferedImage.
scale(BufferedImage, double, double) - Static method in class ch.aplu.util.GBitmap
Transforms the given buffered image by scaling by the given factor and rotating by the given angle.
SELECT - Static variable in class ch.aplu.util.LptPort
Bit value of Select line in status register of LPT port (at base address + 1).
SELECTIN - Static variable in class ch.aplu.util.LptPort
Bit value of Select In line in control register of LPT port (at base address + 2).
setAlwaysOnTop(boolean) - Method in class ch.aplu.util.EntryDialog
Enables/disalbes whether this window should always be above other windows.
setAutowrap(boolean) - Static method in class ch.aplu.util.Console
Enable/disable autowrapping.
setAutowrap(boolean) - Method in class ch.aplu.util.GConsole
Enable/disable autowrapping.
setBackgroundColor(Color) - Method in class ch.aplu.util.GPane
Set the color of the background.
setBgColor(Color) - Method in class ch.aplu.util.GWindow
Set the background color of the window and offscreen buffer and show the window.
setButtonEnabled(boolean) - Method in class ch.aplu.util.ModelessOptionPane
Enable/disable the button (if any).
setCaretPosition(int) - Method in class ch.aplu.util.GConsole
 
setClosingMode(Console.ClosingMode) - Method in class ch.aplu.util.Console
Determines what happens when the title bar close button is hit.
setClosingMode(GConsole.ClosingMode) - Method in class ch.aplu.util.GConsole
Determines what happens when the title bar close button is hit.
setClosingMode(GPanel.ClosingMode) - Method in class ch.aplu.util.GPanel
Determines what happens when the title bar close button is hit.
setColor(Color) - Method in class ch.aplu.util.GPane
Set the given new color and return the previous color
setColor(Color) - Method in class ch.aplu.util.GPanel
Set the given new color and return the previous color
setColor(String) - Method in class ch.aplu.util.GPanel
Set the color to the given X11 color name.
setDoubleClickDelay(int) - Method in class ch.aplu.util.GPane
Sets the time delay the system uses to distinct click and double-click mouse events.
setEditable(boolean) - Method in class ch.aplu.util.DoubleEntry
Selects if the text field is editable.
setEditable(boolean) - Method in class ch.aplu.util.IntEntry
Selects if the text field is editable.
setEditable(boolean) - Method in class ch.aplu.util.LongEntry
Selects if the text field is editable.
setEditable(boolean) - Method in class ch.aplu.util.StringEntry
Selects if the text field is editable.
setEnabled(boolean) - Method in class ch.aplu.util.ButtonEntry
Enable/disable the button.
setEnabled(boolean) - Method in class ch.aplu.util.CheckEntry
Enable/disable the button.
setEnabled(boolean) - Method in class ch.aplu.util.RadioEntry
Enable/disable the button.
setEnabled(boolean) - Method in class ch.aplu.util.SliderEntry
Enable/disable the button.
setEnabled(boolean) - Method in class ch.aplu.util.TextEntry
Enable/disable the text field.
setEnableFocus(boolean) - Method in class ch.aplu.util.GPane
Enable/disable the focus.
setEnableResize(boolean) - Method in class ch.aplu.util.GPane
Enable/disable resizing.
setEnableResize(boolean) - Method in class ch.aplu.util.GPanel
Enable/disable resizing.
setFocusable(boolean) - Method in class ch.aplu.util.GPanel
Set the focusable state to the specified value.
setOffG2D(Graphics2D) - Method in class ch.aplu.util.GWindow
Set the Graphics2D context of the offscreen buffer.
setPaintMode() - Method in class ch.aplu.util.GPane
Set the paint mode of the graphics context to overwrite with current color.
setPaintMode() - Method in class ch.aplu.util.GPanel
Set the paint mode of the graphics context to overwrite with current color.
setPanelPosition(int, int) - Static method in class ch.aplu.util.GPanelOptions
Default position of frame (ulx, uly).
setPanelRange(double, double, double, double) - Static method in class ch.aplu.util.GPanelOptions
Default span of coordinates (xmin, xmax, ymin, ymax).
setPanelSize(int, int) - Static method in class ch.aplu.util.GPanelOptions
Default size of graphics area (width, height).
setPanelTitle(String) - Static method in class ch.aplu.util.GPanelOptions
Default title displayed in the frame title bar.
setPenColor(Color) - Method in class ch.aplu.util.GPane
Set the color of the pen.
setPixelColor(int, int, Color) - Method in class ch.aplu.util.GBitmap
Modifies the color of the pixel at given x, y coordinates.
setPixelColor(int[], Color) - Method in class ch.aplu.util.GBitmap
Modifies the color of the pixel at given point (defined as int array for Jython compatibility).
setPixelColorStr(int, int, String) - Method in class ch.aplu.util.GBitmap
Modifies the color (defined as X11 color name) of the pixel at given x, y coordinates.
setPixelColorStr(int[], String) - Method in class ch.aplu.util.GBitmap
Modifies the color (defined as X11 color name) of the pixel at given point (defined as int array for Jython compatibility).
setScreenLocation(Point) - Method in class ch.aplu.util.GWindow
Sets the location of the window on the screen and returns the old location.
setStatusText(String) - Method in class ch.aplu.util.GPanel
Replace the text in the status bar by the given text using the current JOptionPane font and color.
setStatusText(String, Font, Color) - Method in class ch.aplu.util.GPanel
Replace the text in the status bar by the given text using the given font and text color.
setText(String) - Method in class ch.aplu.util.MessagePane
Display the given text.
setText(String, int) - Method in class ch.aplu.util.MessagePane
Display the given text and return after the given amount of time (in milliseconds).
setText(String) - Method in class ch.aplu.util.ModelessOptionPane
Display the given text.
setText(String, boolean) - Method in class ch.aplu.util.ModelessOptionPane
Same as setText() but select whether to adjust size of dialog.
setTitle(String) - Static method in class ch.aplu.util.Console
Set another title in the console's title bar.
setTitle(String) - Method in class ch.aplu.util.EntryDialog
Displays the given title in the title bar.
setTitle(String) - Method in class ch.aplu.util.EntryPane
Modifies the title text displayed on the upper border line.
setTitle(String) - Method in class ch.aplu.util.GConsole
Set another title in the console's title bar.
setTitle(String) - Method in class ch.aplu.util.GWindow
Set the title in the window's title bar.
setTitle(String) - Method in class ch.aplu.util.HtmlPane
Show the given title in the title bar.
setTitle(String) - Method in class ch.aplu.util.ModelessOptionPane
Same as showTitle().
setTransparency(BufferedImage, double) - Static method in class ch.aplu.util.GBitmap
Returns a clone of the given image where each pixel has a new transparency value (alpha component in the ARGB color model).
setValue(boolean) - Method in class ch.aplu.util.CheckEntry
Sets the current state of the check box programmatically.
setValue(Double) - Method in class ch.aplu.util.DoubleEntry
Enters a double number into the text field programmatically.
setValue(Integer) - Method in class ch.aplu.util.IntEntry
Enters a integer number into the text field programmatically.
setValue(Long) - Method in class ch.aplu.util.LongEntry
Enters a integer number into the text field programmatically.
setValue(boolean) - Method in class ch.aplu.util.RadioEntry
Sets the current state of the radio button programmatically.
setValue(int) - Method in class ch.aplu.util.SliderEntry
Sets the current knob position programmatically.
setValue(String) - Method in class ch.aplu.util.StringEntry
Enters a integer number into the text field programmatically.
setVisible(boolean) - Method in class ch.aplu.util.MessagePane
Show/hide the dialog.
setVisible(boolean) - Method in class ch.aplu.util.ModelessOptionPane
Show/hide the dialog.
setVisible(boolean) - Static method in class ch.aplu.util.QuitPane
Show/hide the dialog.
setVolume(int) - Method in class ch.aplu.util.SoundPlayer
Set the volume to the give value (range 0..1000).
setWinCenter(Size) - Method in class ch.aplu.util.GWindow
Set window to screen center with given size of the embedded component.
setWinCenter() - Method in class ch.aplu.util.GWindow
Set window to screen center.
setWindow(double, double, double, double) - Method in class ch.aplu.util.GWindow
Set window coordinate system left_x, right_x, bottom_y, top_y
setWinPosition(Position) - Method in class ch.aplu.util.GWindow
Set the position of the window (position of uppler left corner in device coordinates).
setWinPosition(int, int) - Method in class ch.aplu.util.GWindow
Set the position of the window (x-y-coordinates of upper left corner in device coordinates).
setWinSize(Size) - Method in class ch.aplu.util.GWindow
Set the size of the embedded component (in device coordinates).
setWinSize(int, int) - Method in class ch.aplu.util.GWindow
Set the size of the embedded component (in device coordinates) to given width and heigth.
setXmax(double) - Method in class ch.aplu.util.GPane
Set the xmax range value.
setXmin(double) - Method in class ch.aplu.util.GPane
Set the xmin range value.
setXORMode(Color) - Method in class ch.aplu.util.GPane
Sets the paint mode to alternate between the current color and the given color.
setXORMode(Color) - Method in class ch.aplu.util.GPanel
Sets the paint mode to alternate between the current color and the given color.
setXORMode(String) - Method in class ch.aplu.util.GPanel
Same as setXORMode(Color c), but using the given X11 color name.
setYmax(double) - Method in class ch.aplu.util.GPane
Set the xmax range value.
setYmin(double) - Method in class ch.aplu.util.GPane
Set the ymin range value.
show() - Static method in class ch.aplu.util.Console
Show the console window.
show() - Method in class ch.aplu.util.EntryDialog
Shows a hidden dialog window.
show() - Method in class ch.aplu.util.GConsole
Show the console window.
show() - Method in class ch.aplu.util.MessageDialog
Show a modeless message dialog with given message.
show(boolean) - Method in class ch.aplu.util.MessageDialog
Same as show().
showComponent(JComponent) - Method in class ch.aplu.util.GWindow
Add the component to the frame's contentPane and show the window with default background color.
showComponent(JComponent, boolean) - Method in class ch.aplu.util.GWindow
Same as showComponent(JComponent component) but set visibilty to the given value.
showComponent(JComponent, Color) - Method in class ch.aplu.util.GWindow
Add a component to the frame's contentPane and show the window with the given background color.
showComponent(JComponent, Color, boolean) - Method in class ch.aplu.util.GWindow
Same as showComponent(JComponent component, Color bgColor) but set visibilty to the given value.
showFonts() - Static method in class ch.aplu.util.Console
Show all available fonts.
showFonts() - Method in class ch.aplu.util.GConsole
Show all available fonts.
showHorizontalScrollBar(boolean) - Static method in class ch.aplu.util.Console
Insert/remove a horizonal scroll bar.
showHorizontalScrollBar(boolean) - Method in class ch.aplu.util.GConsole
Insert/remove a horizonal scroll bar.
showStatusBar(boolean) - Method in class ch.aplu.util.GPanel
Show or hide the status bar.
showTitle(String) - Method in class ch.aplu.util.ModelessOptionPane
Show the given title in the title bar.
showVerticalScrollBar(boolean) - Static method in class ch.aplu.util.Console
Insert/remove a vertical scroll bar.
showVerticalScrollBar(boolean) - Method in class ch.aplu.util.GConsole
Insert/remove a vertical scroll bar.
size(int, int) - Static method in class ch.aplu.util.Console
Return a Size reference with specified width and height.
size(int, int) - Method in class ch.aplu.util.GConsole
Return a Size reference with specified width and height.
size(int, int) - Static method in class ch.aplu.util.GWindow
Return a Size ref with specified width and height.
Size - Class in ch.aplu.util
The size of a window.
Size(int, int) - Constructor for class ch.aplu.util.Size
Construct a Size instance.
SliderEntry - Class in ch.aplu.util
Class derived from EntryItem to create a horizontal slider.
SliderEntry(int, int, int, int, int) - Constructor for class ch.aplu.util.SliderEntry
Creates a horizontal slider with given properties.
SoundConverter - Interface in ch.aplu.util
Interface for easy integration of a sound converter to SoundPlayer and SoundPlayerExt classes.
SoundPlayer - Class in ch.aplu.util
Class for playing sound files using file streaming in a separate thread.
SoundPlayer(URL, int) - Constructor for class ch.aplu.util.SoundPlayer
Construct a sound player attached to given URL using the given mixer index (sound device).
SoundPlayer(URL) - Constructor for class ch.aplu.util.SoundPlayer
Same as SoundPlayer(url, mixerIndex) using the default sound device.
SoundPlayer(Object, String, int) - Constructor for class ch.aplu.util.SoundPlayer
Construct a sound player attached to given pathname from a JAR archive using the given mixer index (sound device).
SoundPlayer(Object, String) - Constructor for class ch.aplu.util.SoundPlayer
Same as SoundPlayer(obj, audioPathname, mixerIndex) using the default sound device.
SoundPlayer(File, int) - Constructor for class ch.aplu.util.SoundPlayer
Construct a sound player attached to given File instance using the given mixer index (sound device).
SoundPlayer(File) - Constructor for class ch.aplu.util.SoundPlayer
Same as SoundPlayer(audioFile, mixerIndex) using the default sound device.
SoundPlayer(String, int) - Constructor for class ch.aplu.util.SoundPlayer
Construct a sound player attached to given pathname (relative or fully qualified) using the given mixer index (sound device).
SoundPlayer(String) - Constructor for class ch.aplu.util.SoundPlayer
Same as SoundPlayer(audioPathname, mixerIndex) using the default sound device.
SoundPlayer(AudioInputStream, int) - Constructor for class ch.aplu.util.SoundPlayer
Construct a sound player attached to the given AudioInputStream using the given mixer index (sound device).
SoundPlayer(AudioInputStream) - Constructor for class ch.aplu.util.SoundPlayer
Same as SoundPlayer(audioInputStream, mixerIndex) using the default sound device.
SoundPlayer(ByteArrayOutputStream, AudioFormat, int) - Constructor for class ch.aplu.util.SoundPlayer
Construct a sound player with data from the given ByteArrayOutputStream using the given mixer index (sound device).
SoundPlayer(ByteArrayOutputStream, AudioFormat) - Constructor for class ch.aplu.util.SoundPlayer
Same as SoundPlayer(os, audioFormat, mixerIndex) using the default sound device.
SoundPlayer(byte[], AudioFormat, int) - Constructor for class ch.aplu.util.SoundPlayer
Construct a sound player with data from the given byte array using the given mixer index (sound device).
SoundPlayer(byte[], AudioFormat) - Constructor for class ch.aplu.util.SoundPlayer
Same as SoundPlayer(byte[] ary, AudioFormat audioFormat, int mixerIndex) using the default sound device.
SoundPlayer(int[], AudioFormat, int) - Constructor for class ch.aplu.util.SoundPlayer
Construct a sound player with data from the given int array using the given mixer index (sound device).
SoundPlayer(int[], AudioFormat) - Constructor for class ch.aplu.util.SoundPlayer
Same as SoundPlayer(int[] ary, AudioFormat audioFormat, int mixerIndex) using the default sound device.
SoundPlayerExt - Class in ch.aplu.util
Class for playing sound files using file streaming in a separate thread.
SoundPlayerExt(Object, String, int) - Constructor for class ch.aplu.util.SoundPlayerExt
Construct a sound player attached to given pathname from a JAR archive using the given mixer index (sound device).
SoundPlayerExt(Object, String) - Constructor for class ch.aplu.util.SoundPlayerExt
Same as SoundPlayerExt(obj, audioPathname, mixerIndex) using the default sound device.
SoundPlayerExt(URL) - Constructor for class ch.aplu.util.SoundPlayerExt
Same as SoundPlayerEx(url, mixerIndex) using the default sound device.
SoundPlayerExt(AudioInputStream, int) - Constructor for class ch.aplu.util.SoundPlayerExt
Construct a sound player attached to the given AudioInputStream using the given mixer index (sound device).
SoundPlayerExt(AudioInputStream) - Constructor for class ch.aplu.util.SoundPlayerExt
Same as SoundPlayerExt(audioIputStream, mixerIndex) using the default sound device.
SoundPlayerExt(ByteArrayOutputStream, AudioFormat, int) - Constructor for class ch.aplu.util.SoundPlayerExt
Construct a sound player with data from the given ByteArrayOutputStream using the given mixer index (sound device).
SoundPlayerExt(ByteArrayOutputStream, AudioFormat) - Constructor for class ch.aplu.util.SoundPlayerExt
Same as SoundPlayerExt(os, audioFormat, mixerIndex) using the default sound device.
SoundPlayerExt(byte[], AudioFormat, int) - Constructor for class ch.aplu.util.SoundPlayerExt
Construct a sound player with data from the given byte array using the given mixer index (sound device).
SoundPlayerExt(byte[], AudioFormat) - Constructor for class ch.aplu.util.SoundPlayerExt
Same as SoundPlayerExt(ary, audioFormat, mixerIndex) using the default sound device.
SoundPlayerExt(URL, int) - Constructor for class ch.aplu.util.SoundPlayerExt
Construct a sound player attached to given URL using the given mixer index (sound device).
SoundPlayerExt(File) - Constructor for class ch.aplu.util.SoundPlayerExt
Same as SoundPlayerEx(audioFile, mixerIndex) using the default sound device.
SoundPlayerExt(File, int) - Constructor for class ch.aplu.util.SoundPlayerExt
Construct a sound player attached to given File instance using the given mixer index (sound device).
SoundPlayerExt(String) - Constructor for class ch.aplu.util.SoundPlayerExt
Same as SoundPlayerEx(audioPathname, mixerIndex) using the default sound device.
SoundPlayerExt(String, int) - Constructor for class ch.aplu.util.SoundPlayerExt
Construct a sound player attached to given pathname (relative or fully qualified) using the given mixer index (sound device).
SoundPlayerListener - Interface in ch.aplu.util
The listener interface for receiving StreamingPlayer notification.
SoundReader - Class in ch.aplu.util
Class for reading sound files and extract sound data.
SoundReader(File) - Constructor for class ch.aplu.util.SoundReader
Construct a sound reader attached to given sound file.
SoundReader(String) - Constructor for class ch.aplu.util.SoundReader
Construct a sound reader attached to given sound file path.
SoundRecorder - Class in ch.aplu.util
Class for recording sound and save it to a WAV file.
SoundRecorder(AudioFormat) - Constructor for class ch.aplu.util.SoundRecorder
Same as SoundRecorder(bufSize, audioFormat, mixerIndex) with default buffer size (10000 bytes) and default sound recording device.
SoundRecorder(int, AudioFormat) - Constructor for class ch.aplu.util.SoundRecorder
Same as SoundRecorder(bufSize, audioFormat, mixerIndex) with default sound recording device.
SoundRecorder(AudioFormat, int) - Constructor for class ch.aplu.util.SoundRecorder
Same as SoundRecorder(bufSize, audioFormat, mixerIndex) with default buffer size (10000 bytes).
SoundRecorder(int, AudioFormat, int) - Constructor for class ch.aplu.util.SoundRecorder
Create a recorder instance with given audioFormat using the given mixer index (sound device).
SoundSampleListener - Interface in ch.aplu.util
Declaration of a SoundRecorder callback method.
STANDARD - Static variable in class ch.aplu.util.GPanel
Mode for a standard GPanel.
start() - Method in class ch.aplu.util.BaseAlarmTimer
Set the timer to the preset alarm time and start it.
start(long) - Method in class ch.aplu.util.BaseAlarmTimer
Set the timer to the given preset alarm time and start it.
start() - Method in class ch.aplu.util.BaseTimer
Reset the timer to zero and start it.
stop() - Method in class ch.aplu.util.BaseAlarmTimer
Stop the timer and store the current time.
stop() - Method in class ch.aplu.util.BaseTimer
Stop the timer and store the current value.
stop() - Method in class ch.aplu.util.SoundPlayer
Stop playing.
stopCapture() - Method in class ch.aplu.util.SoundRecorder
Stop the capturing process and return after the capture thread terminates.
stopEvents() - Method in class ch.aplu.util.BaseAlarmTimer
Force to stop the callback calls by terminating the timer's polling thread.
storeGraphics() - Method in class ch.aplu.util.GPane
Create a store buffer and copy current graphics to it.
storeGraphics() - Method in class ch.aplu.util.GPanel
Create a store buffer and copy current graphics to it.
storeGraphics() - Method in class ch.aplu.util.GWindow
Copy the offscreen buffer to a store buffer.
StringEntry - Class in ch.aplu.util
Class derived from EntryItem to create an input text field in a EntryDialog.
StringEntry(String) - Constructor for class ch.aplu.util.StringEntry
Creates a text field with given prompt text.
StringEntry(String, String) - Constructor for class ch.aplu.util.StringEntry
Creates a text field with given prompt text and given initializing value.
STROBE - Static variable in class ch.aplu.util.LptPort
Bit value of Strobe line in control register of LPT port (at base address + 2).
sub(GVector) - Method in class ch.aplu.util.GVector
Returns a new vector that is the vector difference of the current vector and the given vector.
subtract(Complex) - Method in class ch.aplu.util.Complex
Define a complex subtract method.
subtract(Complex, Complex) - Static method in class ch.aplu.util.Complex
Define a static subtract method that creates a a new Complex object equal to cvalue1 - cvalue2.

T

terminate() - Static method in class ch.aplu.util.Console
Terminate application.
terminate() - Method in class ch.aplu.util.GConsole
Terminate application.
text(String) - Method in class ch.aplu.util.GPane
Draw a string at the current graph position.
text(char) - Method in class ch.aplu.util.GPane
Draw a char at the current graph position.
text(double, double, String) - Method in class ch.aplu.util.GPane
Draw a string at the given x-y position.
text(Point2D.Double, String) - Method in class ch.aplu.util.GPane
Draw a string at the given position.
text(double, double, char) - Method in class ch.aplu.util.GPane
Draw a char at the given position.
text(Point2D.Double, char) - Method in class ch.aplu.util.GPane
Draw a char at the given position.
text(double, double, String, Font, Color, Color) - Method in class ch.aplu.util.GPane
Draw a string at the given position with extended text attributes.
text(Point2D.Double, String, Font, Color, Color) - Method in class ch.aplu.util.GPane
Draw a string at the given position with extended text attributes.
text(String) - Method in class ch.aplu.util.GPanel
Draw a string at the current graph position.
text(char) - Method in class ch.aplu.util.GPanel
Draw a char at the current graph position.
text(double, double, String) - Method in class ch.aplu.util.GPanel
Draw a string at the given position.
text(Point2D.Double, String) - Method in class ch.aplu.util.GPanel
Draw a string at the given position.
text(double, double, char) - Method in class ch.aplu.util.GPanel
Draw a char at the given position.
text(Point2D.Double, char) - Method in class ch.aplu.util.GPanel
Draw a char at the given position.
text(double, double, String, Font, Color, Color) - Method in class ch.aplu.util.GPanel
Draw a string at the given position with extended text attributes.
text(double, double, String, Font, String, String) - Method in class ch.aplu.util.GPanel
Draw a string at the given position with extended text attributes using X11 color names.
text(Point2D.Double, String, Font, Color, Color) - Method in class ch.aplu.util.GPanel
Draw a string at the given position with extended text attributes.
text(Point2D.Double, String, Font, String, String) - Method in class ch.aplu.util.GPanel
Draw a string at the given position with extended text attributes using X11 color names.
TextEntry - Class in ch.aplu.util
Base class of StringEntry, DoubleEntry, IntegerEntry.
timeElapsed() - Method in class ch.aplu.util.TimerAdapter
Invoked when the time interval expires.
timeElapsed() - Method in interface ch.aplu.util.TimerListener
Invoked when the time interval is elapsed.
TimerAdapter - Class in ch.aplu.util
An abstract adapter class for receiving timer events.
TimerAdapter() - Constructor for class ch.aplu.util.TimerAdapter
 
TimerListener - Interface in ch.aplu.util
The listener interface for receiving timer events.
title(String) - Method in class ch.aplu.util.GPane
Set the title in the window's title bar.
title(String) - Method in class ch.aplu.util.GPanel
Set the title in the window's title bar.
title(String) - Method in class ch.aplu.util.MessagePane
Display the given title.
toColor(String) - Static method in class ch.aplu.util.GPanel
Return the Color reference for the given color as string.
toColor(String) - Static method in class ch.aplu.util.X11Color
Returns the color reference attributed to the given X11 color name.
toColorStr(Color) - Static method in class ch.aplu.util.X11Color
Returns the X11 color name attributed to the given color.
toFront(boolean) - Method in class ch.aplu.util.EntryDialog
Brings the visible window to the front and make it focused or brings it to back.
toFront() - Method in class ch.aplu.util.ModelessOptionPane
Bring the dialog to the front.
topLeftInset() - Method in class ch.aplu.util.GWindow
Return the top inset of the window (title bar + border) in pixels.
toString() - Method in class ch.aplu.util.Complex
Return a string representation of the complex value.
toString() - Method in class ch.aplu.util.GVector
Returns a string with the x-y-coordinates in the format (x, y).
toString() - Method in class ch.aplu.util.Waveform.ChirpWave
Returns class information.
toString() - Method in class ch.aplu.util.Waveform.SawtoothWave
Returns class information.
toString() - Method in class ch.aplu.util.Waveform.SineWave
Returns class information.
toString() - Method in class ch.aplu.util.Waveform.SquareWave
Returns class information.
toString() - Method in class ch.aplu.util.Waveform.TriangleWave
Returns class information.
touched(EntryItem) - Method in interface ch.aplu.util.EntryListener
Invoked when one of the widgets is touched by the mouse.
toUser(Point2D.Double) - Method in class ch.aplu.util.GPane
Return reference to point in user coordinate of given point in window coordinate.
toUser(double, double) - Method in class ch.aplu.util.GPane
Return reference to point in user coordinate of given window coordinates.
toUser(Point2D.Double) - Method in class ch.aplu.util.GPanel
Return reference to point in user coordinate of given point in window coordinate.
toUser(double, double) - Method in class ch.aplu.util.GPanel
Return reference to point in user coordinate of given window coordinates.
toUser(Shape) - Method in class ch.aplu.util.GWindow
Convert the given shape from window coordinates to user coordinates.
toUserHeight(double) - Method in class ch.aplu.util.GPane
Return user coordinates increment y of given window coordinates increment y.
toUserHeight(double) - Method in class ch.aplu.util.GPanel
Return user coordinates increment y of given window coordinates increment y.
toUserHeight(double) - Method in class ch.aplu.util.GWindow
Convert window coordinates increment to user coordinates increment (vertical).
toUserTransform() - Method in class ch.aplu.util.GWindow
Create an affine transform to convert a shape from window coordinates to user coordinates and return it.
toUserWidth(double) - Method in class ch.aplu.util.GPane
Return user coordinates increment x of given window coordinates increment x.
toUserWidth(double) - Method in class ch.aplu.util.GPanel
Return user coordinates increment x of given window coordinates increment x.
toUserWidth(double) - Method in class ch.aplu.util.GWindow
Convert window coordinates increment to user coordinates increment (horizontal).
toUserX(double) - Method in class ch.aplu.util.GPane
Return user coordinate x of given window coordinate x.
toUserX(double) - Method in class ch.aplu.util.GPanel
Return user coordinate x of given window coordinate x.
toUserY(double) - Method in class ch.aplu.util.GPane
Return user coordinate y of given window coordinate y.
toUserY(double) - Method in class ch.aplu.util.GPanel
Return user coordinate y of given window coordinate y.
toUserY(double) - Method in class ch.aplu.util.GWindow
Convert window coordinate to user coordinate (vertical).
toWindow(Point) - Method in class ch.aplu.util.GPane
Return reference to point in window coordinates of given point in user coordinates.
toWindow(int, int) - Method in class ch.aplu.util.GPane
Return reference to point in window coordinates of given user coordinates.
toWindow(Point) - Method in class ch.aplu.util.GPanel
Return reference to point in window coordinates of given point in user coordinates.
toWindow(int, int) - Method in class ch.aplu.util.GPanel
Return reference to point in window coordinates of given user coordinates.
toWindowHeight(int) - Method in class ch.aplu.util.GPane
Return window coordinates increment y of given user coordinates increment y.
toWindowHeight(int) - Method in class ch.aplu.util.GPanel
Return window coordinates increment y of given user coordinates increment y.
toWindowHeight(int) - Method in class ch.aplu.util.GWindow
Convert user coordinates increment to window coordinates increment (vertical).
toWindowWidth(int) - Method in class ch.aplu.util.GPane
Return window coordinates increment x of given user coordinates increment x.
toWindowWidth(int) - Method in class ch.aplu.util.GPanel
Return window coordinates increment x of given user coordinates increment x.
toWindowWidth(int) - Method in class ch.aplu.util.GWindow
Convert user coordinates increment to window coordinates increment (horizontal).
toWindowX(int) - Method in class ch.aplu.util.GPane
Return window coordinate x of given user coordinate x.
toWindowX(int) - Method in class ch.aplu.util.GPanel
Return window coordinate x of given user coordinate x.
toWindowX(int) - Method in class ch.aplu.util.GWindow
Convert user coordinates to window coordinates (horizontal).
toWindowY(int) - Method in class ch.aplu.util.GPane
Return window coordinate y of given user coordinate y.
toWindowY(int) - Method in class ch.aplu.util.GPanel
Return window coordinate y of given user coordinate y.
toWindowY(int) - Method in class ch.aplu.util.GWindow
Convert user coordinates to window coordinates (vertical).
transformGraphics(AffineTransform) - Method in class ch.aplu.util.GWindow
Transform offscreen buffer with given affine transformation.
triangle(double, double, double, double, double, double) - Method in class ch.aplu.util.GPane
Draw a triangle with given corner coordinates in window coordinates.
triangle(Point2D.Double, Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPane
Draw a triangle with given corners in window coordinates.
triangle(double, double, double, double, double, double) - Method in class ch.aplu.util.GPanel
Draw a triangle with given corner coordinates in window coordinates.
triangle(Point2D.Double, Point2D.Double, Point2D.Double) - Method in class ch.aplu.util.GPanel
Draw a triangle with given corners in window coordinates.

U

unpack(File, File) - Static method in class ch.aplu.util.FilePath
Unpacks the given JAR archive in the given directory.
unzip(File, File) - Static method in class ch.aplu.util.FilePath
Unpacks the given ZIP archive in the given directory.
update() - Method in interface ch.aplu.util.SoundConverter
Callback method called each time before the new samples from the inBuffer are fed into the converter.
URLfromJAR(String) - Static method in class ch.aplu.util.SoundPlayer
Return the URL of a sound resource from the JAR archive.

V

validate() - Method in class ch.aplu.util.GPanel
Validate the container.
valueOf(String) - Static method in enum ch.aplu.util.Console.ClosingMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.util.GConsole.ClosingMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.aplu.util.GPanel.ClosingMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.aplu.util.Console.ClosingMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.aplu.util.GConsole.ClosingMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.aplu.util.GPanel.ClosingMode
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class ch.aplu.util.PackageInfo
Current version of package.
visible(boolean) - Method in class ch.aplu.util.GPane
Select if GPane's window is visible or not.
visible(boolean) - Method in class ch.aplu.util.GPanel
Select if GPanel's window is visible or not.

W

waitIfRequested() - Method in class ch.aplu.util.JRunner
Halt temporarily the execution of the internal thread if it was requested by calling waitRequest() and block until cancel() or resume() is called.
waitRequest() - Method in class ch.aplu.util.JRunner
Set the waitRequest flag.
waitRequest(boolean) - Method in class ch.aplu.util.JRunner
Clear or set the waitRequest flag.
wakeUp(Object) - Static method in class ch.aplu.util.Monitor
Wake up all threads waiting for the given object's lock.
wakeUp() - Static method in class ch.aplu.util.Monitor
Wake up all threads waiting for the internal static monitor lock.
Waveform - Interface in ch.aplu.util
Interface to define the signature of the function to play.
Waveform.ChirpWave - Class in ch.aplu.util
Implements a waveform (chirp).
Waveform.ChirpWave() - Constructor for class ch.aplu.util.Waveform.ChirpWave
 
Waveform.SawtoothWave - Class in ch.aplu.util
Implements a waveform (sawtooth).
Waveform.SawtoothWave() - Constructor for class ch.aplu.util.Waveform.SawtoothWave
 
Waveform.SineWave - Class in ch.aplu.util
Implements a waveform (sine).
Waveform.SineWave() - Constructor for class ch.aplu.util.Waveform.SineWave
 
Waveform.SquareWave - Class in ch.aplu.util
Implements a waveform (square).
Waveform.SquareWave() - Constructor for class ch.aplu.util.Waveform.SquareWave
 
Waveform.TriangleWave - Class in ch.aplu.util
Implements a waveform (triangle).
Waveform.TriangleWave() - Constructor for class ch.aplu.util.Waveform.TriangleWave
 
Waveform.WavePlot - Class in ch.aplu.util
Class to display a simple graphics window with 5 periods of the given waveform.
Waveform.WavePlot(Waveform) - Constructor for class ch.aplu.util.Waveform.WavePlot
 
wavelengthToColor(int) - Static method in class ch.aplu.util.X11Color
Returns the color corresponding to the spectral wavelength.
window(double, double, double, double) - Method in class ch.aplu.util.GPane
Set window coordinates.
window(double, double, double, double) - Method in class ch.aplu.util.GPanel
Set window coordinates.
windowCenter() - Method in class ch.aplu.util.GPanel
Set the window position to the center of the screen.
windowPosition(int, int) - Method in class ch.aplu.util.GPanel
Set the window position (upper left corner in device coordinates).
windowSize(int, int) - Method in class ch.aplu.util.GPane
Set the size of the entire window (including title bar and borders) in device coordinates.
windowSize(int, int) - Method in class ch.aplu.util.GPanel
Set the size of the entire window (including title bar and borders) in device coordinates.
writeControl(int) - Method in class ch.aplu.util.LptPort
Write lower byte of data into control port (at base address + 2).
writeData(int) - Method in class ch.aplu.util.LptPort
Write lower byte of data into data port (at base address).
writeTextFile(File, String, boolean) - Static method in class ch.aplu.util.FilePath
Writes the given string to the given destination file.
writeWavFile(int[], String) - Method in class ch.aplu.util.SoundRecorder
Write the sound data from int array into the given file with given name in WAV format.
writeWavFile(byte[], String) - Method in class ch.aplu.util.SoundRecorder
Write the sound data in the given byte array into file with given name in WAV format.
writeWavFile(ByteArrayOutputStream, String) - Method in class ch.aplu.util.SoundRecorder
Write the sound data in the given stream into file with given name in WAV format.
writeWavFile(ByteArrayOutputStream, File) - Method in class ch.aplu.util.SoundRecorder
Write the sound data the given stream into the given file in WAV format.
writeWavFile(byte[], File) - Method in class ch.aplu.util.SoundRecorder
Write the sound data from byte array into the given file in WAV format.
writeWavFile(int[], File) - Method in class ch.aplu.util.SoundRecorder
Write the sound data from int array into the given file in WAV format.

X

x - Variable in class ch.aplu.util.GVector
The public x-coordinate.
X11Color - Class in ch.aplu.util
This class provides the mapping of X11 colors names (in string notation) to RGB colors represented the java.awt.Color class.
X11Color(String) - Constructor for class ch.aplu.util.X11Color
Creates a color with given X11 color name.
xmax - Variable in class ch.aplu.util.GPane
Property for bean support.
xmin - Variable in class ch.aplu.util.GPane
Property for bean support.

Y

y - Variable in class ch.aplu.util.GVector
The public y-coordinate.
ymax - Variable in class ch.aplu.util.GPane
Property for bean support.
ymin - Variable in class ch.aplu.util.GPane
Property for bean support.

Z

zip(File, File) - Static method in class ch.aplu.util.FilePath
Creates a ZIP archive from a all files and subdirectories in directory with given dirPath.

_

_delay(int) - Method in class ch.aplu.util.GPanel
Non-static version of delay().
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _