|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.LineDrawing
edu.wisc.ssec.mcidasv.data.hydra.SubsetRubberBandBox
public class SubsetRubberBandBox
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData |
---|
DisplayableData.DragAdapter |
Field Summary | |
---|---|
private Gridded2DSet |
bounds
bounds defined by the rubber band box |
private static int |
count
|
private FlatField |
data
|
private CoordinateSystem |
dataCS
|
private CoordinateSystem |
displayCS
|
private boolean |
isLL
|
private boolean |
lastBoxOn
|
private int |
mask
mouse event mask |
private MyRubberBandBoxRendererJ3D |
rubberBandBox
renderer |
private RealType |
xType
x type for the box |
private RealType |
yType
y type for the box |
Fields inherited from class ucar.visad.display.LineDrawing |
---|
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE |
Fields inherited from class ucar.visad.display.DisplayableData |
---|
MANIPULABLE, renderer, VISIBLE |
Fields inherited from class ucar.visad.display.Displayable |
---|
DISPLAY, parent, SCALAR_MAP_SET |
Constructor Summary | |
---|---|
|
SubsetRubberBandBox(boolean isLL,
FlatField data,
CoordinateSystem displayCS,
int mask)
|
|
SubsetRubberBandBox(boolean isLL,
FlatField data,
CoordinateSystem displayCS,
int mask,
boolean lastBoxOn)
Construct a RubberBandBox using xType as the X coordinate and yType as the Y coordinate of the box. |
|
SubsetRubberBandBox(FlatField data,
CoordinateSystem displayCS)
Construct a RubberBandBox using xType as the X coordinate and yType as the Y coordinate of the box. |
|
SubsetRubberBandBox(FlatField data,
CoordinateSystem displayCS,
int mask)
|
|
SubsetRubberBandBox(FlatField data,
CoordinateSystem displayCS,
int mask,
boolean lastBoxOn)
|
protected |
SubsetRubberBandBox(SubsetRubberBandBox that)
Constructor for creating a RubberBandBox from another instance |
Method Summary | |
---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display. |
protected void |
dataChange()
Invoked when box mouse is released. |
Gridded2DSet |
getBounds()
Return the bounds of the RubberBandBox. |
protected DataRenderer |
getDataRenderer()
Get the DataRenderer used for this displayable. |
Gridded3DSet |
getLastBox()
|
void |
setBox(SubsetRubberBandBox rbb)
|
Methods inherited from class ucar.visad.display.LineDrawing |
---|
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBA |
Methods inherited from class ucar.visad.display.DisplayableData |
---|
addAction, destroy, getActive, getAnimationSet, getData, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, showme, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private RealType xType
private RealType yType
private MyRubberBandBoxRendererJ3D rubberBandBox
private Gridded2DSet bounds
private int mask
private FlatField data
private boolean isLL
private boolean lastBoxOn
private CoordinateSystem dataCS
private CoordinateSystem displayCS
private static int count
Constructor Detail |
---|
public SubsetRubberBandBox(FlatField data, CoordinateSystem displayCS) throws VisADException, RemoteException
xType
- RealType of the X coordinate of the boxyType
- RealType of the Y coordinate of the box
VisADException
- VisAD error
RemoteException
- Remote errorpublic SubsetRubberBandBox(FlatField data, CoordinateSystem displayCS, int mask) throws VisADException, RemoteException
VisADException
RemoteException
public SubsetRubberBandBox(boolean isLL, FlatField data, CoordinateSystem displayCS, int mask) throws VisADException, RemoteException
VisADException
RemoteException
public SubsetRubberBandBox(FlatField data, CoordinateSystem displayCS, int mask, boolean lastBoxOn) throws VisADException, RemoteException
VisADException
RemoteException
public SubsetRubberBandBox(boolean isLL, FlatField data, CoordinateSystem displayCS, int mask, boolean lastBoxOn) throws VisADException, RemoteException
xType
- RealType of the X coordinate of the boxyType
- RealType of the Y coordinate of the boxmask
- key mask to use for rubberbanding
VisADException
- VisAD error
RemoteException
- Remote errorprotected SubsetRubberBandBox(SubsetRubberBandBox that) throws VisADException, RemoteException
that
- other instance
VisADException
- VisAD error
RemoteException
- Remote errorMethod Detail |
---|
protected void dataChange() throws VisADException, RemoteException
dataChange
in class DisplayableData
RemoteException
VisADException
public Gridded2DSet getBounds()
protected DataRenderer getDataRenderer()
getDataRenderer
in class DisplayableData
public Displayable cloneForDisplay() throws RemoteException, VisADException
cloneForDisplay
in class DisplayableData
VisADException
- VisAD failure.
RemoteException
- Java RMI failure.public void setBox(SubsetRubberBandBox rbb)
public Gridded3DSet getLastBox()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |