public class DisplayImplJ2D extends DisplayImpl
DisplayImplJ2D is not Serializable and should not be copied between JVMs.
DisplayImpl.Syncher| Modifier and Type | Field and Description |
|---|---|
static int |
JPANEL |
static int |
OFFSCREEN |
static int |
UNKNOWN
legal values for api
|
TRACE_STACK, TRACE_TIMEAdjustProjectionSeam, Alpha, Animation, Blue, CacheAppearances, CMY, ColorMode, components3c, components3s, componentscmy, componentscyl, componentsflow1, componentsflow1s, componentsflow2, componentsflow2s, componentshsv, componentsrgb, componentsso, CurvedSize, Cyan, CylAzimuth, CylRadius, CylZAxis, DisplayCMYCoordSys, DisplayCMYTuple, DisplayCylindricalCoordSys, DisplayFlow1SphericalCoordSys, DisplayFlow1SphericalTuple, DisplayFlow1Tuple, DisplayFlow2SphericalCoordSys, DisplayFlow2SphericalTuple, DisplayFlow2Tuple, DisplayHSVCoordSys, DisplayHSVTuple, DisplayRealArray, DisplayRGBTuple, DisplaySpatialCartesianTuple, DisplaySpatialCylindricalTuple, DisplaySpatialOffsetTuple, DisplaySpatialSphericalTuple, DisplaySphericalCoordSys, Flow1Azimuth, Flow1Elevation, Flow1Radial, Flow1X, Flow1Y, Flow1Z, Flow2Azimuth, Flow2Elevation, Flow2Radial, Flow2X, Flow2Y, Flow2Z, Green, HSV, Hue, IsoContour, Latitude, LineStyle, LineWidth, List, Longitude, Magenta, MergeGeometries, MissingTransparent, PointMode, PointSize, PolygonMode, PolygonOffset, PolygonOffsetFactor, Radius, Red, RGB, RGBA, Saturation, SelectRange, SelectValue, Shape, ShapeScale, Text, Texture3DMode, TextureEnable, Value, XAxis, XAxisOffset, YAxis, YAxisOffset, Yellow, ZAxis, ZAxisOffset| Constructor and Description |
|---|
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()
|
| Modifier and Type | Method and Description |
|---|---|
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() |
addActivityHandler, addControl, addDataSourceListener, addDisplayListener, addMap, addMap, addMessageListener, addReference, addReference, addReferences, addReferences, addReferences, addReferences, addRemoteSourceListener, addRendererSourceListener, addSlave, checkTicks, connectionFailed, controlChanged, delay, disableEvent, enableEvent, equals, finalize, getComponent, getConnectionID, getConstantMapVector, getControl, getControl, getControls, getControlVector, getDisplayMonitor, getDisplayRenderer, getDisplayScalar, getDisplayScalarCount, getDisplayScalarIndex, getDisplaySync, getImage, getImage, getMapVector, getMouseBehavior, getNumberOfControls, getPrintable, getRenderers, getRendererVector, getScalar, getScalarCount, getScalarIndex, getValueArrayLength, getValueToMap, getValueToScalar, getWidgetPanel, hasSlaves, isDestroyed, isEventEnabled, lostCollabConnection, make_matrix, multiply_matrix, notifyListeners, notifyListeners, printStack, reAutoScale, reDisplayAll, removeActivityHandler, removeAllReferences, removeAllSlaves, removeDataSourceListener, removeDisplayListener, removeMap, removeMap, removeMessageListener, removeReference, removeRemoteSourceListener, removeRendererSourceListener, removeSlave, replaceReference, replaceReference, replaceReferences, replaceReferences, replaceReferences, replaceReferences, sendMessage, setAlwaysAutoScale, setComponent, setDepthBufferOffset, setMouseBehavior, syncRemoteData, toString, toString, updateBusyStatus, updateSlaves, updateSlavesdisableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, getTaskCount, printPool, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasksclone, getClass, hashCode, notify, notifyAll, wait, wait, waitthingChangedpublic static final int UNKNOWN
public static final int JPANEL
public static final int OFFSCREEN
public DisplayImplJ2D(RemoteDisplay rmtDpy) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic DisplayImplJ2D(RemoteDisplay rmtDpy, DisplayRendererJ2D renderer) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic DisplayImplJ2D(String name) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic DisplayImplJ2D(String name, DisplayRendererJ2D renderer) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic DisplayImplJ2D(String name, int api) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic DisplayImplJ2D(String name, DisplayRendererJ2D renderer, int api) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic DisplayImplJ2D(String name, int width, int height) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic DisplayImplJ2D(String name, DisplayRendererJ2D renderer, int width, int height) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic DisplayImplJ2D(String name, DisplayRendererJ2D renderer, int api, int width, int height) throws VisADException, RemoteException
VisADExceptionRemoteExceptionprotected DisplayRenderer getDefaultDisplayRenderer()
getDefaultDisplayRenderer in class DisplayImplpublic ProjectionControl getProjectionControl()
LocalDisplaygetProjectionControl in interface LocalDisplaygetProjectionControl in class DisplayImplpublic GraphicsModeControl getGraphicsModeControl()
LocalDisplaygetGraphicsModeControl in interface LocalDisplaygetGraphicsModeControl in class DisplayImplpublic int getAPI()
throws VisADException
getAPI in class DisplayImplVisADExceptionpublic void setScratch()
public void clearMaps()
throws VisADException,
RemoteException
DisplayImplclearMaps in interface DisplayclearMaps in class DisplayImplVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic void doAction()
throws VisADException,
RemoteException
DisplayImpldoAction in class DisplayImplVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic boolean getAutoAspect()
public void setAutoAspect(boolean auto)
public void destroy()
throws VisADException,
RemoteException
DisplayImpldestroy in interface Displaydestroy in class DisplayImplVisADException - a VisAD error occurredRemoteException - an RMI error occurredCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.