EVolve.visualization
Class ReferenceDimension
java.lang.Object
|
+--EVolve.visualization.Dimension
|
+--EVolve.visualization.ReferenceDimension
- All Implemented Interfaces:
- java.lang.Cloneable
- public class ReferenceDimension
- extends Dimension
- implements java.lang.Cloneable
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferenceDimension
public ReferenceDimension()
getMaxEntityNumber
public int getMaxEntityNumber()
getEntityNumber
public int getEntityNumber()
- Overrides:
getEntityNumber
in class Dimension
getField
public long getField(Element element)
- Description copied from class:
Dimension
- Gets the data from the element.
- Specified by:
getField
in class Dimension
- Returns:
- id of the entity if the field is a reference, or the value if the field is a value
preVisualize
public void preVisualize()
- Specified by:
preVisualize
in class Dimension
restore
public void restore()
visualize
public void visualize()
throws NoDataPlotException
NoDataPlotException
getEntity
public Entity getEntity(int index)
getComparator
public java.util.ArrayList getComparator()
selectComparator
public void selectComparator(int selectedIndex)
addComparator
public void addComparator(EntityComparator comparator)
getSortedIndex
public int getSortedIndex(int mappedId)
getOriginMappedId
public int getOriginMappedId(int sortedId)
makeSelection
public void makeSelection(int sourceType,
int[] selection)
makeSelection
public void makeSelection(int sourceType,
int[] selection,
long start,
long end,
java.util.ArrayList timeMap)
getEntities
public Entity[] getEntities()
linkEntities
public void linkEntities(java.util.HashSet linkedEntity)
clearEntityMap
public void clearEntityMap()
getSelectedComparatorIndex
public int getSelectedComparatorIndex()
getSelectedComparatorName
public java.lang.String getSelectedComparatorName()
getOrdering
public int[] getOrdering()
updateOrdering
public void updateOrdering(int[] newOrder)
getEntityNumberBeforeLink
public int getEntityNumberBeforeLink()
getEntityName2IntMap
public java.util.HashMap getEntityName2IntMap()
getInt2EntityMap
public java.util.HashMap getInt2EntityMap()
getEntityFromInt
public Entity getEntityFromInt(int mappedId)
clone
public java.lang.Object clone()
- Overrides:
clone
in class Dimension