public class LookPanel extends JPanel implements ILookPanel, ActionListener, ComponentListener, MouseListener
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
private String |
additionalText
Variable for additional text in the
ImageInfoPanel right after
the zoom information, e.g angle, length. |
private ColorChannelSelectorPanel |
colorChannelSelectorPanel
The panel for the color channel selection.
|
private ContextPopupListener |
contextPopupListener
The context pop up menu listener for the
ContextPopupMenu. |
private ContextPopupMenu |
contextPopupMenu
The context pop up menu for
LookToolboxPanel and the
ImageInfoPanel. |
private javax.media.jai.PlanarImage |
currentImage
The image instance which is currently shown in the
LookPanel. |
private double[] |
doublePixelValue
The local array of double pixel values (DOUBLE).
|
private float[] |
floatPixelValue
The local array of float pixel values (FLOAT).
|
private ImageInfoPanel |
imageInfoPanel
The panel where the image info is set to.
|
private ImageLayer |
imageLayer
The variable for displaying the image and the ROI elements.
|
private ImageNavigatorPanel |
imageNavigatorPanel
The image navigator panel for general orientation.
|
private JScrollPane |
imageScrollPane
The
ScrollPane, a container where the image will be displayed via
the ImageLayer instance. |
private String |
imgDataBufferType
The image's
DataBuffer: BYTE, SHORT, USHORT, INT, FLOAT, DOUBLE. |
private int |
imgHeight
The pixel horizontal pixel count, i.e.
|
private int |
imgWidth
The pixel horizontal pixel count, i.e.
|
private boolean |
indexed
The variable for the image information, indicating whether the image uses
an indexed color model or not.
|
private int[] |
intPixelValue
The local array of integer pixel values (BYTE, SHORT, USHORT).
|
private boolean |
isEmpty
A flag whether or not the panel currently displays an item.
|
private JLayeredPane |
layerPane
The layered pane for ROI and image layers.
|
private static org.apache.log4j.Logger |
logger
Class specific logger.
|
private JPanel |
lookContent
The top most container for all panels in the
LookPanel. |
private short[][] |
lut
The look-up-table data of an indexed image.
|
private PropertyChangeSupport |
pcs
A
PropertyChangeSupport for emitting events. |
private StringBuffer |
pixelInfo
The
StringBuffer for the pixel information. |
private javax.media.jai.PlanarImage |
renderedImage
The image instance of the rendered image (e.g.
|
private ROILayerSelectorPanel |
roiLayerSelectorPanel
The panel for the ROI layer selection.
|
private static long |
serialVersionUID
The UID for serialization.
|
private JSplitPane |
splitPane
The split pane for tool boxes and the canvas.
|
private LookToolboxPanel |
toolboxPanel
The panel for the tool box containing the ROI draw buttons.
|
private double |
zoom
The variable for the current zoom.
|
private ZoomHelper |
zoomHelper
A
ZoomHelper for this instance. |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
LookPanel()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
componentHidden(ComponentEvent arg0) |
void |
componentMoved(ComponentEvent arg0) |
void |
componentResized(ComponentEvent e) |
void |
componentShown(ComponentEvent arg0) |
private void |
createAndAssemble()
This method creates and assembles the GUI.
|
private void |
createContextMenuAndBehavior()
Create a new context popup menu with this instance as
ActionListener. |
private ImageLayer |
createImageLayer()
Creates a new instance of the displaying class.
|
private JScrollPane |
createJScrollPane()
This method initializes jScrollPane
|
private ImageNavigatorPanel |
createNavigatorPanel() |
void |
deleteAllROIShapes()
This method deletes all ROIs and all ROI vectors in every layer.
|
void |
deleteAllROIShapesOnLayer()
This method deletes all ROIs and all ROI vectors on the selected layer.
|
void |
deleteSelectedROI()
This method deletes the currently selected ROI and sets the last element
of the
ArrayList to the current ROI. |
void |
destroyGUI()
This method destroys the GUI
|
String |
getAdditionalText()
Gets the additional text of the
ImageInfoPanel. |
ColorChannelSelectorPanel |
getColorChannelSelectorPanel()
Gets the selector panel for color components.
|
ContextPopupListener |
getContextPopupListener()
Get the context menu popup listener for showing pop up menus.
|
private ContextPopupMenu |
getContextPopupMenu() |
javax.media.jai.PlanarImage |
getCurrentImage()
Gets the current image (original).
|
IDrawingLayer |
getCurrentROILayer()
Gets the currently selected ROI layer.
|
double[] |
getDoublePixelValue()
Get the pixel intensity values as double array.
|
float[] |
getFloatPixelValue()
Get the pixel intensity values as float array.
|
int |
getImageHeight()
Gets the width of the original image in pixels.
|
ImageInfoPanel |
getImageInfoPanel()
This method initializes the image info panel, displaying the current
pixel information.
|
ImageLayer |
getImageLayer()
This method gets the
ImageLayer. |
ImageNavigatorPanel |
getImageNavigatorPanel()
Returns a reference to the
ImageNavigatorPanel associated with
this instance. |
int |
getImageWidth()
Gets the width of the original image in pixels.
|
String |
getImgDataBufferType()
Get the image data buffer type.
|
int[] |
getIntPixelValue()
Get the pixel intensity values as integer array.
|
JLayeredPane |
getLayerPane()
Gets the layer container of the panel.
|
private JPanel |
getLookContent()
This method initializes lookContent
|
short[][] |
getLut()
Gets the lookup table for the indexed image.
|
PropertyChangeSupport |
getPcs()
Get the property change support for this panel.
|
StringBuffer |
getPixelInfo()
This method allows external classes access to the pixel info which was
obtained in the mouseMoved method.
|
String |
getPixelInfoString()
This method allows external classes access to the pixel info which was
obtained in the mouseMoved method.
|
javax.media.jai.PlanarImage |
getRenderedImage()
Get the rendered/processed image with current zoom factor.
|
List<IDrawingLayer> |
getROILayers()
Gets all ROI layers of this look panel.
|
ROILayerSelectorPanel |
getROILayerSelectorPanel()
Get the ROI layer manager for this panel.
|
JScrollPane |
getScrollPane()
Gets the scroll pane of the current look panel.
|
JSplitPane |
getSplitPane() |
LookToolboxPanel |
getToolboxPanel()
Get the tool box of the panel.
|
double |
getZoom()
Get the current zoom of the image.
|
ZoomHelper |
getZoomHelper()
Get the
ZoomHelper instance associated with this instance. |
void |
initialize()
Initializes the look panel.
|
boolean |
isEmpty()
Returns whether or not the panel currently displays an item.
|
boolean |
isFocusTraversable()
This is just here so that we can accept the keyboard focus
|
boolean |
isIndexed()
Get a flag, whether or not the image is indexed.
|
void |
mouseClicked(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
protected void |
paintChildren(Graphics g) |
protected void |
paintComponent(Graphics g) |
void |
resetAllImages()
Resets all images.
|
void |
setAdditionalText(String additionalText)
Set the additional text for the
ImageInfoPanel. |
void |
setColorChannelSelectorPanel(ColorChannelSelectorPanel colorChannelSelectorPanel)
Sets the selector panel for color components.
|
private void |
setContextPopupListener(ContextPopupListener contextPopupListener) |
private void |
setContextPopupMenu(ContextPopupMenu contextPopupMenu) |
void |
setCurrentImage(javax.media.jai.PlanarImage currentImage)
Sets the current image (original).
|
void |
setDoublePixelValue(double[] doublePixelValue)
Set the double pixel values in an array.
|
void |
setFloatPixelValue(float[] floatPixelValue)
Set the float pixel values in an array.
|
void |
setImageHeight(int imgHeight)
Set the image height.
|
void |
setImageInfoPanel(ImageInfoPanel imageInfoPanel) |
void |
setImageWidth(int imgWidth)
Set the image width.
|
void |
setImgDataBufferType(String imgDataBufferType)
Set the image data buffer type.
|
void |
setIndexed(boolean isIndexed)
Set a flag whether or not the currently displayed image is indexed.
|
void |
setIntPixelValue(int[] intPixelValue)
Set the integer pixel values in an array.
|
void |
setLut(short[][] lut)
Set the lookup table.
|
void |
setPixelInfo(StringBuffer pixelInfo)
Set the pixel information.
|
void |
setRenderedImage(javax.media.jai.PlanarImage rendImage)
Set the rendered/processed image.
|
void |
setROILayerSelectorPanel(ROILayerSelectorPanel roiLayerSelectorPanel)
Set the ROI manager for this panel.
|
void |
setViewOffset(Point p)
This method calculates and sets the offset of the view Mainly for zooming
the image with the mouse
|
void |
setZoom(double zoom)
Set the zoom of the image.
|
void |
updateColorChannels()
A delegation method to update the color channel manager.
|
void |
updateImageLayer()
Updates the image in the object's
ImageLayer instance. |
void |
updateLayerBounds(Dimension dim)
Updates the layer bounds to new dimensions in the layered pane.
|
void |
updateNavigator()
A delegation method for updating the navigator view.
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintImmediately, paintImmediately, 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, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, 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, validateTreeaction, 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, 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, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, 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, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleprivate static final long serialVersionUID
private static final org.apache.log4j.Logger logger
private JSplitPane splitPane
private LookToolboxPanel toolboxPanel
private ROILayerSelectorPanel roiLayerSelectorPanel
private ColorChannelSelectorPanel colorChannelSelectorPanel
private JLayeredPane layerPane
private ImageInfoPanel imageInfoPanel
private String additionalText
ImageInfoPanel right after
the zoom information, e.g angle, length.private JScrollPane imageScrollPane
ScrollPane, a container where the image will be displayed via
the ImageLayer instance.private ImageLayer imageLayer
private ZoomHelper zoomHelper
ZoomHelper for this instance.private ContextPopupMenu contextPopupMenu
LookToolboxPanel and the
ImageInfoPanel.private ContextPopupListener contextPopupListener
ContextPopupMenu.private PropertyChangeSupport pcs
PropertyChangeSupport for emitting events.private double zoom
1.0d.private javax.media.jai.PlanarImage renderedImage
private javax.media.jai.PlanarImage currentImage
LookPanel.private StringBuffer pixelInfo
StringBuffer for the pixel information. It contains zoom
information, the DataBuffer type of the image and the values of
the pixel under the mouse pointer.private int imgWidth
private int imgHeight
private String imgDataBufferType
DataBuffer: BYTE, SHORT, USHORT, INT, FLOAT, DOUBLE.private boolean indexed
private short[][] lut
private double[] doublePixelValue
private float[] floatPixelValue
private int[] intPixelValue
private boolean isEmpty
private ImageNavigatorPanel imageNavigatorPanel
private void createAndAssemble()
public void initialize()
ILookPanelinitialize in interface ILookPanelprivate void createContextMenuAndBehavior()
ActionListener. All commands have to be implemented in this
class.private ContextPopupMenu getContextPopupMenu()
private void setContextPopupMenu(ContextPopupMenu contextPopupMenu)
contextPopupMenu - the contextPopupMenu to setpublic ContextPopupListener getContextPopupListener()
ILookPanelgetContextPopupListener in interface ILookPanelprivate void setContextPopupListener(ContextPopupListener contextPopupListener)
contextPopupListener - the contextPopupListener to setprivate JPanel getLookContent()
public JSplitPane getSplitPane()
public ImageLayer getImageLayer()
ImageLayer.getImageLayer in interface ILookPanelLookPanel's instance of ImageLayerprivate ImageNavigatorPanel createNavigatorPanel()
private ImageLayer createImageLayer()
ImageLayerpublic ImageInfoPanel getImageInfoPanel()
getImageInfoPanel in interface ILookPanelpublic ColorChannelSelectorPanel getColorChannelSelectorPanel()
getColorChannelSelectorPanel in interface ILookPanelColorChannelSelectorPanelpublic void setColorChannelSelectorPanel(ColorChannelSelectorPanel colorChannelSelectorPanel)
colorChannelSelectorPanel - public LookToolboxPanel getToolboxPanel()
ILookPanelgetToolboxPanel in interface ILookPanelprivate JScrollPane createJScrollPane()
public JLayeredPane getLayerPane()
ILookPanelgetLayerPane in interface ILookPanelJLayeredPanepublic void destroyGUI()
throws Exception
destroyGUI in interface ILookPanelExceptionpublic int getImageWidth()
ILookPanelgetImageWidth in interface ILookPanelpublic int getImageHeight()
ILookPanelgetImageHeight in interface ILookPanelpublic void setImageWidth(int imgWidth)
ILookPanelsetImageWidth in interface ILookPanelimgWidth - the imgWidth to setpublic void setImageHeight(int imgHeight)
ILookPanelsetImageHeight in interface ILookPanelimgHeight - the imgHeight to setpublic String getImgDataBufferType()
ILookPanelgetImgDataBufferType in interface ILookPanelpublic void setImgDataBufferType(String imgDataBufferType)
ILookPanelsetImgDataBufferType in interface ILookPanelimgDataBufferType - the imgType to setpublic boolean isIndexed()
ILookPanelisIndexed in interface ILookPanelpublic short[][] getLut()
ILookPanelgetLut in interface ILookPanelpublic double[] getDoublePixelValue()
ILookPanelgetDoublePixelValue in interface ILookPanelpublic float[] getFloatPixelValue()
ILookPanelgetFloatPixelValue in interface ILookPanelpublic int[] getIntPixelValue()
ILookPanelgetIntPixelValue in interface ILookPanelpublic javax.media.jai.PlanarImage getRenderedImage()
ILookPanelgetRenderedImage in interface ILookPanelpublic javax.media.jai.PlanarImage getCurrentImage()
ILookPanelgetCurrentImage in interface ILookPanelpublic void setCurrentImage(javax.media.jai.PlanarImage currentImage)
ILookPanelsetCurrentImage in interface ILookPanelcurrentImage - the currentImage to setpublic void setIndexed(boolean isIndexed)
ILookPanelsetIndexed in interface ILookPanelisIndexed - the isIndexed to setpublic void setLut(short[][] lut)
ILookPanelsetLut in interface ILookPanellut - the lut to setpublic void setDoublePixelValue(double[] doublePixelValue)
ILookPanelsetDoublePixelValue in interface ILookPaneldoublePixelValue - the doublePixelValue to setpublic void setFloatPixelValue(float[] floatPixelValue)
ILookPanelsetFloatPixelValue in interface ILookPanelfloatPixelValue - the floatPixelValue to setpublic void setIntPixelValue(int[] intPixelValue)
ILookPanelsetIntPixelValue in interface ILookPanelintPixelValue - the intPixelValue to setpublic void setRenderedImage(javax.media.jai.PlanarImage rendImage)
ILookPanelsetRenderedImage in interface ILookPanelrendImage - the rendImage to setpublic StringBuffer getPixelInfo()
getPixelInfo in interface ILookPanelpublic void setPixelInfo(StringBuffer pixelInfo)
ILookPanelsetPixelInfo in interface ILookPanelpublic String getPixelInfoString()
ILookPanelgetPixelInfoString in interface ILookPanelpublic double getZoom()
ILookPanelgetZoom in interface ILookPanelpublic void setZoom(double zoom)
ILookPanelsetZoom in interface ILookPanelzoom - the zoom to setpublic void setViewOffset(Point p)
ILookPanelsetViewOffset in interface ILookPanelp - a Point representing pixel values in the real imagepublic JScrollPane getScrollPane()
ILookPanelgetScrollPane in interface ILookPanelJScrollPanepublic String getAdditionalText()
ILookPanelImageInfoPanel.getAdditionalText in interface ILookPanelpublic void setAdditionalText(String additionalText)
ILookPanelImageInfoPanel.setAdditionalText in interface ILookPaneladditionalText - the additionalText to setpublic void setImageInfoPanel(ImageInfoPanel imageInfoPanel)
imageInfoPanel - the imageInfoPanel to setpublic void deleteSelectedROI()
ArrayList to the current ROI.deleteSelectedROI in interface ILookPanelpublic void deleteAllROIShapesOnLayer()
deleteAllROIShapesOnLayer in interface ILookPanelpublic void deleteAllROIShapes()
deleteAllROIShapes in interface ILookPanelpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void componentResized(ComponentEvent e)
componentResized in interface ComponentListenerpublic void componentHidden(ComponentEvent arg0)
componentHidden in interface ComponentListenerpublic void componentMoved(ComponentEvent arg0)
componentMoved in interface ComponentListenerpublic void componentShown(ComponentEvent arg0)
componentShown in interface ComponentListenerpublic void updateImageLayer()
ImageLayer instance.updateImageLayer in interface ILookPanelpublic void updateLayerBounds(Dimension dim)
ILookPanelupdateLayerBounds in interface ILookPaneldim - the dimensionpublic PropertyChangeSupport getPcs()
ILookPanelgetPcs in interface ILookPanelpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic ZoomHelper getZoomHelper()
ZoomHelper instance associated with this instance.getZoomHelper in interface ILookPanelZoomHelper instancepublic boolean isEmpty()
isEmpty in interface ILookPaneltrue, if an item is displayed, false,
if notpublic boolean isFocusTraversable()
isFocusTraversable in class Componentpublic ROILayerSelectorPanel getROILayerSelectorPanel()
getROILayerSelectorPanel in interface ILookPanelROILayerSelectorPanelpublic void setROILayerSelectorPanel(ROILayerSelectorPanel roiLayerSelectorPanel)
roiLayerSelectorPanel - public List<IDrawingLayer> getROILayers()
getROILayers in interface ILookPanelList of all IDrawingLayers in this panelpublic IDrawingLayer getCurrentROILayer()
ILookPanelgetCurrentROILayer in interface ILookPanelIDrawingLayerpublic void resetAllImages()
public void updateColorChannels()
protected void paintComponent(Graphics g)
paintComponent in class JComponentprotected void paintChildren(Graphics g)
paintChildren in class JComponentpublic void updateNavigator()
updateNavigator in interface ILookPanelpublic ImageNavigatorPanel getImageNavigatorPanel()
ImageNavigatorPanel associated with
this instance.ImageNavigatorPanel of this instanceCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.