|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.DataRenderer
visad.java2d.RendererJ2D
public abstract class RendererJ2D
RendererJ2D is the VisAD abstract super-class for graphics rendering algorithms under Java2D. These transform Data objects into 2-D depictions in a Display window.
RendererJ2D is not Serializable and should not be copied between JVMs.
Field Summary |
---|
Fields inherited from class visad.DataRenderer |
---|
enabled, pickCrawlToCursor |
Constructor Summary | |
---|---|
RendererJ2D()
|
Method Summary | |
---|---|
void |
clearBranch()
clear scene graph component |
void |
clearScene()
clear any display list created by the most recent doAction invocation |
boolean |
doAction()
re-transform if needed; return false if not done |
abstract VisADGroup |
doTransform()
create a VisADGroup scene graph for Data in links; this can put Behavior objects in the scene graph for DataRenderer classes that implement direct manipulation widgets; may reduce work by only changing scene graph for Data and Controls that have changed: 1. |
ShadowType |
makeShadowFunctionType(FunctionType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowFunctionType; these factories are invoked by the buildShadowType methods of the MathType subclasses, which are invoked by DataDisplayLink.prepareData, which is invoked by DataRenderer.prepareAction |
ShadowType |
makeShadowRealTupleType(RealTupleType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowRealTupleType |
ShadowType |
makeShadowRealType(RealType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowRealType |
ShadowType |
makeShadowSetType(SetType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowSetType |
ShadowType |
makeShadowTextType(TextType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowTextType |
ShadowType |
makeShadowTupleType(TupleType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowTupleType |
void |
setLinks(DataDisplayLink[] links,
DisplayImpl d)
|
void |
toggle(boolean on)
Sets the visibility of the data being rendered by this instance. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RendererJ2D()
Method Detail |
---|
public void setLinks(DataDisplayLink[] links, DisplayImpl d) throws VisADException
setLinks
in class DataRenderer
VisADException
public void toggle(boolean on)
DataRenderer
toggle
in class DataRenderer
on
- Whether or not to render the data.public ShadowType makeShadowFunctionType(FunctionType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowFunctionType
in class DataRenderer
VisADException
java.rmi.RemoteException
public ShadowType makeShadowRealTupleType(RealTupleType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowRealTupleType
in class DataRenderer
VisADException
java.rmi.RemoteException
public ShadowType makeShadowRealType(RealType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowRealType
in class DataRenderer
VisADException
java.rmi.RemoteException
public ShadowType makeShadowSetType(SetType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowSetType
in class DataRenderer
VisADException
java.rmi.RemoteException
public ShadowType makeShadowTextType(TextType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowTextType
in class DataRenderer
VisADException
java.rmi.RemoteException
public ShadowType makeShadowTupleType(TupleType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowTupleType
in class DataRenderer
VisADException
java.rmi.RemoteException
public boolean doAction() throws VisADException, java.rmi.RemoteException
doAction
in class DataRenderer
VisADException
java.rmi.RemoteException
public void clearBranch()
DataRenderer
clearBranch
in class DataRenderer
public void clearScene()
DataRenderer
clearScene
in class DataRenderer
public abstract VisADGroup doTransform() throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |