Class ThreeWayDataContainerManager
- java.lang.Object
-
- adams.gui.visualization.container.AbstractContainerManager<ThreeWayDataContainer>
-
- adams.gui.visualization.threewaydata.heatmapviewer.ThreeWayDataContainerManager
-
- All Implemented Interfaces:
adams.gui.visualization.container.NamedContainerManager
,Serializable
public class ThreeWayDataContainerManager extends adams.gui.visualization.container.AbstractContainerManager<ThreeWayDataContainer> implements adams.gui.visualization.container.NamedContainerManager
Container manager for heatmaps.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ThreeWayDataContainerManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
indexOf(String id)
Returns the index of the first ID or display ID that matches the specified one.protected boolean
isMatch(ThreeWayDataContainer cont, String search, boolean regExp)
Returns whether the container matches the current search.ThreeWayDataContainer
newContainer(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:
indexOf
in interfaceadams.gui.visualization.container.NamedContainerManager
- Parameters:
id
- the ID/display ID to look for- Returns:
- the index or -1 if not found
-
newContainer
public ThreeWayDataContainer newContainer(Comparable o)
Returns a new container containing the given payload.- Specified by:
newContainer
in classadams.gui.visualization.container.AbstractContainerManager<ThreeWayDataContainer>
- Parameters:
o
- the payload to encapsulate- Returns:
- the new container
-
isMatch
protected boolean isMatch(ThreeWayDataContainer cont, String search, boolean regExp)
Returns whether the container matches the current search.- Specified by:
isMatch
in classadams.gui.visualization.container.AbstractContainerManager<ThreeWayDataContainer>
- Parameters:
cont
- the container to checksearch
- the search stringregExp
- whether to perform regular expression matching
-
-