Class AbstractContainerListPopupCustomizer<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.containerlistpopup.AbstractContainerListPopupCustomizer<T,M,C>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChooseColor
,CopyID
,HideAll
,Information
,Notes
,Remove
,RemoveAll
,Reports
,SaveAs
,SaveAs
,SaveAs
,ShowAll
,StoreColorInReport
,StoreValueInReport
,ToggleVisibility
,UpdateID
,ViewAsTable
,ViewAsTable
,ViewAsTable
,ViewAsTable
public abstract class AbstractContainerListPopupCustomizer<T extends DataContainer,M extends AbstractContainerManager,C extends AbstractContainer> extends AbstractPopupCustomizer<T,M,C>
Ancestor for actions for the container list popup menu.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractContainerListPopupCustomizer.Context<T extends DataContainer,M extends AbstractContainerManager,C extends AbstractContainer>
Container for the context.
-
Constructor Summary
Constructors Constructor Description AbstractContainerListPopupCustomizer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AbstractContainerListPopupCustomizer.Context<T,M,C>
createContext(DataContainerPanelWithContainerList<T,M,C> panel, ContainerTable<M,C> table, int row)
Generates the context container.abstract void
customize(AbstractContainerListPopupCustomizer.Context<T,M,C> context, JPopupMenu menu)
Returns a popup menu for the table of the container list.-
Methods inherited from class adams.gui.visualization.container.datacontainerpanel.AbstractPopupCustomizer
getGroup, getName, handles
-
-
-
-
Method Detail
-
customize
public abstract void customize(AbstractContainerListPopupCustomizer.Context<T,M,C> context, JPopupMenu menu)
Returns a popup menu for the table of the container list.- Parameters:
context
- the contextmenu
- the popup menu to customize
-
createContext
public AbstractContainerListPopupCustomizer.Context<T,M,C> createContext(DataContainerPanelWithContainerList<T,M,C> panel, ContainerTable<M,C> table, int row)
Generates the context container.- Parameters:
panel
- the paneltable
- the tablerow
- the row- Returns:
- the context
-
-