Class MultiProcessor
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.visualization.image.leftclick.AbstractLeftClickProcessor
-
- adams.gui.visualization.image.leftclick.MultiProcessor
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,ShallowCopySupporter<AbstractLeftClickProcessor>,SizeOfHandler,ImagePanelLeftClickListener,Serializable,EventListener
public class MultiProcessor extends AbstractLeftClickProcessor
Forwards the click event to all specified sub-processors.
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
-processor <adams.gui.visualization.image.leftclick.AbstractLeftClickProcessor> [-processor ...] (property: processors) The processors to use default:
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractLeftClickProcessor[]m_Processorsthe processors to use.-
Fields inherited from class adams.gui.visualization.image.leftclick.AbstractLeftClickProcessor
m_AltDown, m_CtrlDown, m_MetaDown, m_ShiftDown
-
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 MultiProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.protected voiddoProcessClick(ImagePanel panel, Point position, int modifiersEx)Does nothing.AbstractLeftClickProcessor[]getProcessors()Returns the processors to use.StringglobalInfo()Returns a string describing the object.StringprocessorsTipText()Returns the tip text for this property.voidsetProcessors(AbstractLeftClickProcessor[] value)Sets the processors to use.-
Methods inherited from class adams.gui.visualization.image.leftclick.AbstractLeftClickProcessor
altDownTipText, check, clicked, ctrlDownTipText, doImageChanged, getAltDown, getCtrlDown, getMetaDown, getShiftDown, imageChanged, metaDownTipText, processClick, setAltDown, setCtrlDown, setMetaDown, setShiftDown, shallowCopy, shallowCopy, shiftDownTipText
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, 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
-
-
-
-
Field Detail
-
m_Processors
protected AbstractLeftClickProcessor[] m_Processors
the processors to use.
-
-
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
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractLeftClickProcessor
-
setProcessors
public void setProcessors(AbstractLeftClickProcessor[] value)
Sets the processors to use.- Parameters:
value- the processors
-
getProcessors
public AbstractLeftClickProcessor[] getProcessors()
Returns the processors to use.- Returns:
- the processors
-
processorsTipText
public String processorsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
doProcessClick
protected void doProcessClick(ImagePanel panel, Point position, int modifiersEx)
Does nothing.- Specified by:
doProcessClickin classAbstractLeftClickProcessor- Parameters:
panel- the originposition- the top-left position of the cliclmodifiersEx- the associated modifiers
-
-