Uses of Class
ca.corbett.forms.fields.KeyStrokeField
Packages that use KeyStrokeField
-
Uses of KeyStrokeField in ca.corbett.forms.fields
Methods in ca.corbett.forms.fields that return KeyStrokeFieldModifier and TypeMethodDescriptionKeyStrokeField.addReservedKeyStrokes(List<KeyStroke> additionalKeyStrokes) Adds additional reserved KeyStrokes to the list of KeyStrokes that cannot be assigned.KeyStrokeField.clearReservedKeyStrokes()Clears the list of reserved KeyStrokes, allowing all KeyStrokes to be assigned.KeyStrokeField.setAllowBlank(boolean allowBlank) Decides whether this field allows blank input (no keystroke assigned).KeyStrokeField.setColumns(int cols) Sets the number of columns in the underlying JTextField.KeyStrokeField.setKeyStroke(KeyStroke keyStroke) Sets the KeyStroke represented by this field.KeyStrokeField.setReservedKeyStrokeMsg(String reservedKeyStrokeMsg) Sets the validation message that will be given if a reserved KeyStroke is entered.KeyStrokeField.setReservedKeyStrokes(List<KeyStroke> reservedKeyStrokes) Optionally set a list of reserved KeyStrokes that cannot be assigned using this field.KeyStrokeField.setReservedKeyStrokes(List<KeyStroke> reservedKeyStrokes, String reservedMsg) Optionally set a list of reserved KeyStrokes that cannot be assigned, and also sets a custom message to be used when validation fails because a reserved KeyStroke was entered.