com.jxcell
Class NumberFormat

java.lang.Object
  extended bycom.jxcell.NumberFormat

public class NumberFormat
extends java.lang.Object

This class provides methods for obtaining number formats


Method Summary
 java.lang.String getNumberFormat()
          Returns a number format string such as #,##0.00.
 java.lang.String getNumberFormatLocal()
          Returns a number format string, in the user's local language.
 short getType()
          Returns one of the following number format types: eNumberFormatTypeGeneral eNumberFormatTypeNumber eNumberFormatTypeCurrency eNumberFormatTypeDate eNumberFormatTypeDateTime eNumberFormatTypePercent eNumberFormatTypeFraction eNumberFormatTypeScientific eNumberFormatTypeString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNumberFormat

public java.lang.String getNumberFormat()
Returns a number format string such as #,##0.00.

Returns:
the number format string

getNumberFormatLocal

public java.lang.String getNumberFormatLocal()
Returns a number format string, in the user's local language.

Returns:
the number format string

getType

public short getType()
Returns one of the following number format types: eNumberFormatTypeGeneral eNumberFormatTypeNumber eNumberFormatTypeCurrency eNumberFormatTypeDate eNumberFormatTypeDateTime eNumberFormatTypePercent eNumberFormatTypeFraction eNumberFormatTypeScientific eNumberFormatTypeString

Returns:
the number format type