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

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
Append the specified component to the container.
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 with a method 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 with a method clean() that will be called when the title bar's close button is hit.
addCleanable(Cleanable) - Static method in class ch.aplu.util.QuitPane
Create a QuitPane dialog, if it's not yet done.
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.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.
addMouseListener(MouseListener) - Method in class ch.aplu.util.GPanel
Invoke the internal JPanels addMouseListener().
addMouseMotionListener(MouseMotionListener) - Method in class ch.aplu.util.GPanel
Invoke the internal JPanels addMouseMotionListener().
addMouseWheelListener(MouseWheelListener) - Method in class ch.aplu.util.GPanel
Invoke the internal JPanels addMouseWheelListener().
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
 
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.
BUSY - Static variable in class ch.aplu.util.LptPort
Bit value of Busy line in status register of LPT port (at base address + 1).

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(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.
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.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).
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(Color) - Method in class ch.aplu.util.GWindow
Clear store buffer by uniformly painting it with given color.
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.
color(Color) - Method in class ch.aplu.util.GPane
Set the given new color and return the previous color
color(Color) - Method in class ch.aplu.util.GPanel
Set the given new color and return the previous color
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() ).

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) - 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 ).
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() - Method in class ch.aplu.util.GPane
Release all used system resources (offscreen buffer, graphics context) and unblock getKeyWait() and getKeyCodeWait().
dispose() - Method in class ch.aplu.util.GPanel
Release all used system resources (offscreen buffer, graphics context) and unblock getKeyWait() and getKeyCodeWait().
dispose() - Method in class ch.aplu.util.ModelessOptionPane
Dispose the dialog
dispose() - Static method in class ch.aplu.util.QuitPane
Dispose the dialog
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.
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(int, int, boolean) - Method in class ch.aplu.util.GWindow
Draw the last loaded image into offscreen buffer (x, y) coordindates of of upper left corner.
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

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
Property for bean support.
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
Close the console instance but does not terminate the application.
equals(Complex) - 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.
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.
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.
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

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() - 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
Property getter.
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.
getBoolean() - Method in class ch.aplu.util.InputDialog
Show the dialog 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.
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.
getDouble() - Static method in class ch.aplu.util.Console
Same as readDouble() but returns a Double object.
getDouble() - Method in class ch.aplu.util.InputDialog
Show the dialog to get a double value.
getEnableFocus() - Method in class ch.aplu.util.GPane
Property getter.
getFormat() - Method in class ch.aplu.util.SoundPlayer
Return AudioFormat of player's (decoded) resource.
getFrame() - Static method in class ch.aplu.util.Console
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.
getImageHeight(String) - Method in class ch.aplu.util.GWindow
Return the height (vertical size) of the GIF or JPEG image from the given path (in device coordinates).
getImageHeight(URL) - Method in class ch.aplu.util.GWindow
Return the height (vertical size) of the GIF or JPEG image from the given URL (in device coordinates).
getImageHeight(Image) - Method in class ch.aplu.util.GWindow
Return the height (vertical size) of the given GIF or JPEG image (in device coordinates).
getImageHeight() - Method in class ch.aplu.util.GWindow
Return the height (vertical size) of the last loaded GIF or JPEG image (in device coordinates).
getImageWidth(String) - Method in class ch.aplu.util.GWindow
Return the width (horizontal size) of the GIF or JPEG image from the given path (in device coordinates).
getImageWidth(URL) - Method in class ch.aplu.util.GWindow
Return the width (horizontal size) of the GIF or JPEG image from the given URL (in device coordinates).
getImageWidth(Image) - Method in class ch.aplu.util.GWindow
Return the width (horizontal size) of the given GIF or JPEG image (in device coordinates).
getImageWidth() - Method in class ch.aplu.util.GWindow
Return the width (horizontal size) of the last loaded GIF or JPEG image (in device coordinates).
getImg() - Method in class ch.aplu.util.Complex
Get method for imaginary part.
getInt() - Static method in class ch.aplu.util.Console
Same as readInt() but returns an Integer object.
getInt() - 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() - 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.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.GPanel
Wait until a key is typed and return the keycode associated with last key pressed.
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.GPanel
Wait until a key is typed and return the unicode character associated with it.
getLastKey() - Static method in class ch.aplu.util.Console
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.
getLastModifiers() - Static method in class ch.aplu.util.Console
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.
getLeftInset() - Method in class ch.aplu.util.GWindow
Return the left inset of the window (border width) in pixels.
getLong() - 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.
getMP3Info() - Method in class ch.aplu.util.SoundPlayerExt
Return string with extended MP3 file information.
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.GPanel
Return the GPane container that holds the graphics.
getPenColor() - Method in class ch.aplu.util.GPane
Property getter.
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).
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.
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.
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).
getScreenWidth() - Static method in class ch.aplu.util.GWindow
Get the width of the screen (in pixels).
getString() - Method in class ch.aplu.util.InputDialog
Show the dialog to get a string value.
getTextArea() - Static method in class ch.aplu.util.Console
Return a reference to the JTextArea of the console window
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).
getUlx() - Method in class ch.aplu.util.Position
Return x-coordinate.
getUly() - Method in class ch.aplu.util.Position
Return y-coordinate.
getVersion() - Method in class ch.aplu.util.GPane
Return version information
getVersion() - 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).
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
Property getter.
getXmin() - Method in class ch.aplu.util.GPane
Property getter.
getYmax() - Method in class ch.aplu.util.GPane
Property getter.
getYmin() - Method in class ch.aplu.util.GPane
Property getter.
GPane - Class in ch.aplu.util
Simple graphics window of 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.
GPrintable - Interface in ch.aplu.util
Interface for printing on an attached printer.
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() will not be called anymore).
halt(Cleanable) - Static method in class ch.aplu.util.QuitPane
Same as halt(), but registers a cleanable, so its clean() method will be called when the title bar's close button is clicked.
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.

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 given 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(URL, double, double) - Method in class ch.aplu.util.GPane
Show the GIF image from URL at given window coordinates (specifies lowerleft corner of image).
image(URL, Point2D.Double) - Method in class ch.aplu.util.GPane
Show the GIF image from given URL 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(URL, double, double) - Method in class ch.aplu.util.GPanel
Show the GIF image from URL at given window coordinates (specifies lowerleft corner of image).
image(URL, Point2D.Double) - Method in class ch.aplu.util.GPanel
Show the GIF image from given URL 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(URL) - Method in class ch.aplu.util.GPane
Return the height (vertical size) of the GIF image from the given URL (in window coordinates).
imageHeight() - Method in class ch.aplu.util.GPane
Return the height (vertical size) of the last loaded GIF image (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).
imageHeight(URL) - Method in class ch.aplu.util.GPanel
Return the height (vertical size) of the GIF image from the given URL (in window coordinates).
imageHeight() - Method in class ch.aplu.util.GPanel
Return the height (vertical size) of the last loaded GIF image (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(URL) - Method in class ch.aplu.util.GPane
Return the width (horizontal size) of the GIF image from the given URL (in window coordinates).
imageWidth() - Method in class ch.aplu.util.GPane
Return the width (horizontal size) of the last loaded GIF image (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).
imageWidth(URL) - Method in class ch.aplu.util.GPanel
Return the width (horizontal size) of the GIF image from the given URL (in window coordinates).
imageWidth() - Method in class ch.aplu.util.GPanel
Return the width (horizontal size) of the last loaded GIF image (in window coordinates).
img - Variable in class ch.aplu.util.Complex
 
init() - Static method in class ch.aplu.util.Console
Create a new Console with default attributes
and returns a reference to it.
init(Position, Size) - Static method in class ch.aplu.util.Console
Create a Console with specified size and position and returns a reference to it.
init(Font) - Static method in class ch.aplu.util.Console
Create a Console with specified font and returns a reference to it.
init(Position, Size, Font) - Static method in class ch.aplu.util.Console
Create a new Console with specified size, position and font and returns a reference to it.
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.
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.
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.GPanel
Return true, if a key was typed since the last call to getChar() or getCharWait().

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.
load(Waveform, double, double) - Method in class ch.aplu.util.FunctionPlayer
Loads the audio data using the function from given Waveform.
loadImage(Image) - Method in class ch.aplu.util.GWindow
Load the given GIF or JPEG image and set the current image's width and height.
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

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.
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.
Monitor() - Constructor for class ch.aplu.util.Monitor
 
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).
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

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.

