Package com.xinapse.util
Class MultiContrastAnalysisFrame
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
com.xinapse.util.ImageOrganiserFrame
com.xinapse.util.MultiContrastAnalysisFrame
- All Implemented Interfaces:
MessageShower
,PreferencesSettable
,ImageObserver
,MenuContainer
,Serializable
,Accessible
,RootPaneContainer
,WindowConstants
- Direct Known Subclasses:
AbstractDynamicFrame
public abstract class MultiContrastAnalysisFrame
extends com.xinapse.util.ImageOrganiserFrame
A
JFrame
for performing an analysis of images where the contrast changes from
one image to the next. Examples include perfusion and DCE-MRI analysis, and time-series
registration.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.JFrame
JFrame.AccessibleJFrame
Nested classes/interfaces inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow, Window.Type
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
Modifier and TypeFieldDescriptionfinal com.xinapse.util.MultiContrastSelectionPanel
The JPanel that contains the input configuration widgets.static final String
The command string for the roaming response menu item.com.xinapse.util.RoamingResponseDialog
The RoamingResponseDialog used to display the roaming response, if non-null.Fields inherited from class com.xinapse.util.ImageOrganiserFrame
bottomPanel, doItButton, doneButton, imageDisplayer, loadResultButton, outputPanel, quitMe, saveToDiskButton, statusText
Fields inherited from class javax.swing.JFrame
accessibleContext, rootPane, rootPaneCheckingEnabled
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
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
-
Constructor Summary
ConstructorDescriptionMultiContrastAnalysisFrame
(com.xinapse.displayer.ImageDisplayer displayer, String title, String contrastDescription, int defaultNContrasts, String prefsNodeName) Creates a newMultiContrastAnalysisFrame
connected with a displayer, with the given title. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a ChangeListener to the MultiContrastAnalysisFrame.void
Call this method to indicate that theImageOrganiserFrame
is busy processing.void
drawRoamingResponseGraphs
(List<com.xinapse.graph.XYDataSet> dataSets) Draws the graphs into the RoamingResponseDialog.boolean
Note: getContiguousContrasts has a different meaning, depending on whether a single input image is used, or whether multiple input images are used: For a single input image,getContiguousContrasts() == true
indicates that all contrasts for one slice are adjacent, before moving on to the next slice.abstract float
Returns the δ x-value between adjacent points on a pop-up plot.Returns the DynamicModel set in thisMultiContrastAnalysisFrame
.getInputImages
(boolean clearCache) Returns the set of input images set in thisMultiContrastAnalysisFrame
.int
Returns the number of image contrasts set in thisMultiContrastAnalysisFrame
.static int
getNContrasts
(ReadableImage[] inputImages, Integer nContrasts, boolean contiguousContrasts, String contrastDescription) Returns the number of image contrasts in a set of input images.int
Returns the number of image slice locations for the images set in thisMultiContrastAnalysisFrame
.static int
getNSliceLocations
(ReadableImage[] inputImages, Integer nContrasts, boolean contiguousContrasts, String contrastDescription) Returns the number of physical image slice locations for a set of images.static PixelDataType
getSliceDataType
(int slice, int contrast, ReadableImage[] inputImages, boolean contiguousContrasts, int nSliceLocations, boolean asFloat) Returns thePixelDataType
for one physical slice location and one image contrast.static Object
getSlicePix
(int slice, int contrast, ReadableImage[] inputImages, boolean contiguousContrasts, int nSliceLocations, com.xinapse.apps.mask.BinaryMask binaryMask, String contrastDescription, boolean asFloat) Returns the pixel values for one physical slice location and one image contrast.static Object
getVolumePix
(int contrast, ReadableImage[] inputImages, boolean contiguousContrasts, int nSliceLocations, Integer nContrasts, com.xinapse.apps.mask.BinaryMask binaryMask, String contrastDescription, boolean asFloat) Returns the pixels for one particular 3-D volume.abstract String
Returns the x-axis label for a pop-up plot.abstract float
Returns the minimum x-value for a pop-up plot.boolean
Tests whether there is a single or multiple input images.static void
putSlicePix
(float[] slicePix, int slice, int contrast, WritableImage[] outputImages, boolean contiguousContrasts, int nSliceLocations, String contrastDescription) Puts the pixel values to one physical slice location and one image contrast.void
Call this method to indicate that theImageOrganiserFrame
is ready to do further processing.void
Remove a ChangeListener from the MultiContrastAnalysisFrame.void
savePreferences
(Preferences prefs) Save the current setting to the user preferences.void
Put the default settings to thisMultiContrastAnalysisFrame
.void
setNContrasts
(int nContrasts) Set the number of contrasts.void
setVisible
(boolean b) Shows or hides thisImageOrganiserFrame
depending on the value of parameterb
.protected void
Causes a RoamingResponseDialog to pop up.void
Do things that need to be done when the current image is unloaded.void
updateRoamingResponse
(boolean suppressPopupErrors) Update the roaming response graph.Methods inherited from class com.xinapse.util.ImageOrganiserFrame
addActionWorker, doIt, getDisplayer, getJFrame, getParentWindow, getScrollPane, hasActionWorkers, removeActionWorker, setActionDescription, setEnabled, setScrollableContent, showError, showError, showStatus, showStatus, showSuppressibleError, showSuppressibleError, showWarning, stopActionWorkers
Methods inherited from class javax.swing.JFrame
addImpl, 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.Frame
addNotify, 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.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, 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, show, toBack, toFront
Methods 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, 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, 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
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 Details
-
ROAM_COMMAND
The command string for the roaming response menu item.- See Also:
-
roamingResponseDialog
public com.xinapse.util.RoamingResponseDialog roamingResponseDialogThe RoamingResponseDialog used to display the roaming response, if non-null. -
imageInputPanel
public final com.xinapse.util.MultiContrastSelectionPanel imageInputPanelThe JPanel that contains the input configuration widgets.
-
-
Constructor Details
-
MultiContrastAnalysisFrame
public MultiContrastAnalysisFrame(com.xinapse.displayer.ImageDisplayer displayer, String title, String contrastDescription, int defaultNContrasts, String prefsNodeName) Creates a newMultiContrastAnalysisFrame
connected with a displayer, with the given title.- Parameters:
displayer
- theImageDisplayer
that displays one of the images to be analysed.title
- the title of theMultiContrastAnalysisFrame
.contrastDescription
- a description of the type of contrast that varies from one image to the next.defaultNContrasts
- the default number of contrasts to show on startup.prefsNodeName
- the node name for the user Preferences node where preferences are stored to set up thisMultiContrastAnalysisFrame
.
-
-
Method Details
-
getInputImages
Returns the set of input images set in thisMultiContrastAnalysisFrame
.- Parameters:
clearCache
- true if the cache of input images should be cleared, forcing a new set of ReadableImages to be instantiated. If false, the cached set of input images will be returned, which will cause a problem if the images previously returned have been closed by the application.- Returns:
- the input images set in this
MultiContrastSelectionPanel
. - Throws:
InvalidArgumentException
- if the image(s) have not been set, or if the input image(s) cannot be opened.
-
getNContrasts
Returns the number of image contrasts set in thisMultiContrastAnalysisFrame
.- Returns:
- the number of contrasts.
- Throws:
InvalidArgumentException
- if the number of contrasts cannot be determined from the input images.
-
getNContrasts
public static int getNContrasts(ReadableImage[] inputImages, Integer nContrasts, boolean contiguousContrasts, String contrastDescription) throws InvalidArgumentException Returns the number of image contrasts in a set of input images.- Parameters:
inputImages
- the array of input images.nContrasts
- if non-null
, the number of contrasts (which must be supplied in the case of a single input image containing multiple contrasts).contiguousContrasts
- whether the separate image contrasts are contiguous in the input image(s).contrastDescription
- a short description of the image contrast.- Returns:
- the number of contrasts.
- Throws:
InvalidArgumentException
- if the number of contrasts cannot be determined from the input images.
-
getNSliceLocations
Returns the number of image slice locations for the images set in thisMultiContrastAnalysisFrame
.- Returns:
- the number of physical slice locations.
- Throws:
InvalidArgumentException
- if the number of slice locations cannot be determined from the input images.
-
getNSliceLocations
public static int getNSliceLocations(ReadableImage[] inputImages, Integer nContrasts, boolean contiguousContrasts, String contrastDescription) throws InvalidArgumentException Returns the number of physical image slice locations for a set of images.- Parameters:
inputImages
- the set images.nContrasts
- the number of different contrasts in the input images.contiguousContrasts
- a flag which is set totrue
if the different contrasts are contuguous in the input images, orfalse
if the different slice locations are contuguous.contrastDescription
- a short description of the image contrast.- Returns:
- the number of physical slice locations.
- Throws:
InvalidArgumentException
- if the number of slice locations cannot be determined from the input images.
-
getContiguousContrasts
public boolean getContiguousContrasts()Note: getContiguousContrasts has a different meaning, depending on whether a single input image is used, or whether multiple input images are used: For a single input image,getContiguousContrasts() == true
indicates that all contrasts for one slice are adjacent, before moving on to the next slice. For multiple input images, it indicates that one image contains all contrasts for one slice location.- Returns:
true
if contrasts are set to be contiguous;false
otherwise.
-
setNContrasts
public void setNContrasts(int nContrasts) Set the number of contrasts.- Parameters:
nContrasts
- the number of contrasts.
-
isSingleInputImage
public boolean isSingleInputImage()Tests whether there is a single or multiple input images.- Returns:
true
if there is a single input image;false
if there are multiple input images.
-
getXStart
public abstract float getXStart()Returns the minimum x-value for a pop-up plot.- Returns:
- the minimum x-value.
-
getDeltaX
Returns the δ x-value between adjacent points on a pop-up plot.- Returns:
- the Δ x-value.
- Throws:
ParseException
- if the x-value between adjacent points cannot be parsed.
-
getXAxisLabel
Returns the x-axis label for a pop-up plot.- Returns:
- the x-axis label.
-
unloadImage
public void unloadImage()Do things that need to be done when the current image is unloaded. -
addChangeListener
Adds a ChangeListener to the MultiContrastAnalysisFrame.- Parameters:
l
- the listener to be added.
-
removeChangeListener
Remove a ChangeListener from the MultiContrastAnalysisFrame.- Parameters:
l
- the listener to be removed;
-
updateRoamingResponse
public void updateRoamingResponse(boolean suppressPopupErrors) Update the roaming response graph.- Parameters:
suppressPopupErrors
- whether pop-up errors generated when creating the graph data are to be suppressed.
-
getDynamicModel
Returns the DynamicModel set in thisMultiContrastAnalysisFrame
. This class returnsnull
. Sub-classes may return theDynamicModel
that they use.- Returns:
- the
DynamicModel
used, ornull
if none is used. - Throws:
InvalidArgumentException
- if an invalid argument has been set for theDynamicModel
.InvalidImageException
- if the image may be used to create theDynamicModel
is invalid.
-
setDefaults
public void setDefaults()Put the default settings to thisMultiContrastAnalysisFrame
.- Specified by:
setDefaults
in interfacePreferencesSettable
- Overrides:
setDefaults
in classcom.xinapse.util.ImageOrganiserFrame
-
savePreferences
Save the current setting to the user preferences.- Specified by:
savePreferences
in interfacePreferencesSettable
- Overrides:
savePreferences
in classcom.xinapse.util.ImageOrganiserFrame
- Parameters:
prefs
- thePreferences
node to which to save the settings.- Throws:
InvalidArgumentException
- if the current settings are not valid.
-
getSliceDataType
public static PixelDataType getSliceDataType(int slice, int contrast, ReadableImage[] inputImages, boolean contiguousContrasts, int nSliceLocations, boolean asFloat) throws InvalidArgumentException, InvalidImageException Returns thePixelDataType
for one physical slice location and one image contrast.- Parameters:
slice
- the physical slice location index.contrast
- an index to the image contrast.inputImages
- can be either an array of length 1, if all slices/contrasts are in one file, or an array of length equal to the number of physical slices or the number of contrasts.contiguousContrasts
- true if, in a single input image, the contrasts are contiguous and vary fastest, i.e. the slices are in the order:
slice-location-1: contrast-1, contrast-2 contrast-3 ... contrast-N
slice-location-2: contrast-1, contrast-2 contrast-3 ... contrast-N
slice-location-3: contrast-1, contrast-2 contrast-3 ... contrast-NFor multiple input images, this indicates that a single input images contains all contrasts for a single physical slice.
nSliceLocations
- the number of physical slice locations.asFloat
- whether pixel values will be returned as afloat[]
, regardless of the pixel data type of the input images.- Returns:
- the
PixelDataType
for one physical slice location and one image contrast. - Throws:
InvalidArgumentException
- the setup of the input images is not valid.InvalidImageException
- if thePixelDataType
cannot be gotten from the input image.
-
getVolumePix
public static Object getVolumePix(int contrast, ReadableImage[] inputImages, boolean contiguousContrasts, int nSliceLocations, Integer nContrasts, com.xinapse.apps.mask.BinaryMask binaryMask, String contrastDescription, boolean asFloat) throws InvalidArgumentException, InvalidImageException Returns the pixels for one particular 3-D volume.- Parameters:
contrast
- the image contrast to select.inputImages
- the set of input images.contiguousContrasts
- whether image contrasts are contiguous.nSliceLocations
- the number of physical slice locations.nContrasts
- the number of image contrasts.binaryMask
- if non-null, a mask for the volume.contrastDescription
- of the description of the contrast requested.asFloat
- whether to return the pixel values in single-precision floating-point format.- Returns:
- the set of pixels corresponding to the particular image contrast.
- Throws:
InvalidArgumentException
- if any of the arguments is invalid.InvalidImageException
- if any of the input images is invalid.
-
getSlicePix
public static Object getSlicePix(int slice, int contrast, ReadableImage[] inputImages, boolean contiguousContrasts, int nSliceLocations, com.xinapse.apps.mask.BinaryMask binaryMask, String contrastDescription, boolean asFloat) throws InvalidArgumentException, InvalidImageException Returns the pixel values for one physical slice location and one image contrast.- Parameters:
slice
- the physical slice location index.contrast
- an index to the image contrast.inputImages
- can be either an array of length 1, if all slices/contrasts are in one file, or an array of length equal to the number of physical slices or the number of contrasts.contiguousContrasts
- true if, in a single input image, the contrasts are contiguous and vary fastest, i.e. the slices are in the order:
slice-location-1: contrast-1, contrast-2 contrast-3 ... contrast-N
slice-location-2: contrast-1, contrast-2 contrast-3 ... contrast-N
slice-location-3: contrast-1, contrast-2 contrast-3 ... contrast-NFor multiple input images, this indicates that a single input images contains all contrasts for a single physical slice.
nSliceLocations
- the number of physical slice locations.binaryMask
- if non-null a BinaryMask that acts as mask for the input images. Pixels outside the mask are returned with a zero intensity.contrastDescription
- a description of the way that contrast differs between the input images.asFloat
- whether to return the pixel values as afloat[]
, regardless of the pixel data type of the input images.- Returns:
- the pixel values for one physical slice location and one image contrast.
- Throws:
InvalidArgumentException
- the setup of the input images is not valid.InvalidImageException
- if the pixel values cannot be gotten from an input image.
-
putSlicePix
public static void putSlicePix(float[] slicePix, int slice, int contrast, WritableImage[] outputImages, boolean contiguousContrasts, int nSliceLocations, String contrastDescription) throws InvalidArgumentException, InvalidImageException, IOException Puts the pixel values to one physical slice location and one image contrast.- Parameters:
slicePix
- the pixel values to put.slice
- the physical slice location index.contrast
- an index to the image contrast.outputImages
- can be either an array of length 1, if all slices/contrasts are in one file, or an array of length equal to the number of physical slices or the number of contrasts.contiguousContrasts
- true if, in a single input image, the contrasts are contiguous and vary fastest, i.e. the slices are in the order:
slice-location-1: contrast-1, contrast-2 contrast-3 ... contrast-N
slice-location-2: contrast-1, contrast-2 contrast-3 ... contrast-N
slice-location-3: contrast-1, contrast-2 contrast-3 ... contrast-NFor multiple input images, this indicates that a single input images contains all contrasts for a single physical slice.
nSliceLocations
- the number of physical slice locations.contrastDescription
- a description of the way that contrast differs between the input images.- Throws:
InvalidArgumentException
- the setup of the output images is not valid.InvalidImageException
- if the pixel values cannot be put to an input image.IOException
- if an I/O error occurs when writing the pixel values.
-
busyCursors
public void busyCursors()Description copied from class:com.xinapse.util.ImageOrganiserFrame
Call this method to indicate that theImageOrganiserFrame
is busy processing.- Specified by:
busyCursors
in interfaceMessageShower
- Overrides:
busyCursors
in classcom.xinapse.util.ImageOrganiserFrame
-
readyCursors
public void readyCursors()Description copied from class:com.xinapse.util.ImageOrganiserFrame
Call this method to indicate that theImageOrganiserFrame
is ready to do further processing.- Specified by:
readyCursors
in interfaceMessageShower
- Overrides:
readyCursors
in classcom.xinapse.util.ImageOrganiserFrame
-
showRoamingResponseDialog
protected void showRoamingResponseDialog()Causes a RoamingResponseDialog to pop up. -
drawRoamingResponseGraphs
Draws the graphs into the RoamingResponseDialog.- Parameters:
dataSets
- the datasets for the graphs to draw.
-
setVisible
public void setVisible(boolean b) Description copied from class:com.xinapse.util.ImageOrganiserFrame
Shows or hides thisImageOrganiserFrame
depending on the value of parameterb
. Ifb
isfalse
, then the user will be asked if any Threads the were generated by thisImageOrganiserFrame
should be stopped. If the user indicates to stop the Threads, then the threads are stopped at the next available opportunity. If, after these checks, no Threads are running, then thequitMe
flag is set, and thisImageOrganiserFrame
is hidden.- Overrides:
setVisible
in classcom.xinapse.util.ImageOrganiserFrame
- Parameters:
b
- iftrue
, shows thisImageOrganiserFrame
; otherwise, hides thisImageOrganiserFrame
.
-