Package gov.nih.mipav.view
Class ViewJFrameHistoRGB
- java.lang.Object
- 
- java.awt.Component
- 
- java.awt.Container
- 
- java.awt.Window
- 
- java.awt.Frame
- 
- javax.swing.JFrame
- 
- gov.nih.mipav.view.ViewJFrameBase
- 
- gov.nih.mipav.view.ViewJFrameHistoRGB
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- HistoLUTParent,- ViewImageUpdateInterface,- java.awt.event.ActionListener,- java.awt.event.ComponentListener,- java.awt.event.ItemListener,- java.awt.event.KeyListener,- java.awt.event.MouseListener,- java.awt.event.MouseMotionListener,- java.awt.event.WindowListener,- java.awt.image.ImageObserver,- java.awt.MenuContainer,- java.io.Serializable,- java.util.EventListener,- javax.accessibility.Accessible,- javax.swing.event.ChangeListener,- javax.swing.RootPaneContainer,- javax.swing.WindowConstants
 
 public class ViewJFrameHistoRGB extends ViewJFrameBase implements java.awt.event.ItemListener, java.awt.event.ActionListener, java.awt.event.KeyListener, java.awt.event.WindowListener, javax.swing.event.ChangeListener, ViewImageUpdateInterface, java.awt.event.MouseMotionListener, java.awt.event.MouseListener, HistoLUTParent Deprecated.This class produces a frame where the histogram of the image data is displayed using the color mapping. All frames using the color map are dynamically updated with the new color map.- Version:
- 1.0
- Author:
- Matthew J. McAuliffe, Ph.D. (primary), Harman Singh
- See Also:
- ViewJComponentHistoRGB,- JFrameHistogram, Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class javax.swing.JFramejavax.swing.JFrame.AccessibleJFrame
 - 
Nested classes/interfaces inherited from class java.awt.Windowjava.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
 
- 
 - 
Field SummaryFields Modifier and Type Field Description private javax.swing.JToggleButtonallRGBButtonDeprecated.DOCUMENT ME!private javax.swing.JCheckBoxblueCheckBoxADeprecated.DOCUMENT ME!private javax.swing.JCheckBoxblueCheckBoxBDeprecated.DOCUMENT ME!private javax.swing.JToggleButtonblueRGBButtonDeprecated.DOCUMENT ME!private booleancalcThresholdVolumeDeprecated.DOCUMENT ME!private booleanentireFlagDeprecated.DOCUMENT ME!private float[]fillValuesADeprecated.DOCUMENT ME!private float[]fillValuesBDeprecated.DOCUMENT ME!private javax.swing.JCheckBoxgreenCheckBoxADeprecated.DOCUMENT ME!private javax.swing.JCheckBoxgreenCheckBoxBDeprecated.DOCUMENT ME!private javax.swing.JToggleButtongreenRGBButtonDeprecated.DOCUMENT ME!private ModelHistogramhistogramABlueDeprecated.DOCUMENT ME!private ModelHistogramhistogramAGreenDeprecated.DOCUMENT ME!private ModelHistogramhistogramARedDeprecated.DOCUMENT ME!private ModelHistogramhistogramBBlueDeprecated.DOCUMENT ME!private ModelHistogramhistogramBGreenDeprecated.DOCUMENT ME!private ModelHistogramhistogramBRedDeprecated.DOCUMENT ME!private ViewJPanelHistoLUThistoPanelADeprecated.DOCUMENT ME!private ViewJPanelHistoLUThistoPanelBDeprecated.DOCUMENT ME!private javax.swing.JCheckBoxlogCheckBoxADeprecated.DOCUMENT ME!private javax.swing.JCheckBoxlogCheckBoxBDeprecated.DOCUMENT ME!private javax.swing.JCheckBoxlutAdjustCheckboxBDeprecated.DOCUMENT MEprivate ViewMenuBuildermenuObjDeprecated.DOCUMENT ME!private javax.swing.JPanelpanelADeprecated.DOCUMENT ME!private javax.swing.JPanelpanelBDeprecated.DOCUMENT ME!private javax.swing.JCheckBoxredCheckBoxADeprecated.DOCUMENT ME!private javax.swing.JCheckBoxredCheckBoxBDeprecated.DOCUMENT ME!private javax.swing.JToggleButtonredRGBButtonDeprecated.DOCUMENT ME!private ViewJComponentRegistrationregComponentDeprecated.DOCUMENT ME!private int[]RGBExtentsDeprecated.DOCUMENT ME!private ModelRGBRGBTADeprecated.DOCUMENT ME!private ModelRGBRGBTBDeprecated.DOCUMENT ME!private static longserialVersionUIDDeprecated.Use serialVersionUID for interoperability.private javax.swing.JTabbedPanetabbedPaneDeprecated.DOCUMENT ME!private javax.swing.JTextFieldthreshFillBFDeprecated.DOCUMENT ME!private javax.swing.JTextFieldthreshFillFDeprecated.threshold related.private javax.swing.JTextFieldthreshLowerBFDeprecated.DOCUMENT ME!private javax.swing.JTextFieldthreshLowerFDeprecated.threshold related.private javax.swing.JTextFieldthreshUpperBFDeprecated.DOCUMENT ME!private javax.swing.JTextFieldthreshUpperFDeprecated.threshold related.private javax.swing.JToolBartoolBarDeprecated.DOCUMENT ME!private ViewToolBarBuildertoolBarObjDeprecated.Object which generates the toolbar.private javax.swing.JCheckBoxupdateCheckBoxADeprecated.DOCUMENT ME!private javax.swing.JCheckBoxupdateCheckBoxBDeprecated.DOCUMENT ME!private boolean[]useThresholdChannelADeprecated.DOCUMENT ME!private boolean[]useThresholdChannelBDeprecated.DOCUMENT ME!private javax.swing.JLabelvoxelVolumeLabelDeprecated.DOCUMENT ME!private javax.swing.JLabelvoxelVolumeLabelBDeprecated.DOCUMENT ME!- 
Fields inherited from class gov.nih.mipav.view.ViewJFrameBaseabsoluteGoToButton, absoluteGoToPanel, absoluteLabel, absoluteLabelVals, absolutePanel, absoluteXLabel, absoluteXTextField, absoluteYLabel, absoluteYTextField, absoluteZLabel, absoluteZTextField, alphaBlend, defaultLUTa, defaultLUTb, displayMode, IMAGE_A, IMAGE_A_B, IMAGE_B, imageA, imageB, isClosing, linkedScrolling, linkFrame, linkTriFrame, LUTa, LUTb, progressBar, scannerLPS_APLabel, scannerLPS_APTextField, scannerLPS_GoToButton, scannerLPS_GoToPanel, scannerLPS_ISLabel, scannerLPS_ISTextField, scannerLPS_RLLabel, scannerLPS_RLTextField, scannerLPSLabel, scannerLPSLabelVals, scannerLPSPanel, scannerRAS_APLabel, scannerRAS_APTextField, scannerRAS_GoToButton, scannerRAS_GoToPanel, scannerRAS_ISLabel, scannerRAS_ISTextField, scannerRAS_RLLabel, scannerRAS_RLTextField, scannerRASLabel, scannerRASLabelVals, scannerRASPanel, scannerTabbedPane, talGoToButton, talGoToPanel, talXLabel, talXTextField, talYLabel, talYTextField, talZLabel, talZTextField, userInterface, zoomMode
 - 
