Class ncsa.horizon.viewer.GraphicsSelectionImpl
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.horizon.viewer.GraphicsSelectionImpl

java.lang.Object
   |
   +----ncsa.horizon.viewer.GraphicsSelectionImpl

public class GraphicsSelectionImpl
extends Object

Constructor Index

 o GraphicsSelectionImpl(Component)

Method Index

 o draw(Graphics)
draw the selection widgets
 o getBoxSelection()
 o getLineSelection()
 o getPixelSelection()
 o getSettingButton()
 o isBoxSelectionVisible()
 o isLineSelectionVisible()
 o isPixelSelectionVisible()
 o setBoxSelection(int, int, int, int)
 o setLineSelection(int, int, int, int)
 o setPixelSelection(int, int)
 o setSliceSelection(Slice, ImageDisplayMap)
set the selected region via a Slice and an ImageDisplayMap for translating the Slice to display space.
 o setVoxelSelection(Voxel, ImageDisplayMap)
set the selected pixel via a Voxel and an ImageDisplayMap for translating the Voxel to display space.
 o showBoxSelection(boolean)
 o showLineSelection(boolean)
 o showPixelSelection(boolean)
 o toggleBoxSelection()
 o toggleLineSelection()
 o togglePixelSelection()

Constructors

 o GraphicsSelectionImpl
  public GraphicsSelectionImpl(Component parent)

Methods

 o draw
  public void draw(Graphics g)
draw the selection widgets
Parameters:
g - the Graphics of the component on which the widgets are drawn.
 o getBoxSelection
  public synchronized Rectangle getBoxSelection()
 o getLineSelection
  public synchronized Line getLineSelection()
 o getPixelSelection
  public synchronized Point getPixelSelection()
 o getSettingButton
  public Button getSettingButton()
 o isBoxSelectionVisible
  public boolean isBoxSelectionVisible()
 o isLineSelectionVisible
  public boolean isLineSelectionVisible()
 o isPixelSelectionVisible
  public boolean isPixelSelectionVisible()
 o setBoxSelection
  public synchronized void setBoxSelection(int x1,
                                           int y1,
                                           int x2,
                                           int y2)
 o setLineSelection
  public synchronized void setLineSelection(int x1,
                                            int y1,
                                            int x2,
                                            int y2)
 o setPixelSelection
  public synchronized void setPixelSelection(int x,
                                             int y)
 o setSliceSelection
  public synchronized void setSliceSelection(Slice slice,
                                             ImageDisplayMap pixelMap)
set the selected region via a Slice and an ImageDisplayMap for translating the Slice to display space.
 o setVoxelSelection
  public synchronized void setVoxelSelection(Voxel voxel,
                                             ImageDisplayMap pixelMap)
set the selected pixel via a Voxel and an ImageDisplayMap for translating the Voxel to display space.
 o showBoxSelection
  public void showBoxSelection(boolean b)
 o showLineSelection
  public void showLineSelection(boolean b)
 o showPixelSelection
  public void showPixelSelection(boolean b)
 o toggleBoxSelection
  public void toggleBoxSelection()
 o toggleLineSelection
  public void toggleLineSelection()
 o togglePixelSelection
  public void togglePixelSelection()

All Packages  Class Hierarchy  This Package  Previous  Next  Index