JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.newt.event.WindowEvent Class Reference

NEWT Window events are provided for notification purposes ONLY. More...

Inheritance diagram for com.jogamp.newt.event.WindowEvent:
Collaboration diagram for com.jogamp.newt.event.WindowEvent:

Public Member Functions

 WindowEvent (final short eventType, final Object source, final long when)
 
String toString ()
 
StringBuilder toString (StringBuilder sb)
 
- Public Member Functions inherited from com.jogamp.newt.event.NEWTEvent
final short getEventType ()
 Returns the event type of this event. More...
 
final long getWhen ()
 Returns the timestamp, in milliseconds, of this event. More...
 
final void setAttachment (final Object attachment)
 Attach the passed object to this event. More...
 
final Object getAttachment ()
 
final boolean isConsumed ()
 Returns true if this events has been consumed, otherwise false. More...
 
final void setConsumed (final boolean consumed)
 If consumed is true, this event is marked as consumed, ie. More...
 
String toString ()
 
StringBuilder toString (StringBuilder sb)
 

Static Public Member Functions

static String getEventTypeString (final short type)
 
- Static Public Member Functions inherited from com.jogamp.newt.event.NEWTEvent
static String toHexString (final short hex)
 

Static Public Attributes

static final short EVENT_WINDOW_RESIZED = 100
 
static final short EVENT_WINDOW_MOVED = 101
 
static final short EVENT_WINDOW_DESTROY_NOTIFY = 102
 
static final short EVENT_WINDOW_GAINED_FOCUS = 103
 
static final short EVENT_WINDOW_LOST_FOCUS = 104
 
static final short EVENT_WINDOW_REPAINT = 105
 
static final short EVENT_WINDOW_DESTROYED = 106
 
- Static Public Attributes inherited from com.jogamp.newt.event.NEWTEvent
static final Object consumedTag = new Object()
 See setConsumed(boolean) for description. More...
 

Additional Inherited Members

- Protected Member Functions inherited from com.jogamp.newt.event.NEWTEvent
 NEWTEvent (final short eventType, final Object source, final long when)
 

Detailed Description

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.

Definition at line 43 of file WindowEvent.java.

Constructor & Destructor Documentation

◆ WindowEvent()

com.jogamp.newt.event.WindowEvent.WindowEvent ( final short  eventType,
final Object  source,
final long  when 
)

Definition at line 52 of file WindowEvent.java.

Member Function Documentation

◆ getEventTypeString()

static String com.jogamp.newt.event.WindowEvent.getEventTypeString ( final short  type)
static

Definition at line 56 of file WindowEvent.java.

◆ toString() [1/2]

String com.jogamp.newt.event.WindowEvent.toString ( )

Reimplemented from com.jogamp.newt.event.NEWTEvent.

Reimplemented in com.jogamp.newt.event.WindowUpdateEvent.

Definition at line 70 of file WindowEvent.java.

◆ toString() [2/2]

StringBuilder com.jogamp.newt.event.WindowEvent.toString ( StringBuilder  sb)

Reimplemented from com.jogamp.newt.event.NEWTEvent.

Reimplemented in com.jogamp.newt.event.WindowUpdateEvent.

Definition at line 75 of file WindowEvent.java.

Member Data Documentation

◆ EVENT_WINDOW_DESTROY_NOTIFY

final short com.jogamp.newt.event.WindowEvent.EVENT_WINDOW_DESTROY_NOTIFY = 102
static

Definition at line 46 of file WindowEvent.java.

◆ EVENT_WINDOW_DESTROYED

final short com.jogamp.newt.event.WindowEvent.EVENT_WINDOW_DESTROYED = 106
static

Definition at line 50 of file WindowEvent.java.

◆ EVENT_WINDOW_GAINED_FOCUS

final short com.jogamp.newt.event.WindowEvent.EVENT_WINDOW_GAINED_FOCUS = 103
static

Definition at line 47 of file WindowEvent.java.

◆ EVENT_WINDOW_LOST_FOCUS

final short com.jogamp.newt.event.WindowEvent.EVENT_WINDOW_LOST_FOCUS = 104
static

Definition at line 48 of file WindowEvent.java.

◆ EVENT_WINDOW_MOVED

final short com.jogamp.newt.event.WindowEvent.EVENT_WINDOW_MOVED = 101
static

Definition at line 45 of file WindowEvent.java.

◆ EVENT_WINDOW_REPAINT

final short com.jogamp.newt.event.WindowEvent.EVENT_WINDOW_REPAINT = 105
static

Definition at line 49 of file WindowEvent.java.

◆ EVENT_WINDOW_RESIZED

final short com.jogamp.newt.event.WindowEvent.EVENT_WINDOW_RESIZED = 100
static

Definition at line 44 of file WindowEvent.java.


The documentation for this class was generated from the following file: