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_TIME
AdjustProjectionSeam, 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, updateSlaves
disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, getTaskCount, printPool, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasks
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait
thingChanged
public static final int UNKNOWN
public static final int JPANEL
public static final int OFFSCREEN
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
protected DisplayRenderer getDefaultDisplayRenderer()
getDefaultDisplayRenderer
in class DisplayImpl
public ProjectionControl getProjectionControl()
LocalDisplay
getProjectionControl
in interface LocalDisplay
getProjectionControl
in class DisplayImpl
public GraphicsModeControl getGraphicsModeControl()
LocalDisplay
getGraphicsModeControl
in interface LocalDisplay
getGraphicsModeControl
in class DisplayImpl
public int getAPI() throws VisADException
getAPI
in class DisplayImpl
VisADException
public void setScratch()
public void clearMaps() throws VisADException, RemoteException
DisplayImpl
clearMaps
in interface Display
clearMaps
in class DisplayImpl
VisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic void doAction() throws VisADException, RemoteException
DisplayImpl
doAction
in class DisplayImpl
VisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic boolean getAutoAspect()
public void setAutoAspect(boolean auto)
public void destroy() throws VisADException, RemoteException
DisplayImpl
destroy
in interface Display
destroy
in class DisplayImpl
VisADException
- a VisAD error occurredRemoteException
- an RMI error occurredCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.