Free Online Dictionary
processKeyEvent
| JDK Doc(JAVA) | Download this dictionary |
processKeyEvent(Component, KeyEvent)
- Method in class javax.swing.FocusManager
public abstract void processKeyEvent (Component focusedComponent, KeyEvent anEvent)
This method is called by JComponents when a key event occurs. JComponent gives key events to the focus manager first, then to key listeners, then to the keyboard UI dispatcher. This method should look at the key event and change the focused component if the key event matches the receiver's focus manager hot keys. For example the default focus manager will change the focus if the key event matches TAB or Shift + TAB. The focus manager should call consume() on anEvent if anEvent has been processed. focusedComponent is the component that currently has the focus. Note: FocusManager will receive both KEY_PRESSED and KEY_RELEASED key events. If one event is consumed, the other one should be consumed too.
public abstract void processKeyEvent (Component focusedComponent, KeyEvent anEvent)
This method is called by JComponents when a key event occurs. JComponent gives key events to the focus manager first, then to key listeners, then to the keyboard UI dispatcher. This method should look at the key event and change the focused component if the key event matches the receiver's focus manager hot keys. For example the default focus manager will change the focus if the key event matches TAB or Shift + TAB. The focus manager should call consume() on anEvent if anEvent has been processed. focusedComponent is the component that currently has the focus. Note: FocusManager will receive both KEY_PRESSED and KEY_RELEASED key events. If one event is consumed, the other one should be consumed too.
processKeyEvent(Component, KeyEvent) *2
- Method in class javax.swing.DefaultFocusManager
public void processKeyEvent (Component focusedComponent, KeyEvent anEvent)
Description copied from class: FocusManager This method is called by JComponents when a key event occurs. JComponent gives key events to the focus manager first, then to key listeners, then to the keyboard UI dispatcher. This method should look at the key event and change the focused component if the key event matches the receiver's focus manager hot keys. For example the default focus manager will change the focus if the key event matches TAB or Shift + TAB. The focus manager should call consume() on anEvent if anEvent has been processed. focusedComponent is the component that currently has the focus. Note: FocusManager will receive both KEY_PRESSED and KEY_RELEASED key events. If one event is consumed, the other one should be consumed too.Overrides: processKeyEvent in class FocusManager
public void processKeyEvent (Component focusedComponent, KeyEvent anEvent)
Description copied from class: FocusManager This method is called by JComponents when a key event occurs. JComponent gives key events to the focus manager first, then to key listeners, then to the keyboard UI dispatcher. This method should look at the key event and change the focused component if the key event matches the receiver's focus manager hot keys. For example the default focus manager will change the focus if the key event matches TAB or Shift + TAB. The focus manager should call consume() on anEvent if anEvent has been processed. focusedComponent is the component that currently has the focus. Note: FocusManager will receive both KEY_PRESSED and KEY_RELEASED key events. If one event is consumed, the other one should be consumed too.Overrides: processKeyEvent in class FocusManager
processKeyEvent(KeyEvent)
- Method in class java.awt.Component
protected void processKeyEvent (KeyEvent e)
Processes key events occurring on this component by dispatching them to any registered KeyListener objects. This method is not called unless key events are enabled for this component. Key events are enabled when one of the following occurs: Parameters: e - the key event.Since: JDK1.1See Also: KeyEvent , KeyListener , addKeyListener(java.awt.event.KeyListener) , enableEvents(long)
protected void processKeyEvent (KeyEvent e)
Processes key events occurring on this component by dispatching them to any registered KeyListener objects. This method is not called unless key events are enabled for this component. Key events are enabled when one of the following occurs: Parameters: e - the key event.Since: JDK1.1See Also: KeyEvent , KeyListener , addKeyListener(java.awt.event.KeyListener) , enableEvents(long)
processKeyEvent(KeyEvent) *2
- Method in class javax.swing.JComponent
protected void processKeyEvent (KeyEvent e)
Override processKeyEvent to process eventsOverrides: processKeyEvent in class Component Tags copied from class: Component Parameters: e - the key event.See Also: KeyEvent , KeyListener , Component.addKeyListener(java.awt.event.KeyListener) , Component.enableEvents(long)
protected void processKeyEvent (KeyEvent e)
Override processKeyEvent to process eventsOverrides: processKeyEvent in class Component Tags copied from class: Component Parameters: e - the key event.See Also: KeyEvent , KeyListener , Component.addKeyListener(java.awt.event.KeyListener) , Component.enableEvents(long)
processKeyEvent(KeyEvent) *3
- Method in class javax.swing.JApplet
protected void processKeyEvent (KeyEvent e)
Description copied from class: Component Processes key events occurring on this component by dispatching them to any registered KeyListener objects. This method is not called unless key events are enabled for this component. Key events are enabled when one of the following occurs: Overrides: processKeyEvent in class Component Tags copied from class: Component Parameters: e - the key event.See Also: KeyEvent , KeyListener , Component.addKeyListener(java.awt.event.KeyListener) , Component.enableEvents(long)
protected void processKeyEvent (KeyEvent e)
Description copied from class: Component Processes key events occurring on this component by dispatching them to any registered KeyListener objects. This method is not called unless key events are enabled for this component. Key events are enabled when one of the following occurs: Overrides: processKeyEvent in class Component Tags copied from class: Component Parameters: e - the key event.See Also: KeyEvent , KeyListener , Component.addKeyListener(java.awt.event.KeyListener) , Component.enableEvents(long)
processKeyEvent(KeyEvent) *4
- Method in class javax.swing.MenuSelectionManager
public void processKeyEvent (KeyEvent e)
When a MenuElement receives an event from a KeyListener, it should never process the event directly. Instead all MenuElements should call this method with the event.Parameters: e - a KeyEvent object
public void processKeyEvent (KeyEvent e)
When a MenuElement receives an event from a KeyListener, it should never process the event directly. Instead all MenuElements should call this method with the event.Parameters: e - a KeyEvent object
processKeyEvent(KeyEvent) *5
- Method in class javax.swing.JComboBox
public void processKeyEvent (KeyEvent e)
Handles KeyEvents, looking for the Tab key. If the Tab key is found, the popup window is closed.Overrides: processKeyEvent in class JComponent Parameters: e - the KeyEvent containing the keyboard key that was pressed
public void processKeyEvent (KeyEvent e)
Handles KeyEvents, looking for the Tab key. If the Tab key is found, the popup window is closed.Overrides: processKeyEvent in class JComponent Parameters: e - the KeyEvent containing the keyboard key that was pressed
processKeyEvent(KeyEvent) *6
- Method in class javax.swing.JDialog
protected void processKeyEvent (KeyEvent e)
Processes key events occurring on this component and, if appropriate, passes them on to components in the dialog which have registered interest in them.Overrides: processKeyEvent in class Component Parameters: e - the key eventSee Also: Component.processKeyEvent(java.awt.event.KeyEvent)
protected void processKeyEvent (KeyEvent e)
Processes key events occurring on this component and, if appropriate, passes them on to components in the dialog which have registered interest in them.Overrides: processKeyEvent in class Component Parameters: e - the key eventSee Also: Component.processKeyEvent(java.awt.event.KeyEvent)
processKeyEvent(KeyEvent) *7
- Method in class javax.swing.JMenu
protected void processKeyEvent (KeyEvent e)
Description copied from class: JComponent Override processKeyEvent to process eventsOverrides: processKeyEvent in class JComponent Tags copied from class: Component Parameters: e - the key event.See Also: KeyEvent , KeyListener , Component.addKeyListener(java.awt.event.KeyListener) , Component.enableEvents(long)
protected void processKeyEvent (KeyEvent e)
Description copied from class: JComponent Override processKeyEvent to process eventsOverrides: processKeyEvent in class JComponent Tags copied from class: Component Parameters: e - the key event.See Also: KeyEvent , KeyListener , Component.addKeyListener(java.awt.event.KeyListener) , Component.enableEvents(long)
processKeyEvent(KeyEvent) *8
- Method in class javax.swing.JFrame
protected void processKeyEvent (KeyEvent e)
Processes key events occurring on this component and, if appropriate, passes them on to components in the frame which have registered interest in them.Overrides: processKeyEvent in class Component Parameters: e - the key eventSee Also: Component.processKeyEvent(java.awt.event.KeyEvent)
protected void processKeyEvent (KeyEvent e)
Processes key events occurring on this component and, if appropriate, passes them on to components in the frame which have registered interest in them.Overrides: processKeyEvent in class Component Parameters: e - the key eventSee Also: Component.processKeyEvent(java.awt.event.KeyEvent)
processKeyEvent(KeyEvent, MenuElement[], MenuSelectionManager)
- Method in interface javax.swing.MenuElement
public void processKeyEvent (KeyEvent event, MenuElement [] path, MenuSelectionManager manager)
Process a key event.
public void processKeyEvent (KeyEvent event, MenuElement [] path, MenuSelectionManager manager)
Process a key event.
processKeyEvent(KeyEvent, MenuElement[], MenuSelectionManager) *2
- Method in class javax.swing.JMenuItem
public void processKeyEvent (KeyEvent e, MenuElement [] path, MenuSelectionManager manager)
Process a key event forwarded from the MenuSelectionManager.Specified by: processKeyEvent in interface MenuElement Parameters: event - A KeyEvent with source being the receiving component. - The MenuElement path array to the receiving component.componentPath - The MenuElement path array to the receiving component. - The MenuSelectionManager for the menu hierarchy. This method should process the KeyEvent and change the menu selection if necessary by using MenuSelectionManager's API. manager - The MenuSelectionManager for the menu hierarchy. This method should process the KeyEvent and change the menu selection if necessary by using MenuSelectionManager's API. Note: you do not have to forward the event to sub-components. This is done automatically by the MenuSelectionManager
public void processKeyEvent (KeyEvent e, MenuElement [] path, MenuSelectionManager manager)
Process a key event forwarded from the MenuSelectionManager.Specified by: processKeyEvent in interface MenuElement Parameters: event - A KeyEvent with source being the receiving component. - The MenuElement path array to the receiving component.componentPath - The MenuElement path array to the receiving component. - The MenuSelectionManager for the menu hierarchy. This method should process the KeyEvent and change the menu selection if necessary by using MenuSelectionManager's API. manager - The MenuSelectionManager for the menu hierarchy. This method should process the KeyEvent and change the menu selection if necessary by using MenuSelectionManager's API. Note: you do not have to forward the event to sub-components. This is done automatically by the MenuSelectionManager
processKeyEvent(KeyEvent, MenuElement[], MenuSelectionManager) *3
- Method in class javax.swing.JMenuBar
public void processKeyEvent (KeyEvent e, MenuElement [] path, MenuSelectionManager manager)
Implemented to be a MenuElement -- does nothing.Specified by: processKeyEvent in interface MenuElement See Also: getSubElements()
public void processKeyEvent (KeyEvent e, MenuElement [] path, MenuSelectionManager manager)
Implemented to be a MenuElement -- does nothing.Specified by: processKeyEvent in interface MenuElement See Also: getSubElements()
processKeyEvent(KeyEvent, MenuElement[], MenuSelectionManager) *4
- Method in class javax.swing.JPopupMenu
public void processKeyEvent (KeyEvent e, MenuElement [] path, MenuSelectionManager manager)
Description copied from interface: MenuElement Process a key event.Specified by: processKeyEvent in interface MenuElement
public void processKeyEvent (KeyEvent e, MenuElement [] path, MenuSelectionManager manager)
Description copied from interface: MenuElement Process a key event.Specified by: processKeyEvent in interface MenuElement
| processKeyEvent in English
You think you have ethics...
Take the survey NOW!
