|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ascape.util.vis.ImageFeatureConcrete org.ascape.util.vis.ImageFeatureFixed
public class ImageFeatureFixed
An interface for a class providing an image that doesn't change in relation to the supplied object. A number of basic sphere images are provided.
Field Summary | |
---|---|
static java.awt.Image |
blackBall
A image of a black ball. |
static ImageFeatureFixed |
blackBallFeature
A image feature of a black ball. |
static java.awt.Image |
blueBall
A image of a blue ball. |
static ImageFeatureFixed |
blueBallFeature
A image feature of a blue ball. |
static java.awt.Image |
grayBall
A image of a gray ball. |
static ImageFeatureFixed |
grayBallFeature
A image feature of a gray ball. |
static java.awt.Image |
greenBall
A image of a green ball. |
static ImageFeatureFixed |
greenBallFeature
A image feature of a green ball. |
static java.awt.Image |
orangeBall
A image of an orange ball. |
static ImageFeatureFixed |
orangeBallFeature
A image feature of am orange ball. |
static java.awt.Image |
redBall
A image of a red ball. |
static ImageFeatureFixed |
redBallFeature
A image feature of a red ball. |
Constructor Summary | |
---|---|
ImageFeatureFixed()
Constructs a ImageFeatureFixed. |
|
ImageFeatureFixed(java.lang.String name,
java.awt.Image image)
Constructs a ImageFeatureFixed. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones this feature. |
java.awt.Image |
getImage(java.lang.Object object)
Returns a image for the object as defined irrespective of object by setImage. |
void |
setImage(java.awt.Image image)
Sets the image of this feature. |
Methods inherited from class org.ascape.util.vis.ImageFeatureConcrete |
---|
createImage, getName, setName |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.awt.Image grayBall
public static final ImageFeatureFixed grayBallFeature
public static final java.awt.Image redBall
public static final ImageFeatureFixed redBallFeature
public static final java.awt.Image orangeBall
public static final ImageFeatureFixed orangeBallFeature
public static final java.awt.Image greenBall
public static final ImageFeatureFixed greenBallFeature
public static final java.awt.Image blueBall
public static final ImageFeatureFixed blueBallFeature
public static final java.awt.Image blackBall
public static final ImageFeatureFixed blackBallFeature
Constructor Detail |
---|
public ImageFeatureFixed()
public ImageFeatureFixed(java.lang.String name, java.awt.Image image)
name
- the image of the featureimage
- the user relevant name of the featureMethod Detail |
---|
public final java.awt.Image getImage(java.lang.Object object)
getImage
in interface ImageFeature
getImage
in class ImageFeatureConcrete
object
- Ignored; normally, the object the object to get a image from.public final void setImage(java.awt.Image image)
image
- the image this feature should always returnpublic java.lang.Object clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |