Class 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().

Fields

Modifier and Type Field Description
static HyperlinkEvent.EventType ACTIVATED

Activated type.

static HyperlinkEvent.EventType ENTERED

Entered type.

static HyperlinkEvent.EventType EXITED

Exited type.

Methods

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

Fields

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.

Methods

toString

public String toString()

Converts the type to a string.

Overrides:
toString in class Object
Returns:
the string

© 1993, 2020, 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/11/docs/api/java.desktop/javax/swing/event/HyperlinkEvent.EventType.html