|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectag.ion.bion.officelayer.internal.util.NumberFormat
public class NumberFormat
Number format.
Constructor Summary | |
---|---|
NumberFormat(int formatKey,
com.sun.star.beans.XPropertySet xPropertySet,
INumberFormatService numberFormatService)
Constructs new NumberFormat. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns whether some other object is "equal to" this one. |
java.lang.String |
getExample()
Returns an example string. |
int |
getFormatKey()
Returns format key. |
java.lang.String |
getFormatPattern()
Returns format pattern. |
short |
getFormatType()
Returns format type as constants of NumberFormat . |
IJavaNumberFormat |
getJavaNumberFormat()
Returns number format for java code. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NumberFormat(int formatKey, com.sun.star.beans.XPropertySet xPropertySet, INumberFormatService numberFormatService) throws java.lang.IllegalArgumentException
formatKey
- the key of the formatxPropertySet
- OpenOffice.org XPropertySet interfacenumberFormatService
- the number format service the format was created with
java.lang.IllegalArgumentException
- if the submitted OpenOffice.org XPropertySet interface is not validMethod Detail |
---|
public int getFormatKey()
getFormatKey
in interface INumberFormat
public short getFormatType()
NumberFormat
.
getFormatType
in interface INumberFormat
NumberFormat
public java.lang.String getExample() throws UtilException
getExample
in interface INumberFormat
UtilException
- if returning the example failspublic java.lang.String getFormatPattern()
getFormatPattern
in interface INumberFormat
public IJavaNumberFormat getJavaNumberFormat() throws UtilException
getJavaNumberFormat
in interface INumberFormat
UtilException
- if no suitable number format is availablepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |