|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.MapAdapter
ucar.visad.display.ScalarMapAdapter
ucar.visad.display.AxisScalarMap
public abstract class AxisScalarMap
Provides support for adapting ScalarMap-s to Display.XAxis,
Display.YAxis, or Display.ZAxis.
Instances of this class have the the JavaBean properties of the superclass.
| Field Summary |
|---|
| Fields inherited from class ucar.visad.display.ScalarMapAdapter |
|---|
SCALAR_MAP, SCALAR_TYPE |
| Constructor Summary | |
|---|---|
protected |
AxisScalarMap(RealType realType,
DisplayRealType displayType,
DisplayAdapter display)
Constructs. |
| Method Summary | |
|---|---|
void |
flip()
Flips. |
protected abstract javax.vecmath.Vector3d |
new3DTranslationVector(double amount)
Returns a new, 3-D, translation vector. |
void |
scale(double amount)
Scales. |
protected abstract void |
scale(double[] values,
double amount)
Scales. |
protected abstract void |
scale(double amount,
AffineTransform transform)
Scales the axis values. |
protected void |
setControl()
Sets the control of the underlying ScalarMap. |
void |
translate(double amount)
Translates. |
protected abstract void |
translate(double amount,
AffineTransform transform)
Translates the axis values. |
| Methods inherited from class ucar.visad.display.ScalarMapAdapter |
|---|
addScalarMapListener, compareTo, equals, getControl, getDisplayType, getScalarType, hashCode, removeScalarMapListener, scalarMapChange, setRange, setScalarType |
| Methods inherited from class ucar.visad.display.MapAdapter |
|---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getDisplayRealType, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AxisScalarMap(RealType realType,
DisplayRealType displayType,
DisplayAdapter display)
throws VisADException,
RemoteException
realType - The type of data to be mapped to the axis.displayType - The display type of the axis.display - The adapted, VisAD display for rendering.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
public void translate(double amount)
throws VisADException,
RemoteException
amount - The amount by which to translate.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void scale(double amount)
throws VisADException,
RemoteException
amount - The amount by which to scale.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void flip()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void setControl()
throws VisADException,
RemoteException
ScalarMap. This is a
template method.
setControl in class ScalarMapAdapterVisADException - VisAD failure.
RemoteException - Java RMI failure.
protected abstract void translate(double amount,
AffineTransform transform)
amount - The amount to translate the axis.transform - The transformation to be translated.protected abstract javax.vecmath.Vector3d new3DTranslationVector(double amount)
amount - The amount to translate the axis.
protected abstract void scale(double amount,
AffineTransform transform)
amount - The amount to scale the axis by.transform - The transformation to be scaled.
protected abstract void scale(double[] values,
double amount)
values - Unknown.amount - Unknown.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||