Class Notes<T extends DataContainer,M extends AbstractContainerManager,C extends AbstractContainer>
- java.lang.Object
-
- adams.gui.visualization.container.datacontainerpanel.AbstractPopupCustomizer<T,M,C>
-
- adams.gui.visualization.container.datacontainerpanel.plotpopup.AbstractPlotPopupCustomizer<T,M,C>
-
- adams.gui.visualization.container.datacontainerpanel.plotpopup.Notes<T,M,C>
-
- All Implemented Interfaces:
Serializable
public class Notes<T extends DataContainer,M extends AbstractContainerManager,C extends AbstractContainer> extends AbstractPlotPopupCustomizer<T,M,C>
For displaying the notes.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Notes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcustomize(DataContainerPanelWithContainerList<T,M,C> panel, MouseEvent e, JPopupMenu menu)Returns a popup menu for the table of the container list.StringgetGroup()The group this customizer belongs to.StringgetName()The name.booleanhandles(DataContainerPanelWithContainerList<T,M,C> panel)Checks whether this action can handle the panel.
-
-
-
Method Detail
-
getName
public String getName()
The name.- Specified by:
getNamein classAbstractPopupCustomizer<T extends DataContainer,M extends AbstractContainerManager,C extends AbstractContainer>- Returns:
- the name
-
getGroup
public String getGroup()
The group this customizer belongs to.- Specified by:
getGroupin classAbstractPopupCustomizer<T extends DataContainer,M extends AbstractContainerManager,C extends AbstractContainer>- Returns:
- the group
-
handles
public boolean handles(DataContainerPanelWithContainerList<T,M,C> panel)
Checks whether this action can handle the panel.- Specified by:
handlesin classAbstractPopupCustomizer<T extends DataContainer,M extends AbstractContainerManager,C extends AbstractContainer>- Parameters:
panel- the panel to check- Returns:
- true if handled
-
customize
public void customize(DataContainerPanelWithContainerList<T,M,C> panel, MouseEvent e, JPopupMenu menu)
Returns a popup menu for the table of the container list.- Specified by:
customizein classAbstractPlotPopupCustomizer<T extends DataContainer,M extends AbstractContainerManager,C extends AbstractContainer>- Parameters:
panel- the affected panele- the mouse eventmenu- the popup menu to customize
-
-