|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.model.visual.Statistic
public class Statistic
The Statistics class represents single row of statistics of given domain model, which corresponds to single graph node. The important properties of the default statistics are:
Constructor Summary | |
---|---|
Statistic(java.lang.String nodeName)
|
|
Statistic(java.lang.String nodeName,
double outgoing,
double incoming)
|
|
Statistic(java.lang.String nodeName,
int outgoing,
int incoming)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getNodeName()
The name of the node which correspond to this statistics row. |
double |
getSource()
The value of the statistics for the source edges. |
java.lang.String |
getSourceLabel()
The label (i.e. |
double |
getTarget()
The value of the statistics for the target edges. |
java.lang.String |
getTargetLabel()
The label (i.e. |
double |
getTotal()
The total value of the statistics row. |
java.lang.String |
getTotalLabel()
The label of the total value of the statistics row. |
int |
hashCode()
|
boolean |
isSummary()
Is the statistic row a special (summary) row? It will always appear at the end of the statistics dialog. |
void |
setNodeName(java.lang.String nodeName)
|
void |
setSource(double outgoing)
|
void |
setSummary(boolean value)
Set the summary flag |
void |
setTarget(double incoming)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Statistic(java.lang.String nodeName, int outgoing, int incoming)
public Statistic(java.lang.String nodeName, double outgoing, double incoming)
public Statistic(java.lang.String nodeName)
Method Detail |
---|
public void setSummary(boolean value)
value
- The new flag valuepublic boolean isSummary()
public java.lang.String getNodeName()
public void setNodeName(java.lang.String nodeName)
public double getSource()
public void setSource(double outgoing)
public double getTarget()
public void setTarget(double incoming)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getTargetLabel()
public java.lang.String getSourceLabel()
public double getTotal()
public java.lang.String getTotalLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |