W3cubDocs

/OpenJDK 21

Class BasicSplitPaneUI.KeyboardHomeHandler

java.lang.Object
javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardHomeHandler
All Implemented Interfaces:
ActionListener, EventListener
Enclosing class:
BasicSplitPaneUI
public class BasicSplitPaneUI.KeyboardHomeHandler extends Object implements ActionListener
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.

This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicSplitPaneUI.

Constructor Summary

Constructor Description
KeyboardHomeHandler()
Constructs a KeyboardHomeHandler.

Method Summary

Modifier and Type Method Description
void actionPerformed(ActionEvent ev)
Invoked when an action occurs.

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

KeyboardHomeHandler

public KeyboardHomeHandler()
Constructs a KeyboardHomeHandler.

Method Details

actionPerformed

public void actionPerformed(ActionEvent ev)
Description copied from interface: ActionListener
Invoked when an action occurs.
Specified by:
actionPerformed in interface ActionListener
Parameters:
ev - the event to be processed

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/basic/BasicSplitPaneUI.KeyboardHomeHandler.html