|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--edu.brook.ascape.view.ImageFeatureConcrete
|
+--edu.brook.ascape.view.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 |
redBall
A image of a red ball. |
static ImageFeatureFixed |
redBallFeature
A image feature of a red ball. |
| Fields inherited from class edu.brook.ascape.view.ImageFeatureConcrete |
name |
| 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 edu.brook.ascape.view.ImageFeatureConcrete |
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 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)
the - image of the featurethe - user relevant name of the feature| Method Detail |
public final java.awt.Image getImage(java.lang.Object object)
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()
|
(c) 1998-2000 The Brookings Insitution Webpage |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||