|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static java.lang.String |
DAMPING_FACTOR
|
static java.lang.String |
DELTA_TIME
|
static java.lang.String |
FREENESS
|
static java.lang.String |
GRAVITY_DAMPING_FORCE
|
static java.lang.String |
GRAVITY_FORCE
|
static java.lang.String |
LAYOUT_BOUNDS
|
static java.lang.String |
RANGE_HI
|
static java.lang.String |
RANGE_LO
|
static java.lang.String |
SPRING_FORCE
|
static java.lang.String |
TIME_DAMPING_FORCE
|
static java.lang.String |
TIME_FORCE
|
Fields inherited from class java.io.Serializable |
serialVersionUID |
Method Summary | |
void |
doIteration()
Method to perform one iteration of the layout algorithm for this layout model |
double |
getApproxError()
Calculates the approximate error in this layout, does this by calcing the value for a subset of the data set to get an approximation of the error without slowing down the layout too much. |
double |
getApproxVelocity()
Returns an approximation of the average velocity in the data set |
double |
getAvgError()
Returns the average error in the data set |
double |
getAvgVelocity()
Returns the average velocity in the data set |
DataItem |
getDataItem(int index)
Returns the data item at index index. |
DataItemCollection |
getDataItemCollection()
Returns the dataItemCollection object that this layoutmodel is representing. |
java.util.List |
getDisplayableItems()
Returns the indices of the items which are displayable. |
long |
getExecutionTime()
Returns the number of milliseconds that the algorithm has been running for. |
int |
getNumIterations()
Returns the number of iterations that have been carried out by this layout model |
Coordinate |
getPosition(int index)
Returns the coordinate position of the object corresponding to the index index |
java.util.Properties |
getProperties()
Returns the properties object used by a layout model |
void |
updateValues()
called whenever the values for this layout model have been altered externally, so that the system knows to update their values |
Field Detail |
public static final java.lang.String LAYOUT_BOUNDS
public static final java.lang.String RANGE_HI
public static final java.lang.String RANGE_LO
public static final java.lang.String DAMPING_FACTOR
public static final java.lang.String SPRING_FORCE
public static final java.lang.String GRAVITY_FORCE
public static final java.lang.String GRAVITY_DAMPING_FORCE
public static final java.lang.String TIME_FORCE
public static final java.lang.String TIME_DAMPING_FORCE
public static final java.lang.String FREENESS
public static final java.lang.String DELTA_TIME
Method Detail |
public void doIteration() throws TooManyIterationsException
public Coordinate getPosition(int index)
index
- The index of the objectpublic DataItem getDataItem(int index)
index
- The index of the data item wantedpublic DataItemCollection getDataItemCollection()
public java.util.List getDisplayableItems()
public int getNumIterations()
public long getExecutionTime()
public double getApproxError()
public double getAvgError()
public double getApproxVelocity()
public double getAvgVelocity()
public java.util.Properties getProperties()
public void updateValues()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |