com.stimulsoft.report.export.tools.html
Class StiHtmlUnit

java.lang.Object
  extended by com.stimulsoft.report.export.tools.html.StiHtmlUnit

public class StiHtmlUnit
extends java.lang.Object

Html unit Copyright Stimulsoft


Field Summary
 StiHtmlUnitType unitType
           
 
Constructor Summary
StiHtmlUnit()
           
 
Method Summary
 java.lang.Double getValue()
           
static boolean isNullOrZero(StiHtmlUnit unit)
          Check if StiHtmlUnit null or zero
static StiHtmlUnit newUnit(double value, boolean usePoints)
           
static StiHtmlUnit newUnit(double value, StiHtmlUnitType unitType)
           
static StiHtmlUnit pixel(double value)
           
 void setValue(java.lang.Double value)
           
static java.lang.String toPixelString(java.lang.Integer value)
          Convert integer value to pixel string
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

unitType

public StiHtmlUnitType unitType
Constructor Detail

StiHtmlUnit

public StiHtmlUnit()
Method Detail

pixel

public static StiHtmlUnit pixel(double value)

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

toPixelString

public static java.lang.String toPixelString(java.lang.Integer value)
Convert integer value to pixel string

Parameters:
value -
Returns:
Converted value

isNullOrZero

public static boolean isNullOrZero(StiHtmlUnit unit)
Check if StiHtmlUnit null or zero

Parameters:
unit - StiHtmlUnit
Returns:
Is StiHtmlUnit null or zero

getValue

public java.lang.Double getValue()
Returns:
the value

setValue

public void setValue(java.lang.Double value)
Parameters:
value - the value to set

newUnit

public static StiHtmlUnit newUnit(double value,
                                  boolean usePoints)

newUnit

public static StiHtmlUnit newUnit(double value,
                                  StiHtmlUnitType unitType)