IcanGui
Class GuiIcanDataSubsliceTable

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by IcanGui.GuiIcanDataSubsliceTable
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.FocusListener, java.awt.event.KeyListener, java.awt.event.WindowListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible

public class GuiIcanDataSubsliceTable
extends java.awt.Frame
implements java.awt.event.ActionListener, java.awt.event.KeyListener, java.awt.event.FocusListener, java.awt.event.WindowListener

Class to create Substructure Subslice table.

See Also:
Serialized Form

Nested Class Summary
(package private)  class GuiIcanDataSubsliceTable.Madapter
          Mouse Adapter Inner Class
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  double boxLo
          Location of bottom edge of box containing the fiber or particle.
private static java.lang.String[] buttonLabels
          Labels to display on action buttons.
private  java.awt.Button[] buttons
          Action buttons.
private  double[] d
          Values of Diameter/Distance for Fiber or Particle, (Fiber or Particle +) Interphase, Matrix or Binder.
private  java.lang.String[] descr
          Title and description of the ICAN/JAVA run and ply data.
private  double[] dsl
          Values of Diameter/Distance for Fiber or Particle, (Fiber or Particle +) Interphase, Matrix or Binder.
private  int fiberOrParticle
          Either MaterialProperty.PROPERTY_TYPE_FIBER or MaterialProperty.PROPERTY_TYPE_PARTICLE: used to determine whether the analysis is 2D or 3D, respectively.
private  java.awt.GridBagConstraints gbc
          GridBag Layout constraints.
private  java.awt.GridBagLayout gbl
          GridBag Layout manager.
private static double HALF
          The number one half.
private static int iAccept
          Accept Button verifies data and processes Substructure data.
private static int iCancel
          Cancel Button exits this screen and discards any data entered.
private static int iClear
          Clear Button clears data entry fields.
private static int iExit
          Exit Button exits the entire program.
private static int iF
          Index of Fiber or Particle variables.
private static int iFX
          Index of Fiber or Particle X variables.
private static int iFY
          Index of Fiber or Particle Y variables.
private static int iHelp
          Help Button displays information on this window.
private static int iI
          Index of Interphase variables.
private static int iIX
          Index of Interphase X variables.
private static int iIY
          Index of Interphase Y variables.
private static int iM
          Index of Matrix or Binder variables.
private static int iMX
          Index of Matrix or Binder X variables.
private static int iMY
          Index of Matrix or Binder Y variables.
private  int iPly
          Index of invoking Slice button corresponding to Ply number or range.
private  int iPS
          0 for Primary, 1 for Secondary.
private  int iSlice
          Index of slices in Substructure Subslice table.
private  double[] k
          Original Volume ratios for Fiber or Particle, Interphase, Matrix or Binder.
private  double[] ksl
          Slice Volume ratios for Fiber or Particle, Interphase, Matrix or Binder.
private  java.awt.Label[] lblDescr
          Labels for descriptions at top of window.
private  java.awt.Label[][] lblSliceCol
          (Column) Labels in Substructure Subslice table.
private  java.awt.Label[] lblSliceTotals
          Totals for columns in Substructure Subslice table.
private  java.awt.Label[][] lblSubsliceVar
          Labels in Substructure Subslice fields.
private  java.lang.String[] materialCode
          Strings containing the Materal codes for Fiber or Particle, Interphase, Matrix or Binder.
private  GuiIcanDataSubsliceTable.Madapter myMadapter
          Mouse Adapter to handle mouse entering the window for the first time and right clicks.
private static int nButtons
          Number of action buttons.
private  int nDefect
          Number of defects set.
private  int nDescrs
          Number of descriptive labels at top of window.
private  int nDiameters
          Number of fiber diameters to subslice in 1(X) direction.
private static int nset
          Number of Fiber or Particle, Interphase, and Matrix or Binder indices.
private static int Nset
          Number of Fiber or Particle, Interphase, and Matrix or Binder indices.
private  int nSliceCols
          Number of Columns in Substructure Subslice table.
