Package gov.nih.mipav.view.dialogs
Class JDialogMipavOptions
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
gov.nih.mipav.view.dialogs.JDialogBase
gov.nih.mipav.view.dialogs.JDialogMipavOptions
- All Implemented Interfaces:
DialogDefaultsInterface,ActionListener,FocusListener,ItemListener,KeyListener,WindowListener,ImageObserver,MenuContainer,Serializable,EventListener,Accessible,RootPaneContainer,WindowConstants
This dialog contains access to MIPAV preferences.
- Author:
- parsonsd
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) classDOCUMENT ME!(package private) classDOCUMENT ME!(package private) classDOCUMENT ME!Nested classes/interfaces inherited from class gov.nih.mipav.view.dialogs.JDialogBase
JDialogBase.CancelAction, JDialogBase.HelpAction, JDialogBase.OKActionNested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialogNested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityTypeNested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow, Window.TypeNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JRadioButtonprivate JButtonDOCUMENT ME!private JComboBoxborder size for active image colorprivate JCheckBoxDOCUMENT ME!private JColorChooserDOCUMENT ME!private JComboBoxWhether to save .img files as selected by dialog or always as analyze, interfile, or nifti.private JComboBoxWhether to save .mnc files as selected by dialog or always as minc1 or minc2.private JComboBoxThe available choices for displaying the numerical values of complex dataprivate JCheckBoxprivate JComboBoxDOCUMENT ME!private String[]DOCUMENT ME!private JComboBoxBox to select logging level for Algorithm categoryprivate JComboBoxBox to select logging level for Comms categoryprivate JComboBoxBox to select logging level for FileIO categoryprivate JComboBoxBox to select logging level for Minor categoryprivate JComboBoxBox to select logging level for Scripting categoryprivate JComboBoxAvailable choices for displaying brightness/color display correlations for pixel values.private JCheckBoxDOCUMENT ME!private JCheckBoxDicom Receiver check boxprivate final JPanelDOCUMENT ME!private JCheckBoxWhether images are updated in real-time based on histogram changes.private final JPanelGives user choices for displaying complex images.private JCheckBoxThe check box to indicate whether images are displayed using the log of their magnitudeprivate JCheckBoxWhether to auto-display lut associated with file.private final JPanelMIPAV global options private JPanel globalChangesPanel;.private JCheckBoxDOCUMENT ME!private final JPanelDOCUMENT ME!private JCheckBoxCheck boxes for whether right and left mouse clicks produce default actions.private JCheckBoxCheck boxes for whether right and left mouse clicks produce default actions.private JButtonButton to lasunch the Edit User Defined File Types Dialogprivate JCheckBoxDOCUMENT ME!private intDOCUMENT ME!private final JPanelDOCUMENT ME!private final JPanelDOCUMENT ME!private final JPanelDOCUMENT ME!private JButtonprivate JTextFieldprivate JButtonDOCUMENT ME!private JCheckBoxprivate JComboBoxDOCUMENT ME!private String[]DOCUMENT ME!private JTextFieldDOCUMENT ME!private JTextFieldDOCUMENT ME!private JCheckBoxGPU computing enabled check boxprivate JButtonDOCUMENT ME!private JCheckBoxprivate JComboBoxDOCUMENT ME!private JButtonDOCUMENT ME!private ColorDOCUMENT ME!private ColorDOCUMENT ME!private JButtonDOCUMENT ME!private JComboBoxAvailable options for image interpolation(package private) JLabel[]DOCUMENT ME!private JComboBoxLook and feel choices.private JButtonDOCUMENT ME!private StringDOCUMENT ME!private JTextFieldprivate JCheckBoxMulti-Threading Enabled Check Boxprivate JCheckBoxopens images in tiled formatprivate final JPanelDOCUMENT ME!private JCheckBoxDOCUMENT ME!private JComboBoxDOCUMENT ME!private ColorDOCUMENT ME!private StringDOCUMENT ME!private JCheckBoxDOCUMENT ME!private JButtonprivate Stringprivate JCheckBoxprivate JComboBoxDOCUMENT ME!private JRadioButtonprivate JButtonButton used to reset all preferences to default state.private JCheckBoxDOCUMENT ME!private JCheckBoxDOCUMENT ME!private JLabelLabel before comboBoxSaveMethodprivate JCheckBoxDOCUMENT ME!private JCheckBoxDOCUMENT ME!private JRadioButtonprivate JRadioButtonprivate static final longUse serialVersionUID for interoperability.private JCheckBoxDOCUMENT ME!private JCheckBoxDOCUMENT ME!private final JTabbedPaneDOCUMENT ME!private final ViewUserInterfaceui must be set to access the list of images to set image-specfic options (ie,. log mode)private JComboBoxDOCUMENT ME!private String[]DOCUMENT ME!private Color[]DOCUMENT ME!private JButtonDOCUMENT ME!private ColorDOCUMENT ME!private ButtonGroupprivate ButtonGroupFields inherited from class gov.nih.mipav.view.dialogs.JDialogBase
applyButton, bar, cancelButton, cancelFlag, closeButton, HELP, helpButton, mainDialogPanel, NEW, OKButton, parentFrame, progressBar, REPLACE, runInSeparateThread, runningScriptFlag, runQuiet, serif12, serif12B, voiManagerFields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabledFields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPEFields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE -
Constructor Summary
ConstructorsConstructorDescriptioncreates a dialog, builds in the options: splash page option Swing file-dialog option Active image color high-light option Debugging options -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent event) Calls various methods based on the user's actions.protected JButtonBuilds the reset to defaults button.voidno information available.voidDOCUMENT ME!voidDOCUMENT ME!voidDOCUMENT ME!voidDOCUMENT ME!protected voidprotected voidmakes the active-colour option line in the globalChangesPanel, to allow user to select the colour used to denote the active image.protected JPanelmakes the Apply/Close button panel, with the Apply button on the left and the Close button on the right.protected voidMakes the "Check on frame close" option line in the globalChangesPanel If checked the user is required to reply to a dialog to close the frame.protected voidMakes the options for displaying complex image informationprotected voidmakeCrosshairOptions(GridBagConstraints gbc2, GridBagLayout gbl) Makes the options for crosshair display.protected voidmakeDebugOptions(GridBagConstraints gbc, GridBagLayout gbl) makes the debug option line in the globalChangesPanel.private voidmakeDebugOptionsHelper(JPanel panel, String label, JComboBox comboBox, Preferences.LogLevel currentLevel) protected voidMakes the options for displaying how images should be displayed on default.protected voidprotected voidMakes the file filter option line in the globalChangesPanel.protected voidMakes the temporary file directory fields in fileMiscPanel.protected voidMakes the "Flip Y axis on NIFTI read of IS and PA" option line in the globalChangesPanel.protected voidmakeFontOptions(GridBagConstraints gbc, GridBagLayout gbl) DOCUMENT ME!protected voidMakes options for default frame rate for saving AVIs.protected voidprotected voidMakes the "VM Heap Max/Preferences memory check" option line in the globalChangesPanel If checked, the initial heap size and maximum heap size in the VM startup file is checked against what is in the preferences for this option.protected voidMakes checkbox for whether to update image in real-time as histogram luts are changedprotected voidMakes the drop down list for color options for the intensity label text colorprotected voidMakes checkbox for whether to display the image with interpolation on user's screenprotected voidmakeLFOptions(GridBagConstraints gbc, GridBagLayout gbl) Makes option for look and feelprotected voidMakes the Logging option line with checkbox/button in the globalChangesPanel.protected voidMakes checkbox for whether to display the log of image magnitude on user's screenprotected voidmakeLUTImageOptions(GridBagConstraints gbc2, GridBagLayout gbl) Makes checkbox for whether to display image using lut that is modality or image specific.protected voidMakes options for max number of lines in debug panelprotected voidMakes options for how user interface will react when the left or right mouse buttons are clicked.protected voidprotected voidtakes a txt field, and forces the textfield to accept numbers, backspace, period and delete-key entries.protected voidMakes the checkbox where the user can decide whether the output window should appear on startup.protected voidMakes the Data provenance option line in the globalChangesPanel.protected voidMakes the quicklist option line in the otherPanel.protected voidMakes the "Save All on Save" option line in the otherPanel.protected voidmakes the "Save dialog defaults" option line in the otherPanel.protected voidMakes the "Always save .hdr/.img files from dialog/ in Analyze format/ in Interfile format/ in Nifti format" combo box in the otherPanel.protected voidMakes the "Always save .mnc files from dialog/ in Minc-1.0 CDF format/ in Minc-2.0 HDF5 format" combo box in the otherPanel.protected voidMakes the option to prompt on overwrite for saving.protected voidMakes the "Save Thumbnail for XML Files" option line in the globalChangesPanel.protected voidmakeSplashOptions(GridBagConstraints gbc, GridBagLayout gbl) makes the splash-screen option line in the otherPanel.protected voidmakeUbyteHistoOptions(GridBagConstraints gbc2, GridBagLayout gbl) protected voidmakeVOIColorOptions(GridBagConstraints gbc2, GridBagLayout gbl) DOCUMENT ME!protected voidMakes the options for displaying the angle for active line VOIs.protected voidDOCUMENT ME!protected voidMakes the options for displaying the angle for active line VOIs.protected voidSets the graphic type for VOI points (4 types, each with a corresponding gif).protected voidprotected voidprivate voidreloadComplexImages(String beforeComplexDisplayChoice, boolean beforeDoLogMagChoice) Evaluates whether the user preferences which control complex image loading have changed in a way that requires reloading of all complex imagesvoidDisplays the panel with the given name.Methods inherited from class gov.nih.mipav.view.dialogs.JDialogBase
buildApplyButton, buildButtons, buildCancelButton, buildCancelButton, buildCloseButton, buildHelpButton, buildImageComboBox, buildOKButton, buildOKButton, buildOKCancelButtons, buildTitledBorder, buildTitledBorder, createLabel, createProgressBar, createProgressBar, createTextField, focusGained, focusLost, getDialogName, isCancelled, isQuietRunning, isRunInSeparateThread, isScriptRunning, loadDefaults, loadDefaults, makeImageName, makeString, openNewFrame, saveDefaults, saveDefaults, setLeftHandSystem, setQuietRunning, setScriptRunning, setSeparateThread, setVisible, setVisible, setVisibleMenuBar, setVisibleStandard, setVOIManager, setWCSystem, testParameter, testParameterMin, updateFFTFileInfo, updateFileInfo, updateFileInfoOtherModality, updateFileInfoStatic, updateFileInfoStatic, updateFileTypeInfo, updateFileTypeInfo, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpenedMethods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateMethods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBackMethods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFrontMethods inherited from class java.awt.Container
add, 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, validateTreeMethods 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, 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, remove, 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, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDUse serialVersionUID for interoperability.- See Also:
-
labels
JLabel[] labelsDOCUMENT ME! -
activeColor
DOCUMENT ME! -
checkOnFrameClose
DOCUMENT ME! -
colorChooser
DOCUMENT ME! -
crosshairChoices
DOCUMENT ME! -
crosshairNames
DOCUMENT ME! -
multiThreadingEnabledCheckBox
Multi-Threading Enabled Check Box -
gpuCompEnabledCheckBox
GPU computing enabled check box -
gpuInfoButton
DOCUMENT ME! -
dicomReceiverOnStart
Dicom Receiver check box -
debugMinorBox
Box to select logging level for Minor category -
debugAlgorithmBox
Box to select logging level for Algorithm category -
debugFileIOBox
Box to select logging level for FileIO category -
debugCommsBox
Box to select logging level for Comms category -
debugScriptingBox
Box to select logging level for Scripting category -
dicomCatcher
DOCUMENT ME! -
displayColorPanel
DOCUMENT ME! -
displayPanel
MIPAV global options private JPanel globalChangesPanel;. -
displaySplash
DOCUMENT ME! -
displayUserInterfacePanel
DOCUMENT ME! -
enableLoggingBox
DOCUMENT ME! -
fileFilter
private int fileFilterDOCUMENT ME! -
fileMiscPanel
DOCUMENT ME! -
filePanel
DOCUMENT ME! -
fileSavePanel
DOCUMENT ME! -
filterButton
DOCUMENT ME! -
editUserDefButton
Button to lasunch the Edit User Defined File Types Dialog -
fontChooser
DOCUMENT ME! -
fontNames
DOCUMENT ME! -
fontSizeField
DOCUMENT ME! -
frameRateField
DOCUMENT ME! -
histoForceUBYTE
-
imageChooser
DOCUMENT ME! -
logFileButton
DOCUMENT ME! -
logFilename
DOCUMENT ME! -
provenanceCheckBox
DOCUMENT ME! -
provenanceFilename
-
provenanceFileButton
-
provenanceImageCheckBox
-
otherPanel
DOCUMENT ME! -
performHeapMaxCheck
DOCUMENT ME! -
pointVOIChoices
DOCUMENT ME! -
preferredActiveColor
DOCUMENT ME! -
preferredCrosshair
DOCUMENT ME! -
quickListLevel
DOCUMENT ME! -
saveAllCheckBox
DOCUMENT ME! -
saveDefaultsCheckBox
DOCUMENT ME! -
saveLabel
Label before comboBoxSaveMethod -
comboBoxSaveImgMethod
Whether to save .img files as selected by dialog or always as analyze, interfile, or nifti. -
comboBoxSaveMncMethod
Whether to save .mnc files as selected by dialog or always as minc1 or minc2. -
savePromptOverwriteBox
DOCUMENT ME! -
saveThumbnailCheckBox
DOCUMENT ME! -
flipNIFTIReadCheckBox
-
fileTempDirField
-
fileTempDirBrowseButton
-
showLineVOIAngleBox
DOCUMENT ME! -
continuousVOIBox
-
VOIGroup
-
saveVOILPSButton
-
saveVOIVoxelButton
-
showOutputWindow
DOCUMENT ME! -
tabbedPane
DOCUMENT ME! -
userInterface
ui must be set to access the list of images to set image-specfic options (ie,. log mode) -
voiColorChoices
DOCUMENT ME! -
voiColorNames
DOCUMENT ME! -
voiColors
DOCUMENT ME! -
voiDrawButton
DOCUMENT ME! -
intensityLabelColorButton
DOCUMENT ME! -
intensityLabelBackgroundButton
DOCUMENT ME! -
voiDrawColor
DOCUMENT ME! -
intensityLabelColor
DOCUMENT ME! -
intensityLabelBackgroundColor
DOCUMENT ME! -
doIntensityOnLeftBox
Check boxes for whether right and left mouse clicks produce default actions. -
doWinLevOnRightBox
Check boxes for whether right and left mouse clicks produce default actions. -
WindowLevelGroup
-
relativeWindowLevelButton
-
absoluteWindowLevelButton
-
openImagesInTiledFormatBox
opens images in tiled format -
displayImagePanel
Gives user choices for displaying complex images. -
complexDisplayChoices
The available choices for displaying the numerical values of complex data -
defaultDisplayChoices
Available choices for displaying brightness/color display correlations for pixel values. -
displayLogMag
The check box to indicate whether images are displayed using the log of their magnitude -
activeImageColorBorderSize
border size for active image color -
displayHistogram
Whether images are updated in real-time based on histogram changes. -
interpolateDisplayChoices
Available options for image interpolation -
resetButton
Button used to reset all preferences to default state. -
displayLUT
Whether to auto-display lut associated with file. -
lfDisplayChoices
Look and feel choices. -
maxDebugLineField
-
-
Constructor Details
-
JDialogMipavOptions
public JDialogMipavOptions()creates a dialog, builds in the options:- splash page option
- Swing file-dialog option
- Active image color high-light option
- Debugging options
It then builds in the Apply and Close (window) buttons and makes the dialog visible.
-
-
Method Details
-
actionPerformed
Calls various methods based on the user's actions.- Specified by:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classJDialogBase- Parameters:
event- Event that triggered this function.
-
reloadComplexImages
Evaluates whether the user preferences which control complex image loading have changed in a way that requires reloading of all complex images -
fillChooser
public void fillChooser()no information available. -
itemStateChanged
DOCUMENT ME!- Specified by:
itemStateChangedin interfaceItemListener- Overrides:
itemStateChangedin classJDialogBase- Parameters:
e- DOCUMENT ME!
-
keyPressed
DOCUMENT ME!- Specified by:
keyPressedin interfaceKeyListener- Parameters:
e- DOCUMENT ME!
-
keyReleased
DOCUMENT ME!- Specified by:
keyReleasedin interfaceKeyListener- Parameters:
e- DOCUMENT ME!
-
keyTyped
DOCUMENT ME!- Specified by:
keyTypedin interfaceKeyListener- Parameters:
e- DOCUMENT ME!
-
showPane
Displays the panel with the given name. -
makeActiveColorOptions
makes the active-colour option line in the globalChangesPanel, to allow user to select the colour used to denote the active image. Sets the colour to either the colour in the preferences file or to the MIPAV default.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globablChangesPanel
-
makeActiveColorBorderSizeOptions
-
makeApplyClosePanel
makes the Apply/Close button panel, with the Apply button on the left and the Close button on the right.The panel is created and organised, but not applied anywhere.
- Returns:
- the Panel made.
-
makeCheckOnCloseFrameOptions
Makes the "Check on frame close" option line in the globalChangesPanel If checked the user is required to reply to a dialog to close the frame. If unchecked the frame is closed and data my be lost.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globablChangesPanel
-
makeLFOptions
Makes option for look and feel -
makeDefaultLoadImageOptions
Makes the options for displaying how images should be displayed on default. -
makeComplexImageOptions
Makes the options for displaying complex image information- Parameters:
gbc2- GridBagConstraintsgbl- GridBagLayout
-
makeLUTImageOptions
Makes checkbox for whether to display image using lut that is modality or image specific. -
makeLogMagImageOptions
Makes checkbox for whether to display the log of image magnitude on user's screen -
makeInterpolateImageOptions
Makes checkbox for whether to display the image with interpolation on user's screen -
makeHistogramImageOptions
Makes checkbox for whether to update image in real-time as histogram luts are changed -
makeUbyteHistoOptions
-
makeCrosshairOptions
Makes the options for crosshair display.- Parameters:
gbc2- GridBagConstraintsgbl- GridBagLayout
-
makeDebugOptions
makes the debug option line in the globalChangesPanel.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globablChangesPanel
-
makeDebugOptionsHelper
private void makeDebugOptionsHelper(JPanel panel, String label, JComboBox comboBox, Preferences.LogLevel currentLevel) -
makeMaxDebugLineOptions
Makes options for max number of lines in debug panel- Parameters:
gbc- GridBagConstraintsgbl- GridBagLayout
-
makeFileFilterOptions
Makes the file filter option line in the globalChangesPanel.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globablChangesPanel
-
makeFileTemporaryDirectory
Makes the temporary file directory fields in fileMiscPanel.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globablChangesPanel
-
makeFontOptions
DOCUMENT ME!- Parameters:
gbc- DOCUMENT ME!gbl- DOCUMENT ME!
-
makeMouseClickOptions
Makes options for how user interface will react when the left or right mouse buttons are clicked.- Parameters:
gbc- DOCUMENT ME!gbl- DOCUMENT ME!
-
makeWindowLevelOptions
-
makeFrameRateOptions
Makes options for default frame rate for saving AVIs.- Parameters:
gbc- GridBagConstraintsgbl- GridBagLayout
-
makeHeapMaxCheckOptions
Makes the "VM Heap Max/Preferences memory check" option line in the globalChangesPanel If checked, the initial heap size and maximum heap size in the VM startup file is checked against what is in the preferences for this option. If unchecked, it signifies that no check should be made.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globablChangesPanel
-
makeLoggingOptions
Makes the Logging option line with checkbox/button in the globalChangesPanel.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globablChangesPanel
-
makeProvenanceOptions
Makes the Data provenance option line in the globalChangesPanel.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globablChangesPanel
-
makeNumericsOnly
takes a txt field, and forces the textfield to accept numbers, backspace, period and delete-key entries.- Parameters:
txt- DOCUMENT ME!
-
makeOutputWindowOptions
Makes the checkbox where the user can decide whether the output window should appear on startup.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globablChangesPanel
-
makeQuickListOptions
Makes the quicklist option line in the otherPanel.- Parameters:
gbc- the constraints used in the otherPanelgbl- the layout used in the globablChangesPanel
-
makeSaveAllOptions
Makes the "Save All on Save" option line in the otherPanel.- Parameters:
gbc- the constraints used in the otherPanelgbl- the layout used in the globablChangesPanel
-
makeSaveDefaultsOptions
makes the "Save dialog defaults" option line in the otherPanel.- Parameters:
gbc- GridBagConstraints the contraintsgbl- GridBagLayout the layout...
-
makeDicomReceiverOnStartOptions
-
makeMultiThreadingEnabledOptions
-
makeGpuCompEnabledOptions
-
makeSaveHdrImgOptions
Makes the "Always save .hdr/.img files from dialog/ in Analyze format/ in Interfile format/ in Nifti format" combo box in the otherPanel.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globbalChangesPanel
-
makeSaveMncOptions
Makes the "Always save .mnc files from dialog/ in Minc-1.0 CDF format/ in Minc-2.0 HDF5 format" combo box in the otherPanel.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globbalChangesPanel
-
makeSaveOverwriteOptions
Makes the option to prompt on overwrite for saving.- Parameters:
gbc- GridBagConstraintsgbl- GridBagLayout
-
makeSaveXMLThumbnailOptions
Makes the "Save Thumbnail for XML Files" option line in the globalChangesPanel.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globablChangesPanel
-
makeFlipNIFTIReadOptions
Makes the "Flip Y axis on NIFTI read of IS and PA" option line in the globalChangesPanel.- Parameters:
gbc- the constraints used in the globalChangesPanelgbl- the layout used in the globablChangesPanel
-
makeSplashOptions
makes the splash-screen option line in the otherPanel.- Parameters:
gbc- the constraints used in the otherPanelgbl- the layout used in the globablChangesPanel
-
makeVOIColorOptions
DOCUMENT ME!- Parameters:
gbc2- DOCUMENT ME!gbl- DOCUMENT ME!
-
makeIntensityLabelColorOptions
Makes the drop down list for color options for the intensity label text color- Parameters:
gbl-gbc2-
-
makeVOIDrawColorOptions
DOCUMENT ME!- Parameters:
gbc- DOCUMENT ME!gbl- DOCUMENT ME!
-
makeVOILineAngleOptions
Makes the options for displaying the angle for active line VOIs.- Parameters:
gbc- GridBagConstraintsgbl- GridBagLayout
-
makeVOIContinuousOptions
Makes the options for displaying the angle for active line VOIs.- Parameters:
gbc- GridBagConstraintsgbl- GridBagLayout
-
makeVOISaveLPSOptions
-
makeVOIPointDrawTypeOptions
Sets the graphic type for VOI points (4 types, each with a corresponding gif).- Parameters:
gbc- GridBagConstraints the constraintsgbl- GridBagLayout the layout
-
buildResetDefaultsButton
Builds the reset to defaults button. Sets it internally as well return the just-built button.- Returns:
- JButton reset defaults button
-