All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----ncsa.horizon.awt.ImageCanvas
|
+----ncsa.horizon.viewer.GraphicsSelectionImageCanvas
I am a decorator of GraphcisSelectionImpl. So, I implement all the methods of GraphcisSelectionImpl. Also, I can share the same SelectionData with other SelectionArea. But, I am not a SelectionData observer. So, my SelectionData is altered by other SelectionArea, some SelectionData observer such as a SelectionViewershould notify me, ie, it should call my setBoxSelection method and etc.
public GraphicsSelectionImageCanvas(int width,
int height)
public Component[] getGui()
public SelectionData getSelectionData()
public Rectangle getBoxSelection()
public Line getLineSelection()
public Point getPixelSelection()
public boolean isBoxSelectionVisible()
public boolean isLineSelectionVisible()
public boolean isPixelSelectionVisible()
public boolean mouseDown(Event evt,
int x,
int y)
public boolean mouseDrag(Event evt,
int x,
int y)
public boolean mouseMove(Event event,
int x,
int y)
public boolean mouseUp(Event event,
int x,
int y)
public void setBoxSelection(int x1,
int y1,
int x2,
int y2)
public void setBoxSelection(Rectangle box)
public void setLineSelection(int x1,
int y1,
int x2,
int y2)
public void setLineSelection(Line line)
public void setPixelSelection(int x,
int y)
public void setPixelSelection(Point pixel)
public void setSliceSelection(Slice slice,
ImageDisplayMap pixelMap)
public synchronized void setVoxelSelection(Voxel voxel,
ImageDisplayMap pixelMap)
public void showBoxSelection(boolean b)
public void showLineSelection(boolean b)
public void showPixelSelection(boolean b)
public void toggleBoxSelection()
public void toggleLineSelection()
public void togglePixelSelection()
protected boolean tryPaint(Graphics g)
All Packages Class Hierarchy This Package Previous Next Index