Fields inherited from class java.awt.FrameCROSSHAIR_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.ComponentBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
- 
 - 
Constructor SummaryConstructors Constructor Description ViewJFrameHistoRGB(ModelImage _imageA, ModelImage _imageB, ModelRGB _RGBTA, ModelRGB _RGBTB, boolean _entireFlag)Deprecated.ViewJFrameHistoRGB(ViewJComponentRegistration _regComponent, ModelImage _imageA, ModelImage _imageB, ModelRGB _RGBTA, ModelRGB _RGBTB, boolean _entireFlag)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent event)Deprecated.Calls various methods depending on the action.private voidbuildMenu()Deprecated.This method builds a menu which contains the options for opening/saving a LUT or set of transfer functions, closing the LUT, and utilities such as CT presets.private voidbuildPanelA(ModelImage image, boolean entireFlag)Deprecated.Method that displays the histogram and LUT and other controls to manipulate the LUT.private voidbuildPanelB(ModelImage image, boolean entireFlag)Deprecated.Method that displays the histogram and LUT and other controls to manipulate the LUT.private voidcalcHistogram(int imageAorB, boolean entireFlag, boolean progressFlag)Deprecated.Calculates histogram for the image(s).private floatcalcThresholdVolume(float lower, float upper)Deprecated.DOCUMENT ME!private voidclearVoxelLabel()Deprecated.Clears (blanks out) the threshold voxel information (when RGB mode or not thresholding).voiddispose()Deprecated.Disposes of components and frame.voiddragPoint(java.awt.event.MouseEvent mouseEvent)Deprecated.Placeholder.ViewControlsImagegetControls()Deprecated.Gets the control widgets for the frame.ViewJComponentHistoRGBgetHistoLUTComponentA()Deprecated.Get the histogram component for imageA.ViewJComponentHistoRGBgetHistoLUTComponentB()Deprecated.Get the histogram component for imageB.ModelImagegetImageA()Deprecated.Accessor that returns the imageA.ModelImagegetImageB()Deprecated.Accessor that returns the imageB.booleanisImageASelected()Deprecated.Returns whether the imageA LUT panel is the one being worked on.booleanisImageBSelected()Deprecated.Returns whether the imageB LUT panel is the one being worked on.booleanisImageUpdate()Deprecated.Indicates if real-time update of the image should take place.voiditemStateChanged(java.awt.event.ItemEvent event)Deprecated.Sets the flags for the checkboxes.voidkeyPressed(java.awt.event.KeyEvent e)Deprecated.Unchanged.voidkeyReleased(java.awt.event.KeyEvent e)Deprecated.Unchanged.voidkeyTyped(java.awt.event.KeyEvent e)Deprecated.If the ENTER key is hit while in threshold boxes, update the LUT's threshold (for dual threshold).voidmouseClicked(java.awt.event.MouseEvent mouseEvent)Deprecated.Unchanged.voidmouseDragged(java.awt.event.MouseEvent mouseEvent)Deprecated.Unchanged.voidmouseEntered(java.awt.event.MouseEvent mouseEvent)Deprecated.Unchanged.voidmouseExited(java.awt.event.MouseEvent mouseEvent)Deprecated.Unchanged.voidmouseMoved(java.awt.event.MouseEvent mouseEvent)Deprecated.Unchanged.voidmousePressed(java.awt.event.MouseEvent event)Deprecated.Unchanged.voidmouseReleased(java.awt.event.MouseEvent mouseEvent)Deprecated.Unchanged.voidnotifyOfUpdate(ModelLUT LUT, int imageAorB)Deprecated.Enable button to indicate image has changed and the histogram should be recalculated.voidremoveControls()Deprecated.Removes the menu and controls of the main frame so that a new frame can load the main frame with the proper controls.Abstract and must be extended.voidremoveHistoRGBb()Deprecated.Removes the tabbed pane for the histogram of image B.private voidresetThresholdChannels()Deprecated.resets boolean for threshold channels.voidsetActiveImage(int active)Deprecated.Sets the active image for drawing VOIs.voidsetAllOff()Deprecated.Accessor to disable the all RGB color channels button if one of the lines has moved.voidsetAlphaBlend(int value)Deprecated.Sets the alpha blending of parameter for two image displaying.voidsetControls()Deprecated.Sets the menu and controls (i.e. toolbars) of the main frame!voidsetEnabled(boolean flag)Deprecated.Controls whether or not the images/VOIs of the frame can be modified.voidsetImageB(ModelImage image)Deprecated.Accessor that sets the imageB.voidsetLUT(ModelLUT newLUT)Deprecated.Placeholder.voidsetPaintBitmapSwitch(boolean flag)Deprecated.DOCUMENT ME!voidsetRangeText(float x, float y, int _index)Deprecated.Placeholder.voidsetRGBTA(ModelRGB RGBT)Deprecated.The following 2 functions set the RGB tables for images A and B.voidsetRGBTB(ModelRGB RGBT)Deprecated.DOCUMENT ME!voidsetSlice(int slice)Deprecated.Does nothing in this class.voidsetTimeSlice(int tSlice)Deprecated.Does nothing in this class.voidsetTitle()Deprecated.setTitle.voidstateChanged(javax.swing.event.ChangeEvent e)Deprecated.Resets the buttons depending on which tab was selected.protected booleantestParameter(java.lang.String str, double minValue, double maxValue)Deprecated.Tests that the entered parameter is in range.voidupdate()Deprecated.Redisplay histoLUT.voidupdateComponentLUT()Deprecated.Placeholder.voidupdateFrames(boolean flag)Deprecated.Update all of the image frames that display the image this histo lut is for.voidupdateHistoRGB(ModelImage _imageA, ModelImage _imageB, boolean progressFlag)Deprecated.This method is called to update the histogram(s) displayed in each tabbed pane of the frame.booleanupdateImageExtents()Deprecated.This methods calls the componentImage's REPAINT method to redraw the screen.booleanupdateImages()Deprecated.This methods calls the componentImage's REPAINT method to redraw the screen.booleanupdateImages(boolean flag)Deprecated.This methods calls the componentImage's update method to redraw the screen.booleanupdateImages(ModelLUT LUTa, ModelLUT LUTb, boolean flag, int interpMode)Deprecated.This methods calls the componentImage's update method to redraw the screen.voidupdateLUTPositionString(java.lang.String str)Deprecated.Placeholder.voidupdateThresholdFields(float lower, float upper)Deprecated.Method to update the threshold text fields when the lower or upper threshold changes.voidwindowActivated(java.awt.event.WindowEvent event)Deprecated.Unchanged.voidwindowClosed(java.awt.event.WindowEvent event)Deprecated.Unchanged.voidwindowClosing(java.awt.event.WindowEvent event)Deprecated.Calls close.voidwindowDeactivated(java.awt.event.WindowEvent event)Deprecated.Unchanged.voidwindowDeiconified(java.awt.event.WindowEvent event)Deprecated.Unchanged.voidwindowIconified(java.awt.event.WindowEvent event)Deprecated.Unchanged.voidwindowOpened(java.awt.event.WindowEvent event)Deprecated.Unchanged.- 
Methods inherited from class gov.nih.mipav.view.ViewJFrameBaseabout, buildLabelPanel, canCloseImageBAfterLoad, close, close, closeImageB, componentHidden, componentMoved, componentResized, componentShown, finalize, getAlphaBlend, getDefaultLUTa, getDefaultLUTb, getDisplayMode, getImageNameA, getImageNameB, getLastState, getLUTa, getLUTb, getRGBTA, getRGBTB, getTriImg, getUserInterface, handleMaskPopupMenu, handlePaintToMaskPopupMenu, handleZoomPopupMenu, initExtents, initImageBuffer, initLUT, initNumSlices, initPixelBuffer, initResFactor, initResolutions, initRGB, initSlicePositions, initUnits, initZoom, loadAllVOIs, loadAllVOIsFrom, loadImage, loadLUT, loadLUTandTransferFunctionFrom, loadLUTandTransferFunctionFrom, makeString, newFrameBeenCreated, openVOI, openVOI, pickImageFile, save, save, save, saveAllVOIs, saveAllVOIsTo, saveLabels, saveLUT, saveLUTandTransferFunction, saveLUTandTransferFunction, saveLUTAs, saveLUTAs, saveVOI, saveVOIAs, saveVOIAs, saveVOIIntensities, saveVOIIntensitiesTo, setAbsPositionLabels, setEnableCloseImageBAfterLoad, setImageA, setLastState, setLinkedFrame, setLinkedTriFrame, setLUTa, setLUTb, setLUTs, setMessageText, setOpacityInfo, setpaintBitmap, setScannerPosition
 - 
Methods inherited from class javax.swing.JFrameaddImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 - 
Methods inherited from class java.awt.FrameaddNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
 - 
Methods inherited from class java.awt.WindowaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
 - 
Methods inherited from class java.awt.Containeradd, add, add, add, add, addContainerListener, 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, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
 - 
Methods inherited from class java.awt.Componentaction, 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, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, 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, 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, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
- 
 
- 
- 
- 
Field Detail- 
serialVersionUIDprivate static final long serialVersionUID Deprecated.Use serialVersionUID for interoperability.- See Also:
- Constant Field Values
 
 - 
blueCheckBoxAprivate javax.swing.JCheckBox blueCheckBoxA Deprecated.DOCUMENT ME!
 - 
blueCheckBoxBprivate javax.swing.JCheckBox blueCheckBoxB Deprecated.DOCUMENT ME!
 - 
calcThresholdVolumeprivate boolean calcThresholdVolume Deprecated.DOCUMENT ME!
 - 
entireFlagprivate boolean entireFlag Deprecated.DOCUMENT ME!
 - 
fillValuesAprivate float[] fillValuesA Deprecated.DOCUMENT ME!
 - 
fillValuesBprivate float[] fillValuesB Deprecated.DOCUMENT ME!
 - 
greenCheckBoxAprivate javax.swing.JCheckBox greenCheckBoxA Deprecated.DOCUMENT ME!
 - 
greenCheckBoxBprivate javax.swing.JCheckBox greenCheckBoxB Deprecated.DOCUMENT ME!
 - 
histogramABlueprivate ModelHistogram histogramABlue Deprecated.DOCUMENT ME!
 - 
histogramAGreenprivate ModelHistogram histogramAGreen Deprecated.DOCUMENT ME!
 - 
histogramARedprivate ModelHistogram histogramARed Deprecated.DOCUMENT ME!
 - 
histogramBBlueprivate ModelHistogram histogramBBlue Deprecated.DOCUMENT ME!
 - 
histogramBGreenprivate ModelHistogram histogramBGreen Deprecated.DOCUMENT ME!
 - 
histogramBRedprivate ModelHistogram histogramBRed Deprecated.DOCUMENT ME!
 - 
histoPanelAprivate ViewJPanelHistoLUT histoPanelA Deprecated.DOCUMENT ME!
 - 
histoPanelBprivate ViewJPanelHistoLUT histoPanelB Deprecated.DOCUMENT ME!
 - 
logCheckBoxAprivate javax.swing.JCheckBox logCheckBoxA Deprecated.DOCUMENT ME!
 - 
logCheckBoxBprivate javax.swing.JCheckBox logCheckBoxB Deprecated.DOCUMENT ME!
 - 
menuObjprivate ViewMenuBuilder menuObj Deprecated.DOCUMENT ME!
 - 
panelAprivate javax.swing.JPanel panelA Deprecated.DOCUMENT ME!
 - 
panelBprivate javax.swing.JPanel panelB Deprecated.DOCUMENT ME!
 - 
redCheckBoxAprivate javax.swing.JCheckBox redCheckBoxA Deprecated.DOCUMENT ME!
 - 
redCheckBoxBprivate javax.swing.JCheckBox redCheckBoxB Deprecated.DOCUMENT ME!
 - 
redRGBButtonprivate javax.swing.JToggleButton redRGBButton Deprecated.DOCUMENT ME!
 - 
blueRGBButtonprivate javax.swing.JToggleButton blueRGBButton Deprecated.DOCUMENT ME!
 - 
greenRGBButtonprivate javax.swing.JToggleButton greenRGBButton Deprecated.DOCUMENT ME!
 - 
allRGBButtonprivate javax.swing.JToggleButton allRGBButton Deprecated.DOCUMENT ME!
 - 
regComponentprivate ViewJComponentRegistration regComponent Deprecated.DOCUMENT ME!
 - 
RGBExtentsprivate int[] RGBExtents Deprecated.DOCUMENT ME!
 - 
RGBTAprivate ModelRGB RGBTA Deprecated.DOCUMENT ME!
 - 
RGBTBprivate ModelRGB RGBTB Deprecated.DOCUMENT ME!
 - 
tabbedPaneprivate javax.swing.JTabbedPane tabbedPane Deprecated.DOCUMENT ME!
 - 
