DESY ACOP Beans Home
de.desy.acop.video
Class DisplayerManager
java.lang.Object
java.awt.event.MouseAdapter
de.desy.acop.video.DisplayerManager
- All Implemented Interfaces:
- java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener
public class DisplayerManager
- extends java.awt.event.MouseAdapter
DisplayerManager manages the ImageDisplayer and the two
SideProfileDisplayers contained in AcopVideo. It is
supposed to give a better overview of updating the displayers.
- Author:
- Tilen Kusterle, Cosylab
Methods inherited from class java.awt.event.MouseAdapter |
mouseEntered, mouseExited, mouseMoved, mouseWheelMoved |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_ON_SCREEN_ROI
public static final java.lang.String PROPERTY_ON_SCREEN_ROI
- See Also:
- Constant Field Values
DisplayerManager
public DisplayerManager(ImageAnalysisEngine imageAnalysisEngine,
ImageDisplayer imageDisplayer,
SideProfileDisplayer horizontalDisplayer,
SideProfileDisplayer verticalDisplayer)
setDisplayStatistics
public void setDisplayStatistics(boolean display)
isDisplayStatistics
public boolean isDisplayStatistics()
updateImageDisplayerSize
public void updateImageDisplayerSize(java.awt.Dimension size)
updateAImage
public void updateAImage(AImage aImage)
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interface java.awt.event.MouseListener
- Overrides:
mouseClicked
in class java.awt.event.MouseAdapter
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Specified by:
mouseDragged
in interface java.awt.event.MouseMotionListener
- Overrides:
mouseDragged
in class java.awt.event.MouseAdapter
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interface java.awt.event.MouseListener
- Overrides:
mousePressed
in class java.awt.event.MouseAdapter
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interface java.awt.event.MouseListener
- Overrides:
mouseReleased
in class java.awt.event.MouseAdapter
getDraggingRectangle
public java.awt.geom.Rectangle2D getDraggingRectangle()
isRoiSelected
public boolean isRoiSelected()
getScaledSelectedRectangle
public java.awt.geom.Rectangle2D getScaledSelectedRectangle()
isThresholdROISelected
public boolean isThresholdROISelected()
getScaledThresholdROIRectangle
public java.awt.geom.Rectangle2D getScaledThresholdROIRectangle()
isCrossAvailable
public boolean isCrossAvailable()
getCross
public java.awt.Shape getCross()
isCrossFitAvailable
public boolean isCrossFitAvailable()
getCrossFit
public java.awt.Shape getCrossFit()
getViewPortListener
public javax.swing.event.ChangeListener getViewPortListener()
isCanChangeSettings
public boolean isCanChangeSettings()
- Returns:
- the canChangeSettings
setCanChangeSettings
public void setCanChangeSettings(boolean canChangeSettings)
- Parameters:
canChangeSettings
- the canChangeSettings to set
addPropertyChangeListener
public void addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
- Adds a PropertyChangeListener for the specified propertyName.
- Parameters:
propertyName
- the name of the propertylistener
- the PropertyChangeListener to add
removePropertyChangeListener
public void removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
- Removes a PropertyChangeListener for the specified propertyName.
- Parameters:
propertyName
- the name of the propertylistener
- the PropertyChangeListener to remove
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
- Adds a PropertyChangeListener.
- Parameters:
listener
- the PropertyChangeListener to add
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
- Removes a PropertyChangeListener.
- Parameters:
listener
- the PropertyChangeListener to remove
Copyright © 2010. All Rights Reserved.