JFormattedTextField.AbstractFormatter
pack-private boolean
canReplace
(ReplaceHolder rh)
rh will result
in a legal value.
public Object
clone
()
throws
CloneNotSupportedException
[Overrides JFormattedTextField.AbstractFormatter]
pack-private void
commitEdit
()
throws
ParseException
commitEdit on the JFormattedTextField.
protected JFormattedTextField
getFormattedTextField
()
[Inherited From JFormattedTextField.AbstractFormatter]
pack-private int
getNextVisualPositionFrom
(JTextComponent text, int pos, Bias bias, int direction, Bias biasRet)
throws
BadLocationException
pack-private ReplaceHolder
getReplaceHolder
(FilterBypass fb, int offset, int length, String text, AttributeSet attrs)
pack-private String
getReplaceString
(int offset, int deleteLength, String replaceString)
deleteLength characters at offset
and inserting replaceString at offset
in the current text field.
pack-private void
moveDot
(FilterBypass fb, int dot, Bias bias)
pack-private void
replace
(FilterBypass fb, int offset, int length, String text, AttributeSet attrs)
throws
BadLocationException
replace.
pack-private void
repositionCursor
(int offset, int direction)
pack-private void
setDot
(FilterBypass fb, int dot, Bias bias)
public Object
stringToValue
(String string)
throws
ParseException
[Specified in JFormattedTextField.AbstractFormatter]
pack-private void
updateValue
()
setEditValid based on the
validity of the value.
public String
valueToString
(Object value)
throws
ParseException
[Specified in JFormattedTextField.AbstractFormatter]
pack-privatetransient
ReplaceHolder replaceHolder