threshLowerBFprivate javax.swing.JTextField threshLowerBF Deprecated.DOCUMENT ME!
 - 
threshUpperBFprivate javax.swing.JTextField threshUpperBF Deprecated.DOCUMENT ME!
 - 
threshFillBFprivate javax.swing.JTextField threshFillBF Deprecated.DOCUMENT ME!
 - 
threshLowerFprivate javax.swing.JTextField threshLowerF Deprecated.threshold related.
 - 
threshUpperFprivate javax.swing.JTextField threshUpperF Deprecated.threshold related.
 - 
threshFillFprivate javax.swing.JTextField threshFillF Deprecated.threshold related.
 - 
toolBarprivate javax.swing.JToolBar toolBar Deprecated.DOCUMENT ME!
 - 
toolBarObjprivate ViewToolBarBuilder toolBarObj Deprecated.Object which generates the toolbar.
 - 
updateCheckBoxAprivate javax.swing.JCheckBox updateCheckBoxA Deprecated.DOCUMENT ME!
 - 
updateCheckBoxBprivate javax.swing.JCheckBox updateCheckBoxB Deprecated.DOCUMENT ME!
 - 
useThresholdChannelAprivate boolean[] useThresholdChannelA Deprecated.DOCUMENT ME!
 - 
useThresholdChannelBprivate boolean[] useThresholdChannelB Deprecated.DOCUMENT ME!
 - 
voxelVolumeLabelprivate javax.swing.JLabel voxelVolumeLabel Deprecated.DOCUMENT ME!
 - 
voxelVolumeLabelBprivate javax.swing.JLabel voxelVolumeLabelB Deprecated.DOCUMENT ME!
 - 
lutAdjustCheckboxBprivate javax.swing.JCheckBox lutAdjustCheckboxB Deprecated.DOCUMENT ME
 
- 
 - 
Constructor Detail- 
ViewJFrameHistoRGBpublic ViewJFrameHistoRGB(ModelImage _imageA, ModelImage _imageB, ModelRGB _RGBTA, ModelRGB _RGBTB, boolean _entireFlag) Deprecated.Makes a frame of the histogram.- Parameters:
- _imageA- Model of imageA
- _imageB- Model of imageB
- _RGBTA- Model RGB
- _RGBTB- Model RGB
- _entireFlag- Flag indicating if histogram should be done on all of image.
 
 - 
ViewJFrameHistoRGBpublic ViewJFrameHistoRGB(ViewJComponentRegistration _regComponent, ModelImage _imageA, ModelImage _imageB, ModelRGB _RGBTA, ModelRGB _RGBTB, boolean _entireFlag) Deprecated.Makes a frame of the histogram.- Parameters:
- _regComponent- component to pass parameters to in manual registration
- _imageA- Model of imageA
- _imageB- Model of imageB
- _RGBTA- Model RGB
- _RGBTB- Model RGB
- _entireFlag- DOCUMENT ME!
 
 
- 
 - 
Method Detail- 
actionPerformedpublic void actionPerformed(java.awt.event.ActionEvent event) Deprecated.Calls various methods depending on the action.- Specified by:
- actionPerformedin interface- java.awt.event.ActionListener
- Specified by:
- actionPerformedin class- ViewJFrameBase
- Parameters:
- event- event that triggered function
 
 - 
disposepublic void dispose() Deprecated.Disposes of components and frame.- Overrides:
- disposein class- java.awt.Window
 
 - 
dragPointpublic void dragPoint(java.awt.event.MouseEvent mouseEvent) Deprecated.Placeholder.- Specified by:
- dragPointin interface- HistoLUTParent
- Parameters:
- mouseEvent- drag event
 
 - 
getControlspublic ViewControlsImage getControls() Deprecated.Gets the control widgets for the frame.- Specified by:
- getControlsin class- ViewJFrameBase
- Returns:
- DOCUMENT ME!
 
 - 
getHistoLUTComponentApublic final ViewJComponentHistoRGB getHistoLUTComponentA() Deprecated.Get the histogram component for imageA.- Returns:
- the imageA histogram component
 
 - 
getHistoLUTComponentBpublic final ViewJComponentHistoRGB getHistoLUTComponentB() Deprecated.Get the histogram component for imageB.- Returns:
- the imageB histogram component
 
 - 
getImageApublic ModelImage getImageA() Deprecated.Accessor that returns the imageA.- Specified by:
- getImageAin class- ViewJFrameBase
- Returns:
- image
 
 - 
getImageBpublic ModelImage getImageB() Deprecated.Accessor that returns the imageB.- Specified by:
- getImageBin class- ViewJFrameBase
- Returns:
- imageB
 
 - 
isImageASelectedpublic boolean isImageASelected() Deprecated.Returns whether the imageA LUT panel is the one being worked on.- Returns:
- whether the imageA LUT panel is the one being worked on
 
 - 
isImageBSelectedpublic boolean isImageBSelected() Deprecated.Returns whether the imageB LUT panel is the one being worked on.- Returns:
- whether the imageB LUT panel is the one being worked on
 
 - 
