public enum WindowEvent.Type

  1. Object
  2. Enum<WindowEvent.Type>
  3. WindowEvent.Type

ImplementsComparable<WindowEvent.Type>

The type of window change that occurred.

Enum constants

ShownThe window became visible.
HiddenThe window is no longer visible.
MinimizedThe window was minimized/iconified.
RestoredThe window was restored from a minimized/iconified state.
ResizedThe window was resized.
MovedThe window was moved.
DisposedThe window was destroyed and its native window released.

Methods

public static WindowEvent.Type[] values()
public static WindowEvent.Type valueOf(String name)

Inherited methods

Enum constant details

Shown

Shown
The window became visible.

Hidden

Hidden
The window is no longer visible.

Minimized

Minimized
The window was minimized/iconified.

Restored

Restored
The window was restored from a minimized/iconified state.

Resized

Resized
The window was resized.

Moved

Moved
The window was moved.

Disposed

Disposed
The window was destroyed and its native window released. Unlike a close request, this cannot be vetoed – it reports what already happened.

Method details

values

public static WindowEvent.Type[] values()

valueOf

public static WindowEvent.Type valueOf(String name)