gishur.x2.gui.images
Class FancyPoint
java.lang.Object
|
+--gishur.awt.StaticImage
|
+--gishur.x2.gui.images.FancyPoint
- public class FancyPoint
- extends StaticImage
StaticImage
class representing the image
E:\Home\Wolf\Dokumente\Gishur\images\fancypoint.gif
.
Method Summary |
static java.awt.Image |
createImage()
Creates an image object of the StaticImage. |
static java.awt.Image |
createImage(java.awt.Color color,
boolean halftransparent)
Creates an image object with substituted color and halftransparency
of the StaticImage.
|
static java.awt.Image |
createImage(java.awt.Color base,
java.awt.Color color,
boolean halftransparent)
Creates an image object with substituted color and halftransparency
of the StaticImage.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FancyPoint
public FancyPoint()
createImage
public static java.awt.Image createImage()
- Creates an image object of the StaticImage.
- Returns:
- Image object of the StaticImage.
createImage
public static java.awt.Image createImage(java.awt.Color color,
boolean halftransparent)
- Creates an image object with substituted color and halftransparency
of the StaticImage.
This method must be overwritten in subclasses in order to call their
static initializer correctly (and set the class variables). One can call
one of the other protected
createImage()
methods from the
overwritten method.
- Parameters:
color
- color that substitutes whitehalftransparent
- if true, the created image will be halftransparent- Returns:
- Image object of the StaticImage.
createImage
public static java.awt.Image createImage(java.awt.Color base,
java.awt.Color color,
boolean halftransparent)
- Creates an image object with substituted color and halftransparency
of the StaticImage.
This method must be overwritten in subclasses in order to call their
static initializer correctly (and set the class variables). One can call
one of the other protected
createImage()
methods from the
overwritten method.
- Parameters:
base
- base color in the picture to substitudecolor
- color that substitutes whitehalftransparent
- if true, the created image will be halftransparent- Returns:
- Image object of the StaticImage.