private  int nSlicesTotal
          Computed total number of Slices in Substructure range.
private  int[] nSubslices
          Values of the number of Subslices for Fiber or Particle, Interphase, Matrix or Binder.
private  int nSubsliceX
          Number of subslices in the 1(X) direction.
private  int nSubsliceY
          Number of subslices in the 2(Y) direction.
private  java.awt.Panel[] panelCol
          Panel containing user's Substructure data table columns.
private  java.awt.Panel panelFrame
          The Panel that contains the data to be displayed within a scrolling frame.
private  java.awt.Panel panelUser
          Panel containing user's Subslice data table.
private  double plyThickness
          Value of Ply thickness (for each Ply in range).
private  java.awt.Component saveCompFocus
          Component to set focus to.
private  java.awt.ScrollPane scrollFrame
          The scrolling frame in which the data is displayed.
private  java.lang.String sID
          Slice ID.
private static java.lang.String[][] sliceColTitle
          Titles for columns in Substructure Subslice table.
private  java.awt.Checkbox[] sliceDefect
          Checkbox to indicate whether Substructure Subslice has a defect.
private  double sliceHi
          Location of top of slice.
private  double sliceLo
          Location of bottom of slice.
private  double[] sThickX
          Computed Slice Thicknesses for Fiber or Particle, Interphase, Matrix or Binder.
private  double[] sThickY
          Computed Slice Thicknesses for Fiber or Particle, Interphase, Matrix or Binder.
private  java.lang.String[] subDefect
          Array of ID's at which defect was set, of the form ply:box:slice::Nx:Ny.
private  GuiIcanDataSubslice that
          Instance of caller: GuiIcanDataSubslice.
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
GuiIcanDataSubsliceTable(GuiIcanDataSubslice that, java.lang.String[] descr, int iPly, int iPS, java.lang.String[] materialCode, double[] k, double[] ksl, double[] d, double[] dsl, double plyThickness, int fiberOrParticle, java.lang.String sID, double boxLo, double sliceLo, double sliceHi, int[] nSubslices, java.lang.String[] subDefect)
          Constructor creates windows to display text entry fields, buttons, and table of subslices.
 
Method Summary
 boolean acceptSlicing()
          Check for valid combination of Defect.
 void actionPerformed(java.awt.event.ActionEvent evt)
          Detect Action Events and process accordingly
private  boolean addIcanDataUser()
          Add a set of Subslice input data for each subslice.
 void doArrow(int key)
          Process arrow key to move focus.
 void focusGained(java.awt.event.FocusEvent evt)
          Does Nothing
 void focusLost(java.awt.event.FocusEvent evt)
          Does Nothing
 java.lang.String getName()
          Get class name.
 void helpMe()
          Display help message.
 void helpMe(java.awt.Component target)
          Display help message for a specified component.
protected  void initMe()
           
 boolean isDefect(java.lang.String subID)
          Is there a defect at this slot?
 void keyPressed(java.awt.event.KeyEvent evt)
          Makes sure that keys are not processed twice.
 void keyReleased(java.awt.event.KeyEvent evt)
          Detects when the following keys are released Tab, up arrow, down arrow, enter, shift+tab, alt+right, alt+left, F1
 void keyTyped(java.awt.event.KeyEvent evt)
          Does Nothing
 void presetData()
          Set title and other ICAN/JAVA data.
 void remove()
          Remove buttons and labels to destroy window.
 void saveDefect()
          Save defect data for subslices.
 void setCompFocus()
          Set focus to some component.
 void setCompFocus(java.awt.Component cFocus)
          Set focus in current class/frame.
 void windowActivated(java.awt.event.WindowEvent evt)
          Does Nothing
 void windowClosed(java.awt.event.WindowEvent evt)
          Does Nothing
 void windowClosing(java.awt.event.WindowEvent evt)
          Checks to make sure you want to exit
 void windowDeactivated(java.awt.event.WindowEvent evt)
          Does Nothing
 void windowDeiconified(java.awt.event.WindowEvent evt)
          Does Nothing
 void windowIconified(java.awt.event.WindowEvent evt)
          Does Nothing
 void windowOpened(java.awt.event.WindowEvent evt)
          Does Nothing
 
Methods inherited from class java.awt.Frame
addNotify, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

that

private GuiIcanDataSubslice that
Instance of caller: GuiIcanDataSubslice.


panelUser

private java.awt.Panel panelUser
Panel containing user's Subslice data table.


panelCol

private java.awt.Panel[] panelCol
Panel containing user's Substructure data table columns. This was added to allow a GridLayout in one direction (height) and a GridBagLayout in the other direction (width) because there is a limit of 512 rows or columns in a GridBagLayout.


gbl

private java.awt.GridBagLayout gbl
GridBag Layout manager. Note that there is a limit of 512 rows or columns in a GridBagLayout.


gbc

private java.awt.GridBagConstraints gbc
GridBag Layout constraints.


iPly

private int iPly
Index of invoking Slice button corresponding to Ply number or range.


iPS

private int iPS
0 for Primary, 1 for Secondary.


descr

private java.lang.String[] descr
Title and description of the ICAN/JAVA run and ply data.


nDescrs

private int nDescrs
Number of descriptive labels at top of window.


lblDescr

private java.awt.Label[] lblDescr
Labels for descriptions at top of window.


plyThickness

private double plyThickness
Value of Ply thickness (for each Ply in range).


sID

private java.lang.String sID
Slice ID.


sliceLo

private double sliceLo
Location of bottom of slice.


sliceHi

private double sliceHi
Location of top of slice.


boxLo

private double boxLo
Location of bottom edge of box containing the fiber or particle.


fiberOrParticle

private int fiberOrParticle
Either MaterialProperty.PROPERTY_TYPE_FIBER or MaterialProperty.PROPERTY_TYPE_PARTICLE: used to determine whether the analysis is 2D or 3D, respectively.


iF

private static final int iF
Index of Fiber or Particle variables.

See Also:
Constant Field Values

iI

private static final int iI
Index of Interphase variables.

See Also:
Constant Field Values

iM

private static final int iM
Index of Matrix or Binder variables.

See Also:
Constant Field Values

nset

private static final int nset
Number of Fiber or Particle, Interphase, and Matrix or Binder indices.

See Also:
Constant Field Values

iFX

private static final int iFX
Index of Fiber or Particle X variables.

See Also:
Constant Field Values

iIX

private static final int iIX
Index of Interphase X variables.

See Also:
Constant Field Values

iMX

private static final int iMX
Index of Matrix or Binder X variables.

See Also:
Constant Field Values

iFY

private static final int iFY
Index of Fiber or Particle Y variables.

See Also:
Constant Field Values

iIY

private static final int iIY
Index of Interphase Y variables.

See Also:
Constant Field Values

iMY

private static final int iMY
Index of Matrix or Binder Y variables.

See Also:
Constant Field Values

Nset

private static final int Nset
Number of Fiber or Particle, Interphase, and Matrix or Binder indices.

See Also:
Constant Field Values

nSubslices

private int[] nSubslices
Values of the number of Subslices for Fiber or Particle, Interphase, Matrix or Binder.


materialCode

private java.lang.String[] materialCode
Strings containing the Materal codes for Fiber or Particle, Interphase, Matrix or Binder.


k

private double[] k
Original Volume ratios for Fiber or Particle, Interphase, Matrix or Binder.


ksl

private double[] ksl
Slice Volume ratios for Fiber or Particle, Interphase, Matrix or Binder.


d

private double[] d
Values of Diameter/Distance for Fiber or Particle, (Fiber or Particle +) Interphase, Matrix or Binder.


dsl

private double[] dsl
Values of Diameter/Distance for Fiber or Particle, (Fiber or Particle +) Interphase, Matrix or Binder.


sThickX

private double[] sThickX
Computed Slice Thicknesses for Fiber or Particle, Interphase, Matrix or Binder.


sThickY

private double[] sThickY
Computed Slice Thicknesses for Fiber or Particle, Interphase, Matrix or Binder.


