Class Adjust
- java.lang.Object
-
- adams.gui.visualization.container.datacontainerpanel.AbstractPopupCustomizer<T,M,C>
-
- adams.gui.visualization.container.datacontainerpanel.plotpopup.AbstractPlotPopupCustomizer<Timeseries,TimeseriesContainerManager,TimeseriesContainer>
-
- adams.gui.visualization.timeseries.plotpopup.Adjust
-
- All Implemented Interfaces:
Serializable
public class Adjust extends AbstractPlotPopupCustomizer<Timeseries,TimeseriesContainerManager,TimeseriesContainer>
Whether to adjust the plot to the loaded or visible data.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Adjust()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customize(DataContainerPanelWithContainerList<Timeseries,TimeseriesContainerManager,TimeseriesContainer> panel, MouseEvent e, JPopupMenu menu)
Returns a popup menu for the table of the container list.String
getGroup()
The group this customizer belongs to.String
getName()
The name.boolean
handles(DataContainerPanelWithContainerList<Timeseries,TimeseriesContainerManager,TimeseriesContainer> panel)
Checks whether this action can handle the panel.
-
-
-
Method Detail
-
getName
public String getName()
The name.- Specified by:
getName
in classAbstractPopupCustomizer<Timeseries,TimeseriesContainerManager,TimeseriesContainer>
- Returns:
- the name
-
getGroup
public String getGroup()
The group this customizer belongs to.- Specified by:
getGroup
in classAbstractPopupCustomizer<Timeseries,TimeseriesContainerManager,TimeseriesContainer>
- Returns:
- the group
-
handles
public boolean handles(DataContainerPanelWithContainerList<Timeseries,TimeseriesContainerManager,TimeseriesContainer> panel)
Checks whether this action can handle the panel.- Specified by:
handles
in classAbstractPopupCustomizer<Timeseries,TimeseriesContainerManager,TimeseriesContainer>
- Parameters:
panel
- the panel to check- Returns:
- true if handled
-
customize
public void customize(DataContainerPanelWithContainerList<Timeseries,TimeseriesContainerManager,TimeseriesContainer> panel, MouseEvent e, JPopupMenu menu)
Returns a popup menu for the table of the container list.- Specified by:
customize
in classAbstractPlotPopupCustomizer<Timeseries,TimeseriesContainerManager,TimeseriesContainer>
- Parameters:
panel
- the affected panele
- the mouse eventmenu
- the popup menu to customize
-
-