P

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).
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).
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.
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 ref 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(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.
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.
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.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
Adds given number of bytes from the given buffer into the input of the converter.
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

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

readBoolean() - Method in class ch.aplu.util.InputDialog
Show the dialog to read a boolean.
readChar() - Static method in class ch.aplu.util.Console
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.InputDialog
Show the dialog to read a double value.
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.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.
readLong() - 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() - Method in class ch.aplu.util.InputDialog
Show the dialog to get a string value.
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
Retrieves converted samples from the converted.
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.
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).
run() - Method in class ch.aplu.util.Console
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.
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).
setAutowrap(boolean) - Static method in class ch.aplu.util.Console
Enable/disable autowrapping.
setBackgroundColor(Color) - Method in class ch.aplu.util.GPane
Property setter.
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).
setEnableFocus(boolean) - Method in class ch.aplu.util.GPane
Property setter.
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.
setPenColor(Color) - Method in class ch.aplu.util.GPane
Property setter.
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.GWindow
Set the title in the window's title bar.
setTitle(String) - Method in class ch.aplu.util.ModelessOptionPane
Same as showTitle().
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
Property setter.
setXmin(double) - Method in class ch.aplu.util.GPane
Property setter.
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.
setYmax(double) - Method in class ch.aplu.util.GPane
Property setter.
setYmin(double) - Method in class ch.aplu.util.GPane
Property setter.
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.
showHorizontalScrollBar(boolean) - Static method in class ch.aplu.util.Console
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.
size(int, int) - Static method in class ch.aplu.util.Console
Return a Size ref 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.
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.
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(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.
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
Create a recorder instance with given audioFormat using the default sound device.
SoundRecorder(int, AudioFormat) - Constructor for class ch.aplu.util.SoundRecorder
Create a recorder instance with given audioFormat using the default sound device.
SoundRecorder(AudioFormat, int) - Constructor for class ch.aplu.util.SoundRecorder
 
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.
STROBE - Static variable in class ch.aplu.util.LptPort
Bit value of Strobe line in control register of LPT port (at base address + 2).
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.
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 position.
text(double, double, char) - Method in class ch.aplu.util.GPane
Draw a char at the given position.
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(double, double, char) - Method in class ch.aplu.util.GPanel
Draw a char at the given position.
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.
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.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.
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

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.

V

validate() - Method in class ch.aplu.util.GPanel
Validate the container.
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
 
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).
writeWavFile(ByteArrayOutputStream, File) - Method in class ch.aplu.util.SoundRecorder
Write the sound data in the given stream into the given file in WAV format.

X

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

ymax - Variable in class ch.aplu.util.GPane
Property for bean support.
ymin - Variable in class ch.aplu.util.GPane
Property for bean support.

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