Class ncsa.horizon.modules.SliceChooserPanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.horizon.modules.SliceChooserPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----ncsa.horizon.modules.SliceChooserPanel

public class SliceChooserPanel
extends Panel
implements LayoutRearrangeable

Variable Index

 o axesList
The List of axis labels.
 o dimensionLabel
Dimension: Label
 o dimensionTextFields
Array of TextField to display dimension of the n-d array
 o locationLabel
Location: Label
 o noaLabeledField
Number of Axes labeledlField
 o setButton
Set button.
 o sliceLabel
Slice: label
 o sliceLocationLabel
Location label
 o sliceLocTextFields
Array of TextField to display location of current slice or for user to input the n-d coordinates to set the location of current slice
 o titleLabel
Slice Choosing Panel: title label
 o volLocTextFields
Array of TextField to display location of the volume
 o volumeLabel
Volume: label
 o xaxisChoice
Xaxis label
 o xSizeLabeledField
X Size: LabeledField
 o yaxisChoice
Yaxis lable
 o ySizeLabeledField
Y Size: Label

Constructor Index

 o SliceChooserPanel(int, double[])
 o SliceChooserPanel(int, double[], CoordinateSystem)
 o SliceChooserPanel(int, double[], double[])
 o SliceChooserPanel(int, double[], double[], CoordinateSystem)
 o SliceChooserPanel(Volume)
 o SliceChooserPanel(Volume, CoordinateSystem)
 o SliceChooserPanel(Volume, CoordinateSystem, Slice)
 o SliceChooserPanel(Volume, Slice)

Method Index

 o action(Event, Object)
 o constructAxesLabel(CoordinateSystem)
 o constructAxesList()
Initialize axesList.
 o constructComponents(CoordinateSystem)
Initialize the member graphic interface Components.
 o constructXaxisChoice()
Initialize xaxisChoice.
 o constructYaxisChoice()
Initialize yaxisChoice.
 o extractXaxis()
 o extractXSize()
 o extractYaxis()
 o extractYSize()
 o getCouterpartChoice(Choice)
 o getSlice()
 o layoutComponents()
 o layoutComponents(Container)
 o regist(Viewer)

Variables

 o titleLabel
  protected Label titleLabel
Slice Choosing Panel: title label
 o volumeLabel
  protected Label volumeLabel
Volume: label
 o noaLabeledField
  protected LabeledField noaLabeledField
Number of Axes labeledlField
 o axesList
  protected List axesList
The List of axis labels.
 o locationLabel
  protected Label locationLabel
Location: Label
 o volLocTextFields
  protected TextField volLocTextFields[]
Array of TextField to display location of the volume
 o dimensionLabel
  protected Label dimensionLabel
Dimension: Label
 o dimensionTextFields
  protected TextField dimensionTextFields[]
Array of TextField to display dimension of the n-d array
 o sliceLabel
  protected Label sliceLabel
Slice: label
 o setButton
  protected Button setButton
Set button. When it is hit, the current slice will be reset with the displayed attributes.
 o xaxisChoice
  protected Choice xaxisChoice
Xaxis label
 o yaxisChoice
  protected Choice yaxisChoice
Yaxis lable
 o sliceLocationLabel
  protected Label sliceLocationLabel
Location label
 o sliceLocTextFields
  protected TextField sliceLocTextFields[]
Array of TextField to display location of current slice or for user to input the n-d coordinates to set the location of current slice
 o xSizeLabeledField
  protected LabeledField xSizeLabeledField
X Size: LabeledField
 o ySizeLabeledField
  protected LabeledField ySizeLabeledField
Y Size: Label

Constructors

 o SliceChooserPanel
  public SliceChooserPanel(Volume volume)
 o SliceChooserPanel
  public SliceChooserPanel(Volume volume,
                           Slice slice)
 o SliceChooserPanel
  public SliceChooserPanel(Volume volume,
                           CoordinateSystem coord)
 o SliceChooserPanel
  public SliceChooserPanel(Volume volume,
                           CoordinateSystem coord,
                           Slice slice)
 o SliceChooserPanel
  public SliceChooserPanel(int naxes,
                           double size[])
 o SliceChooserPanel
  public SliceChooserPanel(int naxes,
                           double location[],
                           double size[])
 o SliceChooserPanel
  public SliceChooserPanel(int naxes,
                           double size[],
                           CoordinateSystem coord)
 o SliceChooserPanel
  public SliceChooserPanel(int naxes,
                           double location[],
                           double size[],
                           CoordinateSystem coord)

Methods

 o constructAxesLabel
  protected void constructAxesLabel(CoordinateSystem coord)
 o constructAxesList
  protected void constructAxesList()
Initialize axesList. This method is used only for contructors.
 o constructXaxisChoice
  protected void constructXaxisChoice()
Initialize xaxisChoice. This method is used only for contructors.
 o constructYaxisChoice
  protected void constructYaxisChoice()
Initialize yaxisChoice. This method is used only for contructors.
 o constructComponents
  protected void constructComponents(CoordinateSystem coord)
Initialize the member graphic interface Components. This method is used only for contructors.
 o action
  public boolean action(Event evt,
                        Object arg)
Overrides:
action in class Component
 o extractXaxis
  protected int extractXaxis()
 o extractXSize
  protected int extractXSize()
 o extractYaxis
  protected int extractYaxis()
 o extractYSize
  protected int extractYSize()
 o getCouterpartChoice
  protected Choice getCouterpartChoice(Choice choice)
 o getSlice
  public Slice getSlice()
 o layoutComponents
  public void layoutComponents()
 o layoutComponents
  public void layoutComponents(Container container)
 o regist
  public void regist(Viewer viewer)

All Packages  Class Hierarchy  This Package  Previous  Next  Index