Class ViewAsTable
- java.lang.Object
-
- adams.gui.visualization.container.datacontainerpanel.AbstractPopupCustomizer<T,M,C>
-
- adams.gui.visualization.container.datacontainerpanel.containerlistpopup.AbstractContainerListPopupCustomizer<Instance,InstanceContainerManager,InstanceContainer>
-
- adams.gui.visualization.instance.containerlistpopup.ViewAsTable
-
- All Implemented Interfaces:
Serializable
public class ViewAsTable extends adams.gui.visualization.container.datacontainerpanel.containerlistpopup.AbstractContainerListPopupCustomizer<Instance,InstanceContainerManager,InstanceContainer>
Views the selected instance as table.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class adams.gui.visualization.container.datacontainerpanel.containerlistpopup.AbstractContainerListPopupCustomizer
adams.gui.visualization.container.datacontainerpanel.containerlistpopup.AbstractContainerListPopupCustomizer.Context<T extends adams.data.container.DataContainer,M extends adams.gui.visualization.container.AbstractContainerManager,C extends adams.gui.visualization.container.AbstractContainer>
-
-
Constructor Summary
Constructors Constructor Description ViewAsTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customize(adams.gui.visualization.container.datacontainerpanel.containerlistpopup.AbstractContainerListPopupCustomizer.Context<Instance,InstanceContainerManager,InstanceContainer> context, 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(adams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer> panel)
Checks whether this action can handle the panel.
-
-
-
Method Detail
-
getName
public String getName()
The name.- Specified by:
getName
in classadams.gui.visualization.container.datacontainerpanel.AbstractPopupCustomizer<Instance,InstanceContainerManager,InstanceContainer>
- Returns:
- the name
-
getGroup
public String getGroup()
The group this customizer belongs to.- Specified by:
getGroup
in classadams.gui.visualization.container.datacontainerpanel.AbstractPopupCustomizer<Instance,InstanceContainerManager,InstanceContainer>
- Returns:
- the group
-
handles
public boolean handles(adams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer> panel)
Checks whether this action can handle the panel.- Specified by:
handles
in classadams.gui.visualization.container.datacontainerpanel.AbstractPopupCustomizer<Instance,InstanceContainerManager,InstanceContainer>
- Parameters:
panel
- the panel to check- Returns:
- true if handled
-
customize
public void customize(adams.gui.visualization.container.datacontainerpanel.containerlistpopup.AbstractContainerListPopupCustomizer.Context<Instance,InstanceContainerManager,InstanceContainer> context, JPopupMenu menu)
Returns a popup menu for the table of the container list.- Specified by:
customize
in classadams.gui.visualization.container.datacontainerpanel.containerlistpopup.AbstractContainerListPopupCustomizer<Instance,InstanceContainerManager,InstanceContainer>
- Parameters:
context
- the contextmenu
- the popup menu to customize
-
-