|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.as400.ui.framework.java.DataFormatter
com.ibm.as400.ui.framework.java.IntFormatter
com.ibm.as400.ui.framework.java.IntPlainFormatter
public class IntPlainFormatter extends IntFormatter
Formatter for exchanging Integer values between
DataBean
s and user interface components.
Formats without decorations or punctuation.
If parsing is unsuccessful, an IllegalUserDataException
is thrown.
IntFormatter
,
IllegalUserDataException
Constructor and Description |
---|
IntPlainFormatter(int minValue,
int maxValue)
Constructs a IntPlainFormatter . |
Modifier and Type | Method and Description |
---|---|
String |
format(int number)
Format an integer number with no punctuation or decoration. |
String |
format(Object obj)
Format a number as an integer with no puctuation of decoration. |
Methods inherited from class com.ibm.as400.ui.framework.java.IntFormatter |
---|
parse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntPlainFormatter(int minValue, int maxValue)
IntPlainFormatter
.
minValue
- the minimum value requiredmaxValue
- the maximum value requiredMethod Detail |
---|
public String format(int number)
format
in class IntFormatter
number
- a valid int
number.public String format(Object obj)
format
in class IntFormatter
obj
- a valid Date
object cast as an object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |