org.jdesktop.wonderland.client.cell
Class CellStatistics.SizeCellStat

java.lang.Object
  extended by org.jdesktop.wonderland.client.cell.CellStatistics.CellStat
      extended by org.jdesktop.wonderland.client.cell.CellStatistics.LongCellStat
          extended by org.jdesktop.wonderland.client.cell.CellStatistics.SizeCellStat
Enclosing class:
CellStatistics

public static class CellStatistics.SizeCellStat
extends CellStatistics.LongCellStat

A statistic representing a size in bytes. The display will automatically format into bytes, kilobytes or megabytes, depending on the value.


Constructor Summary
CellStatistics.SizeCellStat(java.lang.String id)
           
CellStatistics.SizeCellStat(java.lang.String id, java.lang.String desc)
           
 
Method Summary
 java.lang.String getValue()
          Get the value of this statistic.
 
Methods inherited from class org.jdesktop.wonderland.client.cell.CellStatistics.LongCellStat
changeValue, getLongValue, setValue
 
Methods inherited from class org.jdesktop.wonderland.client.cell.CellStatistics.CellStat
equals, getDescription, getId, hashCode, setDescription
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellStatistics.SizeCellStat

public CellStatistics.SizeCellStat(java.lang.String id)

CellStatistics.SizeCellStat

public CellStatistics.SizeCellStat(java.lang.String id,
                                   java.lang.String desc)
Method Detail

getValue

public java.lang.String getValue()
Description copied from class: CellStatistics.CellStat
Get the value of this statistic. Subclasses must override this method to return a reasonable string representation of the statistic.

Overrides:
getValue in class CellStatistics.LongCellStat


Open Wonderland - http://openwonderland.org