Package gov.nih.mipav.view
Class ViewJComponentDTIImage
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- gov.nih.mipav.view.ViewJComponentBase
-
- gov.nih.mipav.view.ViewJComponentEditImage
-
- gov.nih.mipav.view.ViewJComponentDTIImage
-
- All Implemented Interfaces:
PaintGrowListener
,ScreenCoordinateListener
,java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.awt.event.MouseWheelListener
,java.awt.image.ImageObserver
,java.awt.MenuContainer
,java.io.Serializable
,java.util.EventListener
public class ViewJComponentDTIImage extends ViewJComponentEditImage
ViewJComponent DTI Image- Author:
- pandyan References: Developed in concert with Sinisa Pajevic from the NIH/CIT/DCB/MSCL group, Lin-Ching Chang D.Sc., Carlo Pierpaoli MD Ph.D., and Lindsay Walker MS from the the NIH/NICHD/LIMB/STBB group and Olga Vovk from the NIH/CIT/DCB/ISL/BIRSS group: Mathematical and Statistical Computing Laboratory (MSCL) Biomedical Imaging Research Services Section (BIRSS) Imaging Sciences Laboratory (ISL) Division of Cumputational Bioscience (DCB) Center for Informational Technology (CIT) Section on Tissue Biophysics and Biomimetics (STBB) Laboratory of Integrative and Medical Biophysics (LIMB) National Institute of Child Health & Humann Development National Institutes of Health Publication Reference: S. Pajevic and C. Pierpaoli, "Color Schemes to Represent the Orientation of Anisotropic Tissues from Diffusion Tensor Data: Application to White Matter Fiber Tract Mapping in the Human Brain," Magnetic Resonance in Medicine, vol. 42, no. 3, pp. 526-540, 1999
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private float
adjustExp
adjust exp *private float[]
anisotropyBuffer
anisotropy file data buffer *private float
anisotropyMax
anisotropy max *private float
anisotropyMin
anisotropy min *private float[]
blueShiftColors
arry of r,g,b after blue shift *private float[]
clippedBuffer
anisotropy file data buffer *private float
gamma
gamma correction *private float[]
greenAdjColors
arry of r,g,b after green adj *private ModelImage
imageA
model image *private boolean
isMultiply
boolean for truncate/multiply *private float
pB
blue saturation *private float
pC
color range *private float
pG
green adj *private float
piDivTwo
pi div two *private float
pS
sat vs theta *private float[]
redShiftColors
array of r,g,b values after red shifting *private float
stevensBeta
Stevens Beta *private float[]
truncMultColors
arry of r,g,b after scaling/truncating *private float
twoPi
two pi *private java.lang.String
type
type of color wheel ABSVAL, NOSYMM, ROTATIONALSYMM, MIRRORSYMM *-
Fields inherited from class gov.nih.mipav.view.ViewJComponentEditImage
ACTIVE_IMAGE_COLOR, allActive, alphaBlend, alphaPrime, checkerDialog, cleanImageBufferA, cleanImageBufferB, crosshairCursor, cursorMode, displayFuzzy, drawVOIs, frame, frameControls, fuzzyThreshold, GEOMETRIC_ZOOM, gridColor, gridLabelingOn, gridLabelOrientation, gridOverlayOn, gridSpacingX, gridSpacingY, growDialog, imageActive, imageB, imageBufferA, imageBufferActive, imageBufferB, imageExtents, imageStatList, intensityDropper, less, lessB, lessG, lessR, LINEAR_ZOOM, logMagDisplay, LUTa, LUTb, m_kPatientSlice, m_kWinLevel, MAGR_HEIGHT, MAGR_MAG, MAGR_WIDTH, magSettings, maxDistance, maxExtents, modifyFlag, more, moreB, moreG, moreR, mousePressIsShiftDown, MultiFrameEyetrackerMode, nColumnCheckers, nRowCheckers, onTop, orientation, overlayOn, paintBitmap, paintBitmapBU, paintBitmapSwitch, paintBrush, paintBrushDim, paintBrushDimPrevious, paintBrushPrevious, paintBrushSize, paintBuffer, paintImage, paintImagePrevious, pixBuffer, pixBufferB, PluginEyetrackerMode, previousPaintBrush, rgbString, RGBTA, RGBTB, saveValue, saveValueB, saveValueG, saveValueR, saveX, saveY, saveZ, seedPaintBitmap, seedVal, seedValB, seedValG, seedValR, SingleFrameEyetrackerMode, sizeLimit, slice, stringOverride, time, timeSlice, toppedColor, useBComp, useGComp, useRComp, useVOI, variableThresholds, visRect, voiManager, winLevel, winLevelSet, xMod, xPG, xStart, yMod, yPG, yStart, zPG
-
Fields inherited from class gov.nih.mipav.view.ViewJComponentBase
ANNOTATION, BOTH, CENTER_VOI, CUBE_BOUNDS, DEFAULT, DELETE_POINT, DROPPER_PAINT, ELLIPSE, ERASER_PAINT, IMAGE_A, IMAGE_B, imageDim, img, imgB, interpMode, INTERPOLATE_A, INTERPOLATE_B, INTERPOLATE_BOTH, lastMouseX, lastMouseY, LEVELSET, LINE, LIVEWIRE, MAG_REGION, memImageA, memImageB, MOVE, MOVE_INTERSECTION_POINT, MOVE_POINT, MOVE_VOIPOINT, NEAREST_BOTH, NEW_POINT, NEW_VOI, OUT_OF_BOUNDS, PAINT_CAN, PAINT_VASC, PAINT_VOI, POINT_VOI, POLYLINE, POLYLINE_SLICE_VOI, PROBE, PROTRACTOR, QUICK_LUT, RECTANGLE, RECTANGLE3D, resolutionX, resolutionY, RETRACE, ROTATE, SELECT, showSliceNumber, sliceString, SMOOTH, SPLIT_VOI, textColor, TRANSLATE, VOI_3D, WAND, WIN_REGION, ZOOMING_IN, ZOOMING_OUT, zoomX, zoomY
-
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
-
Constructor Summary
Constructors Constructor Description ViewJComponentDTIImage(ViewJFrameBase _frame, ModelImage _imageA, ModelLUT _LUTa, float[] imgBufferA, int[] pixelBuffer, float zoom, int[] extents, boolean logMagDisplay, int _orientation, float[] anisotropyBuffer)
constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
absoluteValue(int zSlice, float[] buff)
absolute valuefloat[]
adjustGreen(float r1, float g1, float b1)
adjust green intensityvoid
clipAnisotropyBuffer()
clipAnisotropyBuffervoid
mirrorSymm(int zSlice, float[] buff)
mirror symmetryvoid
mouseClicked(java.awt.event.MouseEvent mouseEvent)
mouse clickedvoid
mouseDragged(java.awt.event.MouseEvent mouseEvent)
mouse draggedvoid
mouseEntered(java.awt.event.MouseEvent mouseEvent)
mouse enteredvoid
mouseExited(java.awt.event.MouseEvent mouseEvent)
mouse exitedvoid
mouseMoved(java.awt.event.MouseEvent mouseEvent)
mouse movedvoid
mousePressed(java.awt.event.MouseEvent mouseEvent)
mouse pressedprotected void
mousePressedPaint(java.awt.event.MouseEvent mouseEvent)
mouse pressed paintvoid
mouseReleased(java.awt.event.MouseEvent mouseEvent)
mouse releasedvoid
mouseWheelMoved(java.awt.event.MouseWheelEvent mouseWheelEvent)
mouse wheel movedvoid
noSymm(int zSlice, float[] buff)
no symmetryvoid
rotationalSymm(int zSlice, float[] buff)
rotationsl symmetryfloat[]
shiftBlue(float r1, float g1, float b1)
blue shiftfloat[]
shiftRed(float r1, float g1, float b1)
red shiftboolean
show(int tSlice, int zSlice, boolean forceShow, java.lang.String type, float pS, float pB, float pC, float pG, float gamma, float anisotropyMin, float anisotropyMax, float stevensBeta, float adjustExp, boolean isMultiply)
For generating the display of 1 or 2 images.boolean
show(int tSlice, int zSlice, ModelLUT _LUTa, ModelLUT _LUTb, boolean forceShow, int interpMode)
Shows the image and the VOI(s).float[]
truncateRGB(float r1, float g1, float b1, float scale)
truncat RGB based on heuristic parameters-
Methods inherited from class gov.nih.mipav.view.ViewJComponentEditImage
calcPaintedVolume, cine, commitMask, commitMask, commitMask, commitMask, commitPaintToMask, commitPaintToUbyteMask, createImg, createImg, ctMode, dispose, disposeLocal, downSlice, draw3DVOIs, drawGradicules, drawStringBW, eraseAllPaint, fileToScreen, fileToScreenVOI, finalize, getActiveImage, getActiveImageBuffer, getActiveImageSliceBuffer, getActiveLUT, getActiveRGB, getAlphaBlend, getBandSpacing, getBrushSize, getCleanImageBufferB, getCursorMode, getFrame, getGridColor, getGridLabeling, getGridLabelOrientation, getGridOverlay, getGridSpacingX, getGridSpacingY, getHBrushSize, getImageA, getImageB, getImageBufferA, getImageBufferB, getIntensityDropper, getLUTa, getLUTb, getMaxExtents, getModifyFlag, getNumPoints, getnVOI, getOpacity, getOrientation, getOverlayOn, getPaintBitmap, getPaintBuffer, getPaintMask, getPixBuffer, getPixBufferB, getRASScannerPositionLabels, getRGBPaintComponents, getRGBTA, getRGBTB, getScannerPositionLabels, getShowMagIntensityEnabled, getSlice, getTimeSlice, getVOIHandler, getVOIManager, getxMod, getxSep, getxStart, getyMod, getySep, getyStart, getZoomMagnitudeX, getZoomMagnitudeY, isCheckerboardAnimate, isCheckerboarded, isHighlight, isMakingCheckerboard, isZeroToOneLUTAdj, loadPaintBrush, loopBandSpacing, loopBandSpacingReverse, openUDLUTandTransferFunct, paintComponent, paintComponentForPrinter, paintMagComponent, patientToScreen, patientToScreenVOI, performPaint, performPaint, processDefaultMouseDrag, quickSwitchBrush, readLUTandTFunctFrom, recordPanning, recordZoom, regionGrow, regionGrow, regionGrow, regionGrow, regionGrow, regionGrowColor, rememberPaintBrushSize, resetLUT, resetLUTs, resetPaintBrushSize, restartCheckerboardAnimateThread, saveLUTandTransferFunction, saveUDLUT, screenToFile, screenToFile, screenToFile, screenToFileVOI, screenToFileVOI, screenToFileVOI, setActiveImage, setAlphaBlend, setBandSpacing, setBuffers, setCenter, setCheckerboard, setCheckerboardAnimate, setCrosshairCursor, setCursorMode, setDisplayFuzzy, setDrawVOIs, setEnabled, setEyetrackerRecordingMode, setEyetrackerRecordMode, setFrameControls, setFullScreenModeLocation, setFuzzyThreshold, setGridColor, setGridLabelingOn, setGridLabelOrientation, setGridOverlay, setGridSpacingX, setGridSpacingY, setGrowDialog, setHasThreshold1, setHasThreshold2, setHighlightColor, setImageA, setImageB, setImageBufferB, setImageColocalize, setImageExtents, setImageSlice, setIntensityDropper, setLess, setLessB, setLessG, setLessR, setLogMagDisplay, setLUTa, setLUTb, setMakingCheckerboard, setMaxDistance, setModifyFlag, setMore, setMoreB, setMoreG, setMoreR, setOverlay, setPaintBitmapSwitch, setPaintBrushSize, setPaintMask, setPixelInformationAtLocation, setRegionGrowVars, setRGBPaintComponents, setRGBTA, setRGBTB, setShowMagIntensity, setShowSliceNum, setSizeLimit, setSlice, setStringOverride, setThresholdColors, setThresholds, setTimeSlice, setUseVOI, setVariableThresholds, setVOIManager, setWindLevel, setxSep, setySep, setZeroToOneLUTAdj, show, show, showBlank, showGridOverlay, showOverlay, showRegionInfo, showRegionInfo, showRegionInfo, showStatisticsCalculator, undoLastPaint, updatePaint, updatePaintBrushCursor, upSlice, useHighlight
-
Methods inherited from class gov.nih.mipav.view.ViewJComponentBase
disposeLocal, getImage, getInterpMode, getLastMouseX, getLastMouseY, getPreferredSize, getResolutionX, getResolutionY, getScaledX, getScaledY, getSelectedPaintColor, getShowMagIntensityEnabled, getSize, getZoomX, getZoomY, importImage, importImageB, LocalToScreen, makePaintBitmapBorder, makePaintImage, paintCursorBoxComponent, paintWindowComponent, paintWindowComponent, ScreenToLocal, setInterpolationMode, setResolutions, setShowSliceNumber, setSliceString, setTextColor, setZoom, setZoomExact, update
-
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUI, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateUI
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gov.nih.mipav.view.renderer.WildMagic.VOI.ScreenCoordinateListener
getHeight, getResolutionX, getResolutionY, getWidth, getZoomX, getZoomY
-
-
-
-
Field Detail
-
type
private java.lang.String type
type of color wheel ABSVAL, NOSYMM, ROTATIONALSYMM, MIRRORSYMM *
-
imageA
private ModelImage imageA
model image *
-
pS
private float pS
sat vs theta *
-
pC
private float pC
color range *
-
pB
private float pB
blue saturation *
-
pG
private float pG
green adj *
-
gamma
private float gamma
gamma correction *
-
twoPi
private float twoPi
two pi *
-
piDivTwo
private float piDivTwo
pi div two *
-
blueShiftColors
private float[] blueShiftColors
arry of r,g,b after blue shift *
-
redShiftColors
private float[] redShiftColors
array of r,g,b values after red shifting *
-
greenAdjColors
private float[] greenAdjColors
arry of r,g,b after green adj *
-
anisotropyMax
private float anisotropyMax
anisotropy max *
-
anisotropyMin
private float anisotropyMin
anisotropy min *
-
anisotropyBuffer
private float[] anisotropyBuffer
anisotropy file data buffer *
-
clippedBuffer
private float[] clippedBuffer
anisotropy file data buffer *
-
stevensBeta
private float stevensBeta
Stevens Beta *
-
adjustExp
private float adjustExp
adjust exp *
-
isMultiply
private boolean isMultiply
boolean for truncate/multiply *
-
truncMultColors
private float[] truncMultColors
arry of r,g,b after scaling/truncating *
-
-
Constructor Detail
-
ViewJComponentDTIImage
public ViewJComponentDTIImage(ViewJFrameBase _frame, ModelImage _imageA, ModelLUT _LUTa, float[] imgBufferA, int[] pixelBuffer, float zoom, int[] extents, boolean logMagDisplay, int _orientation, float[] anisotropyBuffer)
constructor- Parameters:
_frame
-_imageA
-_LUTa
-imgBufferA
-pixelBuffer
-zoom
-extents
-logMagDisplay
-_orientation
-
-
-
Method Detail
-
show
public boolean show(int tSlice, int zSlice, boolean forceShow, java.lang.String type, float pS, float pB, float pC, float pG, float gamma, float anisotropyMin, float anisotropyMax, float stevensBeta, float adjustExp, boolean isMultiply)
For generating the display of 1 or 2 images.- Parameters:
tSlice
- t (time) slice to showzSlice
- z slice to showforceShow
- forces this method to import image and recalculate java image- Returns:
- boolean to indicate if the show was successful
-
show
public boolean show(int tSlice, int zSlice, ModelLUT _LUTa, ModelLUT _LUTb, boolean forceShow, int interpMode)
Shows the image and the VOI(s).- Overrides:
show
in classViewJComponentEditImage
- Parameters:
tSlice
- t (time) slice to showzSlice
- z slice to show_LUTa
- LUTa - to change to new LUT for imageA else null_LUTb
- LUTb - to change to new LUT for imageB else nullforceShow
- forces this method to import image and recalculate java imageinterpMode
- image interpolation method (Nearest or Smooth)- Returns:
- boolean to indicate if the show was successful
-
absoluteValue
public void absoluteValue(int zSlice, float[] buff)
absolute value- Parameters:
zSlice
-buff
-
-
noSymm
public void noSymm(int zSlice, float[] buff)
no symmetry- Parameters:
zSlice
-buff
-
-
rotationalSymm
public void rotationalSymm(int zSlice, float[] buff)
rotationsl symmetry- Parameters:
zSlice
-buff
-
-
mirrorSymm
public void mirrorSymm(int zSlice, float[] buff)
mirror symmetry- Parameters:
zSlice
-buff
-
-
clipAnisotropyBuffer
public void clipAnisotropyBuffer()
clipAnisotropyBuffer
-
truncateRGB
public float[] truncateRGB(float r1, float g1, float b1, float scale)
truncat RGB based on heuristic parameters- Parameters:
r1
-g1
-b1
-scale
-- Returns:
-
shiftBlue
public float[] shiftBlue(float r1, float g1, float b1)
blue shift- Parameters:
r1
-g1
-b1
-- Returns:
-
shiftRed
public float[] shiftRed(float r1, float g1, float b1)
red shift- Parameters:
r1
-g1
-b1
-- Returns:
-
adjustGreen
public float[] adjustGreen(float r1, float g1, float b1)
adjust green intensity- Parameters:
r1
-g1
-b1
-- Returns:
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent mouseEvent)
mouse clicked- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
- Overrides:
mouseClicked
in classViewJComponentEditImage
- Parameters:
mouseEvent
- event that triggers function; contains click count
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent mouseEvent)
mouse dragged- Specified by:
mouseDragged
in interfacejava.awt.event.MouseMotionListener
- Overrides:
mouseDragged
in classViewJComponentEditImage
- Parameters:
mouseEvent
- event that triggered function
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent mouseEvent)
mouse entered- Specified by:
mouseEntered
in interfacejava.awt.event.MouseListener
- Overrides:
mouseEntered
in classViewJComponentEditImage
- Parameters:
mouseEvent
- event
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent mouseEvent)
mouse exited- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
- Overrides:
mouseExited
in classViewJComponentEditImage
- Parameters:
mouseEvent
- event that triggered function
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent mouseEvent)
mouse moved- Specified by:
mouseMoved
in interfacejava.awt.event.MouseMotionListener
- Overrides:
mouseMoved
in classViewJComponentEditImage
- Parameters:
mouseEvent
- event that triggered the function
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent mouseEvent)
mouse pressed- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Overrides:
mousePressed
in classViewJComponentEditImage
- Parameters:
mouseEvent
- event that triggered function
-
mousePressedPaint
protected void mousePressedPaint(java.awt.event.MouseEvent mouseEvent)
mouse pressed paint- Overrides:
mousePressedPaint
in classViewJComponentEditImage
- Parameters:
mouseEvent
- the mouseEvent that triggered this function call.
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent mouseEvent)
mouse released- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Overrides:
mouseReleased
in classViewJComponentEditImage
- Parameters:
mouseEvent
- event that triggered function
-
mouseWheelMoved
public void mouseWheelMoved(java.awt.event.MouseWheelEvent mouseWheelEvent)
mouse wheel moved- Specified by:
mouseWheelMoved
in interfacejava.awt.event.MouseWheelListener
- Overrides:
mouseWheelMoved
in classViewJComponentEditImage
- Parameters:
mouseWheelEvent
- DOCUMENT ME!
-
-