|
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.JavaNumberFormatter
public class JavaNumberFormatter
Number formatter for java code.
| Constructor Summary | |
|---|---|
JavaNumberFormatter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
format(double value)
Formats submitted number. |
java.lang.String |
getContentAfter()
Returns content after pattern. |
java.lang.String |
getContentBefore()
Returns content before pattern. |
java.text.DecimalFormat |
getDecimalFormat()
Returns decimal format. |
JavaNumberFormatCondition |
getJavaNumberFormatCondition()
Returns number format condition. |
java.awt.Color |
getTextColor()
Returns text color. |
void |
setContentAfter(java.lang.String contentAfter)
Sets conent after pattern. |
void |
setContentBefore(java.lang.String contentBefore)
Sets content before pattern. |
void |
setDecimalFormat(java.text.DecimalFormat decimalFormat)
Sets decimal format. |
void |
setIsNegativePattern(boolean isNegativePattern)
Sets information whether this pattern is a negative pattern. |
void |
setJavaNumberFormatCondition(JavaNumberFormatCondition javaNumberFormatCondition)
Sets number format condition. |
void |
setTextColor(java.awt.Color textColor)
Sets color of the text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaNumberFormatter()
| Method Detail |
|---|
public void setTextColor(java.awt.Color textColor)
textColor - color of the textpublic void setDecimalFormat(java.text.DecimalFormat decimalFormat)
decimalFormat - decimal format to be usedpublic void setJavaNumberFormatCondition(JavaNumberFormatCondition javaNumberFormatCondition)
javaNumberFormatCondition - number format condition to be usedpublic void setContentBefore(java.lang.String contentBefore)
contentBefore - content before patternpublic void setContentAfter(java.lang.String contentAfter)
contentAfter - content after patternpublic void setIsNegativePattern(boolean isNegativePattern)
isNegativePattern - information whether this pattern is a negative patternpublic java.awt.Color getTextColor()
public java.text.DecimalFormat getDecimalFormat()
public JavaNumberFormatCondition getJavaNumberFormatCondition()
public java.lang.String getContentBefore()
public java.lang.String getContentAfter()
public java.lang.String format(double value)
value - value to be formatted
|
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 | ||||||||