|
Treeviz 0.37 2010-10-17 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.tree.demo.LastModifiedWeighter
ch.randelshofer.tree.demo.LastModifiedByYearWeighter
public class LastModifiedByYearWeighter
LastModifiedByYearWeighter.
| Field Summary | |
|---|---|
protected int |
maxYear
|
protected int |
medianYear
|
protected int |
minYear
|
| Fields inherited from class ch.randelshofer.tree.demo.LastModifiedWeighter |
|---|
histogram, intFormat, max, median, min, shortWeightFormat |
| Constructor Summary | |
|---|---|
LastModifiedByYearWeighter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getHistogramLabel(int index)
|
float |
getMedianWeight()
|
float |
getWeight(TreePath2 path)
|
protected void |
histogramRecursive(TreeNode root)
|
void |
init(TreeNode root)
|
| Methods inherited from class ch.randelshofer.tree.demo.LastModifiedWeighter |
|---|
collectDatesRecursive, getHistogram, getHistogramLabel_old, getMaximumWeightLabel, getMinimumWeightLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int minYear
protected int maxYear
protected int medianYear
| Constructor Detail |
|---|
public LastModifiedByYearWeighter()
| Method Detail |
|---|
public void init(TreeNode root)
init in interface Weighterinit in class LastModifiedWeighterprotected void histogramRecursive(TreeNode root)
histogramRecursive in class LastModifiedWeighterpublic float getMedianWeight()
getMedianWeight in interface WeightergetMedianWeight in class LastModifiedWeighterpublic float getWeight(TreePath2 path)
getWeight in interface WeightergetWeight in class LastModifiedWeighterpublic java.lang.String getHistogramLabel(int index)
getHistogramLabel in interface WeightergetHistogramLabel in class LastModifiedWeighter
|
Copyright 2007-2008 (c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||