isImageUpdatepublic boolean isImageUpdate() Deprecated.Indicates if real-time update of the image should take place.- Specified by:
- isImageUpdatein interface- HistoLUTParent
- Returns:
- trueif real time update should take place
 
 - 
itemStateChangedpublic void itemStateChanged(java.awt.event.ItemEvent event) Deprecated.Sets the flags for the checkboxes.- Specified by:
- itemStateChangedin interface- java.awt.event.ItemListener
- Parameters:
- event- event that triggered this function
 
 - 
keyPressedpublic void keyPressed(java.awt.event.KeyEvent e) Deprecated.Unchanged.- Specified by:
- keyPressedin interface- java.awt.event.KeyListener
- Parameters:
- e- DOCUMENT ME!
 
 - 
keyReleasedpublic void keyReleased(java.awt.event.KeyEvent e) Deprecated.Unchanged.- Specified by:
- keyReleasedin interface- java.awt.event.KeyListener
- Parameters:
- e- DOCUMENT ME!
 
 - 
keyTypedpublic void keyTyped(java.awt.event.KeyEvent e) Deprecated.If the ENTER key is hit while in threshold boxes, update the LUT's threshold (for dual threshold).- Specified by:
- keyTypedin interface- java.awt.event.KeyListener
- Parameters:
- e- KeyEvent
 
 - 
mouseClickedpublic void mouseClicked(java.awt.event.MouseEvent mouseEvent) Deprecated.Unchanged.- Specified by:
- mouseClickedin interface- java.awt.event.MouseListener
- Parameters:
- mouseEvent- DOCUMENT ME!
 
 - 
mouseDraggedpublic void mouseDragged(java.awt.event.MouseEvent mouseEvent) Deprecated.Unchanged.- Specified by:
- mouseDraggedin interface- java.awt.event.MouseMotionListener
- Parameters:
- mouseEvent- DOCUMENT ME!
 
 - 
mouseEnteredpublic void mouseEntered(java.awt.event.MouseEvent mouseEvent) Deprecated.Unchanged.- Specified by:
- mouseEnteredin interface- java.awt.event.MouseListener
- Parameters:
- mouseEvent- DOCUMENT ME!
 
 - 
mouseExitedpublic void mouseExited(java.awt.event.MouseEvent mouseEvent) Deprecated.Unchanged.- Specified by:
- mouseExitedin interface- java.awt.event.MouseListener
- Parameters:
- mouseEvent- DOCUMENT ME!
 
 - 
mouseMovedpublic void mouseMoved(java.awt.event.MouseEvent mouseEvent) Deprecated.Unchanged.- Specified by:
- mouseMovedin interface- java.awt.event.MouseMotionListener
- Parameters:
- mouseEvent- DOCUMENT ME!
 
 - 
mousePressedpublic void mousePressed(java.awt.event.MouseEvent event) Deprecated.Unchanged.- Specified by:
- mousePressedin interface- java.awt.event.MouseListener
- Parameters:
- event- DOCUMENT ME!
 
 - 
mouseReleasedpublic void mouseReleased(java.awt.event.MouseEvent mouseEvent) Deprecated.Unchanged.- Specified by:
- mouseReleasedin interface- java.awt.event.MouseListener
- Parameters:
- mouseEvent- DOCUMENT ME!
 
 - 
notifyOfUpdatepublic void notifyOfUpdate(ModelLUT LUT, int imageAorB) Deprecated.Enable button to indicate image has changed and the histogram should be recalculated.- Parameters:
- LUT- new Lookup table
- imageAorB- indicates which histogram needs to be recalculated
 
 - 
removeControlspublic void removeControls() Deprecated.Removes the menu and controls of the main frame so that a new frame can load the main frame with the proper controls.Abstract and must be extended.- Specified by:
- removeControlsin class- ViewJFrameBase
 
 - 
removeHistoRGBbpublic void removeHistoRGBb() Deprecated.Removes the tabbed pane for the histogram of image B.
 - 
setActiveImagepublic void setActiveImage(int active) Deprecated.Sets the active image for drawing VOIs. VOIs are only drawn in the active image. In addition, algorithms are executed on the active window.- Specified by:
- setActiveImagein class- ViewJFrameBase
- Parameters:
- active- IMAGE_A or IMAGE_B
 
 - 
setAllOffpublic void setAllOff() Deprecated.Accessor to disable the all RGB color channels button if one of the lines has moved.- Specified by:
- setAllOffin interface- HistoLUTParent
 
 - 
setAlphaBlendpublic void setAlphaBlend(int value) Deprecated.Sets the alpha blending of parameter for two image displaying.- Specified by:
- setAlphaBlendin class- ViewJFrameBase
- Parameters:
- value- amount [0,100] that is the percentage of Image A to be displayed and (1-percentage) of Image B to be displayed
 
 - 
setControlspublic void setControls() Deprecated.Sets the menu and controls (i.e. toolbars) of the main frame! This puts only the menus and controls needed to controls the operations of this frame. Different image frames have different menu and controls.- Specified by:
- setControlsin class- ViewJFrameBase
 
 - 
