Package adams.gui.visualization.heatmap
Class HeatmapContainerManager
- java.lang.Object
-
- adams.gui.visualization.container.AbstractContainerManager<HeatmapContainer>
-
- adams.gui.visualization.heatmap.HeatmapContainerManager
-
- All Implemented Interfaces:
adams.gui.visualization.container.NamedContainerManager,Serializable
public class HeatmapContainerManager extends adams.gui.visualization.container.AbstractContainerManager<HeatmapContainer> implements adams.gui.visualization.container.NamedContainerManager
Container manager for heatmaps.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HeatmapContainerManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intindexOf(String id)Returns the index of the first ID or display ID that matches the specified one.protected booleanisMatch(HeatmapContainer cont, String search, boolean regExp)Returns whether the container matches the current search.HeatmapContainernewContainer(Comparable o)Returns a new container containing the given payload.-
Methods inherited from class adams.gui.visualization.container.AbstractContainerManager
add, addAll, addDataChangeListener, clear, clearSearch, contains, count, countFiltered, finishUpdate, finishUpdate, get, getAll, getAllowRemoval, getFiltered, getFilteredIndices, indexOf, indexOfFiltered, isFiltered, isFiltered, isUpdating, notifyDataChangeListeners, postAdd, postSet, preAdd, preSet, remove, removeDataChangeListener, search, set, setAllowRemoval, startUpdate, toString, updateSearch, updateSearchOnUpdate
-
-
-
-
Method Detail
-
indexOf
public int indexOf(String id)
Returns the index of the first ID or display ID that matches the specified one.- Specified by:
indexOfin interfaceadams.gui.visualization.container.NamedContainerManager- Parameters:
id- the ID/display ID to look for- Returns:
- the index or -1 if not found
-
newContainer
public HeatmapContainer newContainer(Comparable o)
Returns a new container containing the given payload.- Specified by:
newContainerin classadams.gui.visualization.container.AbstractContainerManager<HeatmapContainer>- Parameters:
o- the payload to encapsulate- Returns:
- the new container
-
isMatch
protected boolean isMatch(HeatmapContainer cont, String search, boolean regExp)
Returns whether the container matches the current search.- Specified by:
isMatchin classadams.gui.visualization.container.AbstractContainerManager<HeatmapContainer>- Parameters:
cont- the container to checksearch- the search stringregExp- whether to perform regular expression matching
-
-