private class NumberFormat.NumberBufChar extends NumberFormat.NumberBuf
NumberFormat.NumberBuf.FindHelperIterator, NumberFormat.NumberBuf.ScreenCharInfodigits, extra, justActivated, LEADING_ZERO, negative, overflow, rightAlignedGuiFillIn, scale, screen, screenBuf, screenInfoforFieldValue, presCursorPos, presInsertMode| Constructor and Description |
|---|
NumberBufChar()
Constructs default presentation used for clear operation.
|
NumberBufChar(NumberType var)
Constructs presentation initialized with given
decimal, int64
or integer. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkCursorPosition()
Returns true if the new cursor position must be recalculated.
|
protected NumberFormat.NumberBuf.FindHelperIterator |
getFindHelperIterator(int digitPos)
Returns the find iterator to help to recalculate the current cursor position after
delete action has been completed.
|
protected boolean |
isFixedNumericInGui()
Returns
TRUE if having fixed numeric in GUI mode. |
protected boolean |
preprocessDeleteAction()
Returns true if the delete action is completed.
|
protected void |
processDeleteAction(int digitPos,
int digitIndex)
Process the main delete action for the given symbol.
|
activate, checkFormat, clear, deleteBack, deleteCurrent, deleteRegion, finishEdit, getInitialCursorPos, getLastPos, input, invalidateScreen, isAllDigitsFilled, isFixedFont, isFixedNumeric, isNegative, isOptionalLeftSign, isUnknown, moveCursorBegin, moveCursorEnd, moveCursorLeft, moveCursorRight, renderScreen, rightSignSize, shiftDigits, toScreenValue, toVar, validateScreenforFieldValue, getCursorPos, getInsertMode, isLastCharEntered, setCursorPos, setInsertMode, setLastCharEntered, toScreenValue, validateFormatpublic NumberBufChar()
public NumberBufChar(NumberType var)
decimal, int64
or integer.var - Wrapper containing our initial value and which will be
used to format and parse the data.protected boolean preprocessDeleteAction()
preprocessDeleteAction in class NumberFormat.NumberBufprotected NumberFormat.NumberBuf.FindHelperIterator getFindHelperIterator(int digitPos)
getFindHelperIterator in class NumberFormat.NumberBufdigitPos - The given symbol positionprotected void processDeleteAction(int digitPos,
int digitIndex)
processDeleteAction in class NumberFormat.NumberBufdigitPos - The given symbol positiondigitIndex - The given symbol indexprotected boolean checkCursorPosition()
checkCursorPosition in class NumberFormat.NumberBufprotected boolean isFixedNumericInGui()
TRUE if having fixed numeric in GUI mode.isFixedNumericInGui in class NumberFormat.NumberBufTRUE if GUI mode and fixed numeric format, FALSE otherwise.