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


Field Summary
 
Fields inherited from class EVolve.visualization.Dimension
dataFilter
 
Constructor Summary
ReferenceDimension()
           
 
Method Summary
 void addComparator(EntityComparator comparator)
           
 void clearEntityMap()
           
 java.lang.Object clone()
           
 java.util.ArrayList getComparator()
           
 Entity[] getEntities()
           
 Entity getEntity(int index)
           
 Entity getEntityFromInt(int mappedId)
           
 java.util.HashMap getEntityName2IntMap()
           
 int getEntityNumber()
           
 int getEntityNumberBeforeLink()
           
 long getField(Element element)
          Gets the data from the element.
 java.util.HashMap getInt2EntityMap()
           
 int getMaxEntityNumber()
           
 int[] getOrdering()
           
 int getOriginMappedId(int sortedId)
           
 int getSelectedComparatorIndex()
           
 java.lang.String getSelectedComparatorName()
           
 int getSortedIndex(int mappedId)
           
 void linkEntities(java.util.HashSet linkedEntity)
           
 void makeSelection(int sourceType, int[] selection)
           
 void makeSelection(int sourceType, int[] selection, long start, long end, java.util.ArrayList timeMap)
           
 void preVisualize()
           
 void restore()
           
 void selectComparator(int selectedIndex)
           
 void updateOrdering(int[] newOrder)
           
 void visualize()
           
 
Methods inherited from class EVolve.visualization.Dimension
getDataFilter, getName, setDataFilter
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceDimension

public ReferenceDimension()
Method Detail

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