nSubsliceX

private int nSubsliceX
Number of subslices in the 1(X) direction.


nSubsliceY

private int nSubsliceY
Number of subslices in the 2(Y) direction.


nSlicesTotal

private int nSlicesTotal
Computed total number of Slices in Substructure range.


nDiameters

private int nDiameters
Number of fiber diameters to subslice in 1(X) direction.


sliceColTitle

private static final java.lang.String[][] sliceColTitle
Titles for columns in Substructure Subslice table.


nSliceCols

private int nSliceCols
Number of Columns in Substructure Subslice table.


lblSliceCol

private java.awt.Label[][] lblSliceCol
(Column) Labels in Substructure Subslice table.


lblSliceTotals

private java.awt.Label[] lblSliceTotals
Totals for columns in Substructure Subslice table.


lblSubsliceVar

private java.awt.Label[][] lblSubsliceVar
Labels in Substructure Subslice fields.
  1. For each slice:
    • Slice number - descending order.
    • Slice Thickness.
    • Position - position of (center) of slice.
    • Fiber or Particle Volume Ratio.
    • Interphase Volume Ratio.
    • Matrix or Binder Volume Ratio.
    • Placeholder for Checkbox indicating Defect in Substructure Subslice.
  2. Total - same as slice except Position is blank.


sliceDefect

private java.awt.Checkbox[] sliceDefect
Checkbox to indicate whether Substructure Subslice has a defect.


subDefect

private java.lang.String[] subDefect
Array of ID's at which defect was set, of the form ply:box:slice::Nx:Ny.


nDefect

private int nDefect
Number of defects set.


iSlice

private int iSlice
Index of slices in Substructure Subslice table.


saveCompFocus

private java.awt.Component saveCompFocus
Component to set focus to.


HALF

private static final double HALF
The number one half.

See Also:
Constant Field Values

iAccept

private static final int iAccept
Accept Button verifies data and processes Substructure data.

See Also:
Constant Field Values

iHelp

private static final int iHelp
Help Button displays information on this window.

See Also:
Constant Field Values

iClear

private static final int iClear
Clear Button clears data entry fields.

See Also:
Constant Field Values

iCancel

private static final int iCancel
Cancel Button exits this screen and discards any data entered.

See Also:
Constant Field Values

iExit

private static final int iExit
Exit Button exits the entire program.
To exit just this screen, see Accept or Cancel.

See Also:
iAccept, iCancel, Constant Field Values

buttonLabels

private static final java.lang.String[] buttonLabels
Labels to display on action buttons.


nButtons

private static final int nButtons
Number of action buttons.


buttons

private java.awt.Button[] buttons
Action buttons.


scrollFrame

private java.awt.ScrollPane scrollFrame
The scrolling frame in which the data is displayed.


panelFrame

private java.awt.Panel panelFrame
The Panel that contains the data to be displayed within a scrolling frame.


myMadapter

private GuiIcanDataSubsliceTable.Madapter myMadapter
Mouse Adapter to handle mouse entering the window for the first time and right clicks.

Constructor Detail

GuiIcanDataSubsliceTable

public GuiIcanDataSubsliceTable(GuiIcanDataSubslice that,
                                java.lang.String[] descr,
                                int iPly,
                                int iPS,
                                java.lang.String[] materialCode,
                                double[] k,
                                double[] ksl,
                                double[] d,
                                double[] dsl,
                                double plyThickness,
                                int fiberOrParticle,
                                java.lang.String sID,
                                double boxLo,
                                double sliceLo,
                                double sliceHi,
                                int[] nSubslices,
                                java.lang.String[] subDefect)
Constructor creates windows to display text entry fields, buttons, and table of subslices.

