|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsim.portrayal.LocationWrapper
sim.portrayal3d.simple.ValuePortrayal3D.ValueWrapper
public static class ValuePortrayal3D.ValueWrapper
This special LocationWrapper contains a public double holding the last value used to display the object.
| Field Summary | |
|---|---|
double |
lastVal
|
| Fields inherited from class sim.portrayal.LocationWrapper |
|---|
fieldPortrayal, location, object |
| Constructor Summary | |
|---|---|
ValuePortrayal3D.ValueWrapper(double lastVal,
int x,
int y,
int z,
FieldPortrayal fieldPortrayal)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getLocationName()
Override this to provide the current location's name |
java.lang.Object |
getObject()
Override this to provide the current object |
| Methods inherited from class sim.portrayal.LocationWrapper |
|---|
getFieldPortrayal, getLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double lastVal
| Constructor Detail |
|---|
public ValuePortrayal3D.ValueWrapper(double lastVal,
int x,
int y,
int z,
FieldPortrayal fieldPortrayal)
| Method Detail |
|---|
public java.lang.String getLocationName()
LocationWrapper
getLocationName in class LocationWrapperpublic java.lang.Object getObject()
LocationWrapper
getObject in class LocationWrapper
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||