setEnabledpublic void setEnabled(boolean flag) Deprecated.Controls whether or not the images/VOIs of the frame can be modified.- Specified by:
- setEnabledin class- ViewJFrameBase
- Parameters:
- flag- if true the image/VOIs can be modified; if false image/VOIs can NOT be modified
 
 - 
setImageBpublic void setImageB(ModelImage image) Deprecated.Accessor that sets the imageB.- Specified by:
- setImageBin class- ViewJFrameBase
- Parameters:
- image- image to set frame to
 
 - 
setLUTpublic void setLUT(ModelLUT newLUT) Deprecated.Placeholder.- Specified by:
- setLUTin interface- HistoLUTParent
- Parameters:
- newLUT- lut
 
 - 
setPaintBitmapSwitchpublic void setPaintBitmapSwitch(boolean flag) Deprecated.DOCUMENT ME!- Specified by:
- setPaintBitmapSwitchin class- ViewJFrameBase
- Parameters:
- flag- DOCUMENT ME!
 
 - 
setRangeTextpublic void setRangeText(float x, float y, int _index)Deprecated.Placeholder.- Specified by:
- setRangeTextin interface- HistoLUTParent
- Parameters:
- x- x
- y- y
- _index- index
 
 - 
setRGBTApublic void setRGBTA(ModelRGB RGBT) Deprecated.The following 2 functions set the RGB tables for images A and B.- Specified by:
- setRGBTAin class- ViewJFrameBase
- Parameters:
- RGBT- DOCUMENT ME!
 
 - 
setRGBTBpublic void setRGBTB(ModelRGB RGBT) Deprecated.DOCUMENT ME!- Specified by:
- setRGBTBin class- ViewJFrameBase
- Parameters:
- RGBT- DOCUMENT ME!
 
 - 
setSlicepublic void setSlice(int slice) Deprecated.Does nothing in this class.- Specified by:
- setSlicein interface- ViewImageUpdateInterface
- Parameters:
- slice- DOCUMENT ME!
 
 - 
setTimeSlicepublic void setTimeSlice(int tSlice) Deprecated.Does nothing in this class.- Specified by:
- setTimeSlicein interface- ViewImageUpdateInterface
- Parameters:
- tSlice- DOCUMENT ME!
 
 - 
setTitlepublic void setTitle() Deprecated.setTitle.- Specified by:
- setTitlein class- ViewJFrameBase
 
 - 
stateChangedpublic void stateChanged(javax.swing.event.ChangeEvent e) Deprecated.Resets the buttons depending on which tab was selected.- Specified by:
- stateChangedin interface- javax.swing.event.ChangeListener
- Overrides:
- stateChangedin class- ViewJFrameBase
- Parameters:
- e- Event that triggered this function.
 
 - 
updatepublic void update() Deprecated.Redisplay histoLUT.
 - 
updateComponentLUTpublic void updateComponentLUT() Deprecated.Placeholder.- Specified by:
- updateComponentLUTin interface- HistoLUTParent
 
 - 
updateFramespublic void updateFrames(boolean flag) Deprecated.Update all of the image frames that display the image this histo lut is for.- Specified by:
- updateFramesin interface- HistoLUTParent
- Parameters:
- flag- this boolean indicates if the frame that displays the image should re-export the image and apply new LUT
- See Also:
- ModelImage.notifyImageDisplayListeners()
 
 - 
updateHistoRGBpublic void updateHistoRGB(ModelImage _imageA, ModelImage _imageB, boolean progressFlag) Deprecated.This method is called to update the histogram(s) displayed in each tabbed pane of the frame.- Parameters:
- _imageA- image A
- _imageB- image B
- progressFlag- passed to calculateHistogram algorithm. If false progress bar is not displayed.
 
 - 
updateImageExtentspublic boolean updateImageExtents() Deprecated.This methods calls the componentImage's REPAINT method to redraw the screen. The extents on this image have changed, so the extents need to be read in again and menus, panes and slide bars adjusted accordingly.- Specified by:
- updateImageExtentsin interface- ViewImageUpdateInterface
- Specified by:
- updateImageExtentsin class- ViewJFrameBase
- Returns:
- DOCUMENT ME!
- See Also:
- ViewImageUpdateInterface
 
 - 
updateImagespublic boolean updateImages() Deprecated.This methods calls the componentImage's REPAINT method to redraw the screen. Without LUT changes or image changes- Specified by:
- updateImagesin interface- ViewImageUpdateInterface
- Returns:
- DOCUMENT ME!
 
 - 
updateImagespublic boolean updateImages(boolean flag) Deprecated.This methods calls the componentImage's update method to redraw the screen. Without LUT changes. Does nothing in this class.- Specified by:
- updateImagesin interface- ViewImageUpdateInterface
- Parameters:
- flag- forces show to re import image and calc. java image
- Returns:
- boolean confirming successful update
 
 - 
updateImagespublic boolean updateImages(ModelLUT LUTa, ModelLUT LUTb, boolean flag, int interpMode) Deprecated.This methods calls the componentImage's update method to redraw the screen. Does nothing in this class.- Specified by:
- updateImagesin interface- ViewImageUpdateInterface
- Parameters:
- LUTa- LUT used to update imageA
- LUTb- LUT used to update imageB
- flag- forces show to re import image and calc. java image
- interpMode- image interpolation method (Nearest or Smooth)
- Returns:
- boolean confirming a successful update
 
 - 
