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

Type of pointer devices. More...

Inheritance diagram for com.jogamp.newt.event.MouseEvent.PointerType:
Collaboration diagram for com.jogamp.newt.event.MouseEvent.PointerType:

Public Member Functions

PointerClass getPointerClass ()
 

Static Public Member Functions

static PointerType valueOf (final int ordinal) throws IllegalArgumentException
 Returns the matching PointerType value corresponding to the given PointerType's integer ordinal. More...
 
static PointerType[] valuesOf (final int[] ordinals) throws IllegalArgumentException
 Returns the PointerType array of matching PointerType values corresponding to the given PointerType's integer ordinal values. More...
 

Public Attributes

 Mouse =(PointerClass.Offscreen)
 PointerClass#Offscreen mouse. More...
 
 TouchPad =(PointerClass.Offscreen)
 PointerClass#Offscreen touch pad, usually using fingers. More...
 
 TouchScreen =(PointerClass.Onscreen)
 PointerClass#Onscreen touch screen, usually using fingers. More...
 
 Pen =(PointerClass.Onscreen)
 PointerClass#Onscreen pen usually on screen? Ordinal 3. More...
 
 Undefined =(PointerClass.Undefined)
 PointerClass#Undefined ?. More...
 
PointerClass pc
 

Detailed Description

Type of pointer devices.

Definition at line 81 of file MouseEvent.java.

Member Function Documentation

◆ getPointerClass()

PointerClass com.jogamp.newt.event.MouseEvent.PointerType.getPointerClass ( )

Definition at line 93 of file MouseEvent.java.

Here is the caller graph for this function:

◆ valueOf()

static PointerType com.jogamp.newt.event.MouseEvent.PointerType.valueOf ( final int  ordinal) throws IllegalArgumentException
static

Returns the matching PointerType value corresponding to the given PointerType's integer ordinal.

  given:
    ordinal = enumValue.ordinal()
  reverse:
    enumValue = EnumClass.values()[ordinal]
Exceptions
IllegalArgumentExceptionif the given ordinal is out of range, i.e. not within [ 0 .. PointerType.values().length-1 ]

Definition at line 105 of file MouseEvent.java.

Here is the caller graph for this function:

◆ valuesOf()

static PointerType[] com.jogamp.newt.event.MouseEvent.PointerType.valuesOf ( final int[]  ordinals) throws IllegalArgumentException
static

Returns the PointerType array of matching PointerType values corresponding to the given PointerType's integer ordinal values.

See valueOf(int).

Exceptions
IllegalArgumentExceptionif one of the given ordinal values is out of range, i.e. not within [ 0 .. PointerType.values().length-1 ]

Definition at line 120 of file MouseEvent.java.

Here is the call graph for this function:

Member Data Documentation

◆ Mouse

com.jogamp.newt.event.MouseEvent.PointerType.Mouse =(PointerClass.Offscreen)

PointerClass#Offscreen mouse.

Ordinal 0.

Definition at line 83 of file MouseEvent.java.

◆ pc

PointerClass com.jogamp.newt.event.MouseEvent.PointerType.pc

Definition at line 132 of file MouseEvent.java.

◆ Pen

com.jogamp.newt.event.MouseEvent.PointerType.Pen =(PointerClass.Onscreen)

PointerClass#Onscreen pen usually on screen? Ordinal 3.

FIXME

Definition at line 89 of file MouseEvent.java.

◆ TouchPad

com.jogamp.newt.event.MouseEvent.PointerType.TouchPad =(PointerClass.Offscreen)

PointerClass#Offscreen touch pad, usually using fingers.

Ordinal 1.

Definition at line 85 of file MouseEvent.java.

◆ TouchScreen

com.jogamp.newt.event.MouseEvent.PointerType.TouchScreen =(PointerClass.Onscreen)

PointerClass#Onscreen touch screen, usually using fingers.

Ordinal 2.

Definition at line 87 of file MouseEvent.java.

◆ Undefined

com.jogamp.newt.event.MouseEvent.PointerType.Undefined =(PointerClass.Undefined)

PointerClass#Undefined ?.

Ordinal 4.

Definition at line 91 of file MouseEvent.java.


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