-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
1.4.2
-
Cause Known
-
x86
-
windows_xp
A DESCRIPTION OF THE REQUEST :
InputVerifier's method verify() receives as its only parameter the reference to the Jcomponent whose contents is to be validated. A 2nd parameter would be welcome which could tell if the upcoming focus loss is of temporary or permanent nature. This is the very information the following FocusEvent provides - but a little late!
JUSTIFICATION :
Temporary focus losses can be granted much less rectrictive than permanent ones.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Class InputVerifier should have new method "boolean isTemporary()" (or so) - just like the FocusEvent class-.
ACTUAL -
Information is not provided.
---------- BEGIN SOURCE ----------
*none*
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
generate information that temporary focus loss is about to be scheduled by the source of this loss - provided this is under the influence of the application. E.g., with modal (j)dialogs, this can be accomplished.
###@###.### 2005-03-03 19:34:46 GMT
InputVerifier's method verify() receives as its only parameter the reference to the Jcomponent whose contents is to be validated. A 2nd parameter would be welcome which could tell if the upcoming focus loss is of temporary or permanent nature. This is the very information the following FocusEvent provides - but a little late!
JUSTIFICATION :
Temporary focus losses can be granted much less rectrictive than permanent ones.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Class InputVerifier should have new method "boolean isTemporary()" (or so) - just like the FocusEvent class-.
ACTUAL -
Information is not provided.
---------- BEGIN SOURCE ----------
*none*
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
generate information that temporary focus loss is about to be scheduled by the source of this loss - provided this is under the influence of the application. E.g., with modal (j)dialogs, this can be accomplished.
###@###.### 2005-03-03 19:34:46 GMT
- relates to
-
JDK-4279934 Add alt. form of InputVerifier.shouldYieldFocus() with "to" comp as 2nd param
-
- Open
-