org.mdanderson.biostat.util
public class NumericFilter extends Filter
Constructor and Description |
---|
NumericFilter(Component component)
Class constructor specifying component
|
Modifier and Type | Method and Description |
---|---|
boolean |
isKeyValid(KeyEvent event)
Determines if the key is valid in this context.
|
disableAudio, enableAudio, keyPressed, keyReleased, keyTyped
public NumericFilter(Component component)
component
- component which would receive the keystrokespublic boolean isKeyValid(KeyEvent event)
Filter
from beeping when they are typed. Note that this
does not prevent an invalid format of acceptable characters.isKeyValid
in class FilterAdapter
event
- low-level event generated by a component when a key is
pressed, released, or typedFilter
Copyright © 2002 M.D. Anderson Cancer Center. All Rights Reserved.