Package adams.gui.flow.multipageaction
Class CompareFlows
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.flow.multipageaction.AbstractMultiPageMenuItem
-
- adams.gui.flow.multipageaction.CompareFlows
-
- All Implemented Interfaces:
LoggingSupporter
,SizeOfHandler
,Serializable
,Comparable<AbstractMultiPageMenuItem>
public class CompareFlows extends AbstractMultiPageMenuItem
Lets the user compare two flows.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description CompareFlows()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
compare(FlowMultiPagePane multi, FlowPanel actor1, FlowPanel actor2)
Compares the two actors.String
getGroup()
The name of the group this item belongs to.String
getIconName()
The name of the icon to use.JMenuItem
getMenuItem(FlowMultiPagePane multi)
Creates the menu item.String
getName()
The name for the menu item.-
Methods inherited from class adams.gui.flow.multipageaction.AbstractMultiPageMenuItem
compareTo, equals, getIcon
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
getName
public String getName()
The name for the menu item.- Specified by:
getName
in classAbstractMultiPageMenuItem
- Returns:
- the name
-
getGroup
public String getGroup()
The name of the group this item belongs to.- Specified by:
getGroup
in classAbstractMultiPageMenuItem
- Returns:
- the name
-
getIconName
public String getIconName()
The name of the icon to use.- Specified by:
getIconName
in classAbstractMultiPageMenuItem
- Returns:
- the name
-
compare
protected void compare(FlowMultiPagePane multi, FlowPanel actor1, FlowPanel actor2)
Compares the two actors.- Parameters:
multi
- the owneractor1
- the first actor panelactor2
- the second actor panel
-
getMenuItem
public JMenuItem getMenuItem(FlowMultiPagePane multi)
Creates the menu item.- Specified by:
getMenuItem
in classAbstractMultiPageMenuItem
-
-