Package adams.gui.visualization.core
Class TrackMousePositionInConsole
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.visualization.core.AbstractMouseMovementTracker
-
- adams.gui.visualization.core.TrackMousePositionInConsole
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,ShallowCopySupporter<MouseMovementTracker>,SizeOfHandler,MouseMovementTracker,Serializable
public class TrackMousePositionInConsole extends AbstractMouseMovementTracker
Simply outputs the mouse position in the console.
Valid options are:
-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.visualization.core.AbstractMouseMovementTracker
m_Panel
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description TrackMousePositionInConsole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringglobalInfo()Returns a string describing the object.voidmouseMovementTracked(MouseEvent e)Gets triggered when the mouse moved.-
Methods inherited from class adams.gui.visualization.core.AbstractMouseMovementTracker
forCommandLine, forName, getMouseMovementTrackers, getPanel, getPlot, hasPanel, initialize, setPanel, shallowCopy, shallowCopy, shallowCopyTracker, shallowCopyTracker
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
mouseMovementTracked
public void mouseMovementTracked(MouseEvent e)
Gets triggered when the mouse moved.- Specified by:
mouseMovementTrackedin interfaceMouseMovementTracker- Specified by:
mouseMovementTrackedin classAbstractMouseMovementTracker- Parameters:
e- the mouse event that triggered the event
-
-