updateLUTPositionStringpublic void updateLUTPositionString(java.lang.String str) Deprecated.Placeholder.- Specified by:
- updateLUTPositionStringin interface- HistoLUTParent
- Parameters:
- str- string
 
 - 
updateThresholdFieldspublic void updateThresholdFields(float lower, float upper)Deprecated.Method to update the threshold text fields when the lower or upper threshold changes.- Specified by:
- updateThresholdFieldsin interface- HistoLUTParent
- Parameters:
- lower- the lower threshold value
- upper- the upper threshold value
 
 - 
windowActivatedpublic void windowActivated(java.awt.event.WindowEvent event) Deprecated.Unchanged.- Specified by:
- windowActivatedin interface- java.awt.event.WindowListener
- Overrides:
- windowActivatedin class- ViewJFrameBase
- Parameters:
- event- DOCUMENT ME!
 
 - 
windowClosedpublic void windowClosed(java.awt.event.WindowEvent event) Deprecated.Unchanged.- Specified by:
- windowClosedin interface- java.awt.event.WindowListener
- Overrides:
- windowClosedin class- ViewJFrameBase
- Parameters:
- event- DOCUMENT ME!
 
 - 
windowClosingpublic void windowClosing(java.awt.event.WindowEvent event) Deprecated.Calls close.- Specified by:
- windowClosingin interface- java.awt.event.WindowListener
- Overrides:
- windowClosingin class- ViewJFrameBase
- Parameters:
- event- event that triggered function
 
 - 
windowDeactivatedpublic void windowDeactivated(java.awt.event.WindowEvent event) Deprecated.Unchanged.- Specified by:
- windowDeactivatedin interface- java.awt.event.WindowListener
- Overrides:
- windowDeactivatedin class- ViewJFrameBase
- Parameters:
- event- DOCUMENT ME!
 
 - 
windowDeiconifiedpublic void windowDeiconified(java.awt.event.WindowEvent event) Deprecated.Unchanged.- Specified by:
- windowDeiconifiedin interface- java.awt.event.WindowListener
- Overrides:
- windowDeiconifiedin class- ViewJFrameBase
- Parameters:
- event- DOCUMENT ME!
 
 - 
windowIconifiedpublic void windowIconified(java.awt.event.WindowEvent event) Deprecated.Unchanged.- Specified by:
- windowIconifiedin interface- java.awt.event.WindowListener
- Overrides:
- windowIconifiedin class- ViewJFrameBase
- Parameters:
- event- DOCUMENT ME!
 
 - 
windowOpenedpublic void windowOpened(java.awt.event.WindowEvent event) Deprecated.Unchanged.- Specified by:
- windowOpenedin interface- java.awt.event.WindowListener
- Overrides:
- windowOpenedin class- ViewJFrameBase
- Parameters:
- event- DOCUMENT ME!
 
 - 
testParameterprotected boolean testParameter(java.lang.String str, double minValue, double maxValue)Deprecated.Tests that the entered parameter is in range.- Parameters:
- str- the value entered by the user
- minValue- the minimum value this variable may be set to
- maxValue- the maximum value this variable may be set to
- Returns:
- boolean result of test
 
 - 
buildMenuprivate void buildMenu() Deprecated.This method builds a menu which contains the options for opening/saving a LUT or set of transfer functions, closing the LUT, and utilities such as CT presets.
 - 
buildPanelAprivate void buildPanelA(ModelImage image, boolean entireFlag) Deprecated.Method that displays the histogram and LUT and other controls to manipulate the LUT. Panel for image A.- Parameters:
- image- Model of image
- entireFlag- Flag indicating if histogram should be made of entire image.
 
 - 
buildPanelBprivate void buildPanelB(ModelImage image, boolean entireFlag) Deprecated.Method that displays the histogram and LUT and other controls to manipulate the LUT. Panel for image B.- Parameters:
- image- Model of image
- entireFlag- Flag indicating if histogram should be made of entire image.
 
 - 
calcHistogramprivate void calcHistogram(int imageAorB, boolean entireFlag, boolean progressFlag)Deprecated.Calculates histogram for the image(s).- Parameters:
- imageAorB- flag to indicate if histogram is to be calculated for imageA or imageB.
- entireFlag- if true calculate histogram for the entire image. if false uses areas defined by VOI regions.
- progressFlag- passed to calculateHistogram algorithm. If false progress bar is not displayed.
 
 - 
calcThresholdVolumeprivate float calcThresholdVolume(float lower, float upper)Deprecated.DOCUMENT ME!- Parameters:
- lower- DOCUMENT ME!
- upper- DOCUMENT ME!
- Returns:
- DOCUMENT ME!
 
 - 
clearVoxelLabelprivate void clearVoxelLabel() Deprecated.Clears (blanks out) the threshold voxel information (when RGB mode or not thresholding).
 - 
resetThresholdChannelsprivate void resetThresholdChannels() Deprecated.resets boolean for threshold channels.
 
- 
 
-