Parameters:
that - Instance of caller: GuiIcanDataSliceTable.
descr - The title and description and which portion of the ICAN/JAVA run.
iPly - Subscript of Ply range data.
iPS - 0 for Primary, 1 for Secondary.
materialCode - Material code for fiber or particle, interphase, matrix or binder.
k - Original Volume ratio for Fiber or particle, Interphase, Matrix or binder.
ksl - Slice Volume ratio for Fiber or particle, Interphase, Matrix or binder.
d - Original Array of diameter/distances.
dsl - Slice Array of diameter/distances.
plyThickness - Thickness of this Ply.
fiberOrParticle - See MaterialDataBank.MaterialProperty.PROPERTY_TYPE_FIBER or MaterialDataBank.MaterialProperty.PROPERTY_TYPE_PARTICLE to determine whether 2-D or 3-D analysis is required.
sID - Slice ID.
boxLo - Location of bottom edge of box containing the fiber or particle.
sliceLo - Location of bottom of slice.
sliceHi - Location of top of slice.
nSubslices - Array containing number of subslices of each type (F/P, I, or M/B) to initialize the class for.
subDefect - Array of ID's at which defect was set.
See Also:
MaterialProperty.PROPERTY_TYPE_FIBER, MaterialProperty.PROPERTY_TYPE_PARTICLE
Method Detail

initMe

protected void initMe()

addIcanDataUser

private boolean addIcanDataUser()
Add a set of Subslice input data for each subslice. nX x nY.

Returns:
True, if no error; false, if error.

isDefect

public boolean isDefect(java.lang.String subID)
Is there a defect at this slot?

Parameters:
subID - Subslice ID in the form ply:box:slice::Nx:Ny.
Returns:
True, if defect found; otherwise, false.

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Detect Action Events and process accordingly

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
evt - Action event.

acceptSlicing

public boolean acceptSlicing()
Check for valid combination of Defect.

Returns:
True, if it passes the tests; false, if there is an error.

saveDefect

public void saveDefect()
Save defect data for subslices.


helpMe

public void helpMe()
Display help message.


helpMe

public void helpMe(java.awt.Component target)
Display help message for a specified component.

Parameters:
target - Component for which help is desired.

remove

public void remove()
Remove buttons and labels to destroy window.


windowActivated

public void windowActivated(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowActivated in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowDeactivated in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowIconified

public void windowIconified(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowIconified in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowDeiconified in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowOpened

public void windowOpened(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowOpened in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowClosed

public void windowClosed(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowClosed in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowClosing

public void windowClosing(java.awt.event.WindowEvent evt)
Checks to make sure you want to exit

Specified by:
windowClosing in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

keyTyped

public void keyTyped(java.awt.event.KeyEvent evt)
Does Nothing

Specified by:
keyTyped in interface java.awt.event.KeyListener
Parameters:
evt - Key event.

keyPressed

public void keyPressed(java.awt.event.KeyEvent evt)
Makes sure that keys are not processed twice.

Specified by:
keyPressed in interface java.awt.event.KeyListener
Parameters:
evt - Key event.

keyReleased

public void keyReleased(java.awt.event.KeyEvent evt)
Detects when the following keys are released Tab, up arrow, down arrow, enter, shift+tab, alt+right, alt+left, F1

Specified by:
keyReleased in interface java.awt.event.KeyListener
Parameters:
evt - Key event.

doArrow

public void doArrow(int key)
Process arrow key to move focus.

Parameters:
key - Arrow key entered.

focusGained

public void focusGained(java.awt.event.FocusEvent evt)
Does Nothing

Specified by:
focusGained in interface java.awt.event.FocusListener
Parameters:
evt - Focus event.

focusLost

public void focusLost(java.awt.event.FocusEvent evt)
Does Nothing

Specified by:
focusLost in interface java.awt.event.FocusListener
Parameters:
evt - Focus event.

presetData

public void presetData()
Set title and other ICAN/JAVA data. If ICAN/JAVA data initialized, use it to initialize the Substructure inputs.


setCompFocus

public void setCompFocus()
Set focus to some component. Normally used when entering this screen after show().


setCompFocus

public void setCompFocus(java.awt.Component cFocus)
Set focus in current class/frame.

Parameters:
cFocus - Component to save to reset later.

getName

public java.lang.String getName()
Get class name.

Overrides:
getName in class java.awt.Component
Returns:
Class name.