public class TransparentROILayer extends DefaultDrawingLayer
JLabel.AccessibleJLabelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
The UID for serialization.
|
allROIShapes, angleROIs, angleShape, boundEditableRectangles, boundEditableRectanglesUntransformed, canvasMover, clickedROIShape, contextPopupListener, contextPopupMenu, currentAngleROI, currentEllipseROI, currentFreehandROI, currentLineROI, currentPointROI, currentPolygonROI, currentRectangleROI, currentROIShape, cursorChanger, defaultLayerColor, defaultROIStroke, displayPanel, ellipseROIs, freehandROIs, freehandShape, highlightColor, highlightStroke, id, isInsidePtEast, isInsidePtNorth, isInsidePtNorthEast, isInsidePtNorthWest, isInsidePtSouth, isInsidePtSouthEast, isInsidePtSouthWest, isInsidePtWest, isInsideRoi, isROIDragging, isSelected, isVisible, lineROIBoundaryColor, lineROIBoundaryRectangleColor, lineROIBoundaryStroke, lineROIs, name, numAnglePoints, numPolyPoints, pcs, pointROIs, polygonROIs, polygonShape, rectangleROIs, roiBoundaryColor, roiBoundaryRectangleColor, roiBoundaryStroke, roiShapeForHighlighting, roiShiftX0, roiShiftY0, roiX0, roiY0, tmpROIShape, tmpROIShapeColor, zOrderlistenerList, 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_ALIGNMENTACTIVE_FRONT_LAYER, DEFAULT_IMAGE_LAYER, DEFAULT_LAYER_COLOR, DEFAULT_LAYER_COLOR_NAME, DEFAULT_LAYER_STROKE, DEFAULT_LAYER_STROKE_NAME, DRAGGING_LAYER, HIGHLIGHT_COLOR, HIGHLIGHT_COLOR_NAME, HIGHLIGHT_STROKE, HIGHLIGHT_STROKE_NAMEBOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WESTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
TransparentROILayer()
Create a new transparent ROI layer.
|
TransparentROILayer(ILookPanel displayPanel) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Initializes the layer with the context menu and listeners.
|
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
void |
mouseWheelMoved(MouseWheelEvent e) |
addAllDefaultListeners, addDefaultCanvasMover, createContextMenuAndBehavior, deleteAllROIs, deleteROI, deleteROIs, deleteSelectedROI, drawAngleROI, drawAngleROIs, drawEllipseROI, drawEllipseROIs, drawFreehandROI, drawFreehandROIs, drawLineROI, drawLineROIs, drawPointROI, drawPointROIs, drawPolygonROI, drawPolygonROIs, drawRectangleROI, drawRectangleROIs, drawROI, drawROIs, fireNewProperties, getAllROIShapes, getAngleROIs, getAngleShape, getBoundEditableRectangles, getBoundEditableRectanglesUntransformed, getClickedROIShape, getCurrentAngleROI, getCurrentEllipseROI, getCurrentFreehandROI, getCurrentLineROI, getCurrentPointROI, getCurrentPolygonROI, getCurrentRectangleROI, getCurrentROIShape, getCursorChanger, getDefaultLayerColor, getDefaultROIStroke, getDisplayPanel, getElementCount, getEllipseROIs, getFreehandROIs, getFreehandShape, getHighlightColor, getHighlightStroke, getID, getLayerColor, getLineROIBoundaryColor, getLineROIBoundaryRectangleColor, getLineROIs, getName, getNumAnglePoints, getNumPolyPoints, getPointROIs, getPolygonROIs, getPolygonShape, getRectangleROIs, getRoiBoundaryRectangleColor, getRoiShapeForHighlighting, getRoiShiftX0, getRoiShiftY0, getRoiX0, getRoiY0, getTmpROIShape, getTmpROIShapeColor, getZOrder, hasROIs, isEmpty, isInsidePtEast, isInsidePtNorth, isInsidePtNorthEast, isInsidePtNorthWest, isInsidePtSouth, isInsidePtSouthEast, isInsidePtSouthWest, isInsidePtWest, isInsideRoi, isLayerVisible, isROIDragging, isSelected, mousePressed, paintComponent, removeAllDefaultListeners, removeDefaultCanvasMover, removeRoiShapeForHighlighting, removeTmpROIShape, setAllROIShapes, setAngleROIs, setAngleShape, setBoundEditableRectangles, setBoundEditableRectanglesUntransformed, setClickedROIShape, setCurrentAngleROI, setCurrentEllipseROI, setCurrentFreehandROI, setCurrentLineROI, setCurrentPointROI, setCurrentPolygonROI, setCurrentRectangleROI, setCurrentROIShape, setCursorChanger, setDefaultLayerColor, setDefaultROIStroke, setDisplayPanel, setEllipseROIs, setFreehandROIs, setFreehandShape, setHighlightColor, setHighlightStroke, setID, setInsidePtEast, setInsidePtNorth, setInsidePtNorthEast, setInsidePtNorthWest, setInsidePtSouth, setInsidePtSouthEast, setInsidePtSouthWest, setInsidePtWest, setInsideRoi, setLayerColor, setLayerVisible, setLineROIBoundaryColor, setLineROIBoundaryRectangleColor, setLineROIs, setName, setNumAnglePoints, setNumPolyPoints, setPointROIs, setPolygonROIs, setPolygonShape, setRectangleROIs, setRoiBoundaryRectangleColor, setROIDragging, setRoiShapeForHighlighting, setRoiShiftX0, setRoiShiftY0, setRoiX0, setRoiY0, setSelected, setTmpROIShape, setTmpROIShapeColor, setZOrder, toString, updatecheckHorizontalKey, checkVerticalKey, getAccessibleContext, getDisabledIcon, getDisplayedMnemonic, getDisplayedMnemonicIndex, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getLabelFor, getText, getUI, getUIClassID, getVerticalAlignment, getVerticalTextPosition, imageUpdate, paramString, setDisabledIcon, setDisplayedMnemonic, setDisplayedMnemonic, setDisplayedMnemonicIndex, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabelFor, setText, setUI, setVerticalAlignment, setVerticalTextPosition, 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, paintChildren, 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, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, 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, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetCursorprivate static final long serialVersionUID
public TransparentROILayer()
public TransparentROILayer(ILookPanel displayPanel)
public void initialize()
DefaultDrawingLayerinitialize in class DefaultDrawingLayerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenermouseReleased in class DefaultDrawingLayerpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenermouseMoved in class DefaultDrawingLayerpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenermouseDragged in class DefaultDrawingLayerpublic void mouseEntered(MouseEvent e)
public void mouseExited(MouseEvent e)
public void mouseClicked(MouseEvent e)
public void mouseWheelMoved(MouseWheelEvent e)
mouseWheelMoved in interface MouseWheelListenermouseWheelMoved in class DefaultDrawingLayerCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.