org.apache.accumulo.server.monitor.util.celltypes
Class ProgressChartType

java.lang.Object
  extended by org.apache.accumulo.server.monitor.util.celltypes.CellType<T>
      extended by org.apache.accumulo.server.monitor.util.celltypes.NumberType<Double>
          extended by org.apache.accumulo.server.monitor.util.celltypes.ProgressChartType
All Implemented Interfaces:
Comparator<Double>

public class ProgressChartType
extends NumberType<Double>


Constructor Summary
ProgressChartType()
           
ProgressChartType(Double total)
           
 
Method Summary
 String format(Object obj)
           
static String getChart(double num, double total)
           
 
Methods inherited from class org.apache.accumulo.server.monitor.util.celltypes.NumberType
alignment, bigNumber, bigNumber, bigNumber, bigNumber, commas, commas, commas, commas, commas, commas, compare
 
Methods inherited from class org.apache.accumulo.server.monitor.util.celltypes.CellType
isSortable, setSortable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ProgressChartType

public ProgressChartType()

ProgressChartType

public ProgressChartType(Double total)
Method Detail

format

public String format(Object obj)
Overrides:
format in class NumberType<Double>

getChart

public static String getChart(double num,
                              double total)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.