- 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
- 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.
- 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.
- 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.
- 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.
- 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).
- 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.
- 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.
- 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.