W3cubDocs

/OpenJDK 21

Class HyperlinkEvent.EventType

java.lang.Object
javax.swing.event.HyperlinkEvent.EventType
Enclosing class:
HyperlinkEvent
public static final class HyperlinkEvent.EventType extends Object
Defines the ENTERED, EXITED, and ACTIVATED event types, along with their string representations, returned by toString().

Field Summary

Modifier and Type Field Description
static final HyperlinkEvent.EventType ACTIVATED
Activated type.
static final HyperlinkEvent.EventType ENTERED
Entered type.
static final HyperlinkEvent.EventType EXITED
Exited type.

Method Summary

Modifier and Type Method Description
String toString()
Converts the type to a string.

Methods declared in class java.lang.Object

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

Field Details

ENTERED

public static final HyperlinkEvent.EventType ENTERED
Entered type.

EXITED

public static final HyperlinkEvent.EventType EXITED
Exited type.

ACTIVATED

public static final HyperlinkEvent.EventType ACTIVATED
Activated type.

Method Details

toString

public String toString()
Converts the type to a string.
Overrides:
toString in class Object
Returns:
the string

© 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/event/HyperlinkEvent.EventType.html