Skip navigation links
A C E G H I K M R T V 

A

addEventHandler(Event.Type<T>, EventHandler<T>) - Method in class com.dukescript.api.events.EventSource
Add an EventHandler to this EventSource to receive Events of the specified type.
ANY - Static variable in class com.dukescript.api.events.Event
 
ANY - Static variable in class com.dukescript.api.events.KeyEvent
 
ANY - Static variable in class com.dukescript.api.events.MouseEvent
Common supertype for all mouse event types.
ANY - Static variable in class com.dukescript.api.events.TouchEvent
 

C

com.dukescript.api.events - package com.dukescript.api.events
 
create(S, String) - Static method in class com.dukescript.api.events.EventSource
Create a new EventSource for the HTML Element identified by the id and pass an object, which will be used as the source in any Event.
create(S, String, boolean) - Static method in class com.dukescript.api.events.EventSource
Create a new EventSource for the HTML Element identified by the id and pass an object, which will be used as the source in any Event.

E

Event<T> - Class in com.dukescript.api.events
A simple Event with a type and a Source.
Event(T, Event.Type) - Constructor for class com.dukescript.api.events.Event
 
Event.Type<T extends Event> - Class in com.dukescript.api.events
Event Type allows to build a hierarchy of events.
EventHandler<T extends Event> - Interface in com.dukescript.api.events
The base inteface for your EventHandlers.
EventSource<S> - Class in com.dukescript.api.events
EventSource is your entry point to DukeScript Events.
EventSource() - Constructor for class com.dukescript.api.events.EventSource
 

G

getAllTouches() - Method in class com.dukescript.api.events.TouchEvent
 
getCode() - Method in enum com.dukescript.api.events.KeyCode
 
getKeyCode(String) - Static method in enum com.dukescript.api.events.KeyCode
 
getKeyCode(Integer) - Static method in enum com.dukescript.api.events.KeyCode
 
getKeyCode() - Method in class com.dukescript.api.events.KeyEvent
 
getName() - Method in class com.dukescript.api.events.Event.Type
Name of this Event Type
getName() - Method in enum com.dukescript.api.events.KeyCode
 
getPrimaryTouch() - Method in class com.dukescript.api.events.TouchEvent
 
getSource() - Method in class com.dukescript.api.events.Event
Get the source of the Event.
getSuperType() - Method in class com.dukescript.api.events.Event.Type
Super Type of this Event Type.
getType() - Method in class com.dukescript.api.events.Event
The type of this Event, for example MouseEvent.MOUSE_PRESSED.
getType() - Method in class com.dukescript.api.events.TouchEvent
 
getX() - Method in class com.dukescript.api.events.MouseEvent
 
getX() - Method in class com.dukescript.api.events.TouchEvent.Touch
 
getY() - Method in class com.dukescript.api.events.MouseEvent
 
getY() - Method in class com.dukescript.api.events.TouchEvent.Touch
 

H

handle(T) - Method in interface com.dukescript.api.events.EventHandler
Implement your Event response here.

I

impl_getChar() - Method in enum com.dukescript.api.events.KeyCode
 
isArrowKey() - Method in enum com.dukescript.api.events.KeyCode
 
isDigitKey() - Method in enum com.dukescript.api.events.KeyCode
 
isFunctionKey() - Method in enum com.dukescript.api.events.KeyCode
 
isKeypadKey() - Method in enum com.dukescript.api.events.KeyCode
 
isLetterKey() - Method in enum com.dukescript.api.events.KeyCode
 
isMediaKey() - Method in enum com.dukescript.api.events.KeyCode
 
isModifierKey() - Method in enum com.dukescript.api.events.KeyCode
 
isNavigationKey() - Method in enum com.dukescript.api.events.KeyCode
 
isWhitespaceKey() - Method in enum com.dukescript.api.events.KeyCode
 

K

KEY_PRESSED - Static variable in class com.dukescript.api.events.KeyEvent
 
KEY_RELEASED - Static variable in class com.dukescript.api.events.KeyEvent
 
KEY_TYPED - Static variable in class com.dukescript.api.events.KeyEvent
 
KeyCode - Enum in com.dukescript.api.events
 
KeyEvent<T> - Class in com.dukescript.api.events
KeyEvents representing keyboard input.
KeyEvent(T, Event.Type, KeyCode) - Constructor for class com.dukescript.api.events.KeyEvent
 

M

MOUSE_CLICKED - Static variable in class com.dukescript.api.events.MouseEvent
 
MOUSE_ENTERED - Static variable in class com.dukescript.api.events.MouseEvent
 
MOUSE_EXITED - Static variable in class com.dukescript.api.events.MouseEvent
 
MOUSE_MOVED - Static variable in class com.dukescript.api.events.MouseEvent
 
MOUSE_PRESSED - Static variable in class com.dukescript.api.events.MouseEvent
 
MOUSE_RELEASED - Static variable in class com.dukescript.api.events.MouseEvent
 
MouseEvent<T> - Class in com.dukescript.api.events
MouseEvents representing Mouse input actions.
MouseEvent(T, Event.Type<? extends MouseEvent>, double, double) - Constructor for class com.dukescript.api.events.MouseEvent
 

R

removeEventHandler(Event.Type<T>, EventHandler<T>) - Method in class com.dukescript.api.events.EventSource
Remove the EventHandler

T

Touch(double, double) - Constructor for class com.dukescript.api.events.TouchEvent.Touch
 
TOUCH_END - Static variable in class com.dukescript.api.events.TouchEvent
 
TOUCH_MOVED - Static variable in class com.dukescript.api.events.TouchEvent
 
TOUCH_STARTED - Static variable in class com.dukescript.api.events.TouchEvent
 
TouchEvent<T> - Class in com.dukescript.api.events
Events for input on touch enabled devices.
TouchEvent(T, Event.Type<TouchEvent>, List<TouchEvent.Touch>) - Constructor for class com.dukescript.api.events.TouchEvent
 
TouchEvent.Touch - Class in com.dukescript.api.events
 
Type(String, Event.Type) - Constructor for class com.dukescript.api.events.Event.Type
Create a new Type with name and supertype.

V

valueOf(String) - Static method in enum com.dukescript.api.events.KeyCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.dukescript.api.events.KeyCode
Returns an array containing the constants of this enum type, in the order they are declared.
A C E G H I K M R T V 
Skip navigation links

Copyright © 2019. All Rights Reserved.