Top Description Fields Constructors Methods
com.jogamp.newt.event

public Class WindowEvent

extends NEWTEvent
Class Inheritance
Known Direct Subclasses
com.jogamp.newt.event.WindowUpdateEvent
Annotations
@SuppressWarnings:serial

NEWT Window events are provided for notification purposes ONLY.
NEWT will automatically handle component moves and resizes internally, regardless of whether a program is receiving these events or not.
The actual event semantic, here move and resize, is processed before the event is send.

Field Summary

Modifier and TypeField and Description
public static final short
public static final short
public static final short
public static final short
public static final short
public static final short
public static final short
Inherited from com.jogamp.newt.event.NEWTEvent:
consumedTagDEBUG

Constructor Summary

AccessConstructor and Description
public
WindowEvent(final short eventType, final Object source, final long when)

Method Summary

Modifier and TypeMethod and Description
public static String
getEventTypeString(final short type)

public String
toString()

Overrides com.jogamp.newt.event.NEWTEvent.toString.

Returns a String representation of this EventObject.
public StringBuilder
Inherited from com.jogamp.newt.event.NEWTEvent:
getAttachmentgetEventTypegetWhenisConsumedsetAttachmentsetConsumedtoHexString

Field Detail

EVENT_WINDOW_DESTROY_NOTIFYback to summary
public static final short EVENT_WINDOW_DESTROY_NOTIFY
EVENT_WINDOW_DESTROYEDback to summary
public static final short EVENT_WINDOW_DESTROYED
EVENT_WINDOW_GAINED_FOCUSback to summary
public static final short EVENT_WINDOW_GAINED_FOCUS
EVENT_WINDOW_LOST_FOCUSback to summary
public static final short EVENT_WINDOW_LOST_FOCUS
EVENT_WINDOW_MOVEDback to summary
public static final short EVENT_WINDOW_MOVED
EVENT_WINDOW_REPAINTback to summary
public static final short EVENT_WINDOW_REPAINT
EVENT_WINDOW_RESIZEDback to summary
public static final short EVENT_WINDOW_RESIZED

Constructor Detail

WindowEventback to summary
public WindowEvent(final short eventType, final Object source, final long when)

Method Detail

getEventTypeStringback to summary
public static String getEventTypeString(final short type)
toStringback to summary
public String toString()

Overrides com.jogamp.newt.event.NEWTEvent.toString.

Doc from java.util.EventObject.toString.

Returns a String representation of this EventObject.

Returns:String

a String representation of this EventObject

Annotations
@Override
toStringback to summary
public StringBuilder toString(StringBuilder sb)

Overrides com.jogamp.newt.event.NEWTEvent.toString.

Annotations
@Override