|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.ActionImpl
visad.DisplayImpl
visad.java2d.DisplayImplJ2D
public class DisplayImplJ2D
DisplayImplJ2D is the VisAD class for displays that use Java 3D. It is runnable.
DisplayImplJ2D is not Serializable and should not be copied between JVMs.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class visad.DisplayImpl |
|---|
DisplayImpl.Syncher |
| Field Summary | |
|---|---|
static int |
JPANEL
|
static int |
OFFSCREEN
|
static int |
UNKNOWN
legal values for api |
| Fields inherited from class visad.ActionImpl |
|---|
TRACE_STACK, TRACE_TIME |
| Constructor Summary | |
|---|---|
DisplayImplJ2D(RemoteDisplay rmtDpy)
|
|
DisplayImplJ2D(RemoteDisplay rmtDpy,
DisplayRendererJ2D renderer)
|
|
DisplayImplJ2D(String name)
construct a DisplayImpl for Java2D with the default DisplayRenderer, in a JFC JPanel |
|
DisplayImplJ2D(String name,
DisplayRendererJ2D renderer)
construct a DisplayImpl for Java2D with a non-default DisplayRenderer, in a JFC JPanel |
|
DisplayImplJ2D(String name,
DisplayRendererJ2D renderer,
int api)
construct a DisplayImpl for Java2D with a non-default DisplayRenderer; in a JFC JPanel if api == DisplayImplJ2D.JPANEL |
|
DisplayImplJ2D(String name,
DisplayRendererJ2D renderer,
int width,
int height)
offscreen constructor with non-default DisplayRenderer |
|
DisplayImplJ2D(String name,
DisplayRendererJ2D renderer,
int api,
int width,
int height)
most general constructor |
|
DisplayImplJ2D(String name,
int api)
constructor with default DisplayRenderer |
|
DisplayImplJ2D(String name,
int width,
int height)
construct a DisplayImpl for Java2D for offscreen rendering, with size given by width and height; getComponent() of this returns null, but display is accesible via getImage() |
|
| Method Summary | |
|---|---|
void |
clearMaps()
remove all ScalarMaps linked this display; |
void |
destroy()
destroy this display: clear all references to objects (so they can be garbage collected), stop all Threads and remove all links |
void |
doAction()
Check if any Data need re-transform, and if so, do it. |
int |
getAPI()
Return the API used for this display |
boolean |
getAutoAspect()
|
protected DisplayRenderer |
getDefaultDisplayRenderer()
|
GraphicsModeControl |
getGraphicsModeControl()
return the GraphicsModeControl associated with this Display |
ProjectionControl |
getProjectionControl()
return the ProjectionControl associated with this Display |
void |
setAutoAspect(boolean auto)
|
void |
setScratch()
|
| Methods inherited from class visad.ActionImpl |
|---|
disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, getTaskCount, printPool, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasks |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface visad.Action |
|---|
getName |
| Methods inherited from interface visad.ThingChangedListener |
|---|
thingChanged |
| Field Detail |
|---|
public static final int UNKNOWN
public static final int JPANEL
public static final int OFFSCREEN
| Constructor Detail |
|---|
public DisplayImplJ2D(RemoteDisplay rmtDpy)
throws VisADException,
RemoteException
VisADException
RemoteException
public DisplayImplJ2D(RemoteDisplay rmtDpy,
DisplayRendererJ2D renderer)
throws VisADException,
RemoteException
VisADException
RemoteException
public DisplayImplJ2D(String name)
throws VisADException,
RemoteException
VisADException
RemoteException
public DisplayImplJ2D(String name,
DisplayRendererJ2D renderer)
throws VisADException,
RemoteException
VisADException
RemoteException
public DisplayImplJ2D(String name,
int api)
throws VisADException,
RemoteException
VisADException
RemoteException
public DisplayImplJ2D(String name,
DisplayRendererJ2D renderer,
int api)
throws VisADException,
RemoteException
VisADException
RemoteException
public DisplayImplJ2D(String name,
int width,
int height)
throws VisADException,
RemoteException
VisADException
RemoteException
public DisplayImplJ2D(String name,
DisplayRendererJ2D renderer,
int width,
int height)
throws VisADException,
RemoteException
VisADException
RemoteException
public DisplayImplJ2D(String name,
DisplayRendererJ2D renderer,
int api,
int width,
int height)
throws VisADException,
RemoteException
VisADException
RemoteException| Method Detail |
|---|
protected DisplayRenderer getDefaultDisplayRenderer()
getDefaultDisplayRenderer in class DisplayImplpublic ProjectionControl getProjectionControl()
LocalDisplay
getProjectionControl in interface LocalDisplaygetProjectionControl in class DisplayImplpublic GraphicsModeControl getGraphicsModeControl()
LocalDisplay
getGraphicsModeControl in interface LocalDisplaygetGraphicsModeControl in class DisplayImpl
public int getAPI()
throws VisADException
getAPI in class DisplayImplVisADExceptionpublic void setScratch()
public void clearMaps()
throws VisADException,
RemoteException
DisplayImpl
clearMaps in interface DisplayclearMaps in class DisplayImplVisADException - a VisAD error occurred
RemoteException - an RMI error occurred
public void doAction()
throws VisADException,
RemoteException
DisplayImpl
doAction in class DisplayImplVisADException - a VisAD error occurred
RemoteException - an RMI error occurredpublic boolean getAutoAspect()
public void setAutoAspect(boolean auto)
public void destroy()
throws VisADException,
RemoteException
DisplayImpl
destroy in interface Displaydestroy in class DisplayImplVisADException - a VisAD error occurred
RemoteException - an RMI error occurred
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||