FieldHoverEvent

public class FieldHoverEvent(source)

A FieldHoverEvent represents a hover over a field.

Constructors

Link copied to clipboard
public void FieldHoverEvent(@Nullable() @Nullable() Field field, @Nullable() @Nullable() Field previousField)
Constructs a FieldHoverEvent with the given field.

Properties

Link copied to clipboard
@Nullable()
public final @Nullable() Field field
Link copied to clipboard
@Nullable()
public final @Nullable() Field previousField

Functions

Link copied to clipboard
@Nullable()
public @Nullable() Field getField()
Returns the hovered field.
Link copied to clipboard
@Nullable()
public @Nullable() Field getPreviousField()
Returns the previously hovered field, or null if there was none.