A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- A - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Akey - ADD - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Addkey - addCoordinates(int, int) - Method in class de.vatrasoft.vatralib.model.Rectangle
-
Returns a new
Rectanglethat has the same dimensions as this rectangle, but is translated by the specified offsets. - ALT - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Altkey (Optionon the Mac keyboard)
B
- B - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Bkey - BACK_SPACE - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Backspacekey - beginFrame() - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Prepares for the next frame to be drawn, e.g. clears the screen or internal buffer.
- Binding - Interface in de.vatrasoft.vatralib
-
A
Bindingis a component that translates abstract operations to concrete, framework-specific operations in order to manipulate the screen or play sounds. - BLACK - Static variable in class de.vatrasoft.vatralib.gfx.Color
-
The color black.
- BLUE - Static variable in class de.vatrasoft.vatralib.gfx.Color
-
The color blue.
C
- C - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Ckey - CAPS - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Caps Lockkey - clear() - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Clears the screen and ensures that no previously cached objects (i.e. images) are subsequently displayed (i.e.
- Color - Class in de.vatrasoft.vatralib.gfx
-
This class represents colors in the RGB color model.
- COMMA - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Commakey - COMMAND - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Commandkey on the Mac keyboard - contains(Rectangle) - Method in class de.vatrasoft.vatralib.model.Rectangle
-
Returns
trueif the givenRectangleis fully within thisRectangle. - CONTEXT_MENU - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Context Menukey - CONTROL - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Ctrlkey (Controlon the Mac keyboard) - createWindow(String, int, int, Color, boolean) - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Creates a window with the given title and dimensions, using the given color as background.
- CYAN - Static variable in class de.vatrasoft.vatralib.gfx.Color
-
The color cyan.
D
- D - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Dkey - DARK_GRAY - Static variable in class de.vatrasoft.vatralib.gfx.Color
-
The color dark gray.
- de.vatrasoft.vatralib - package de.vatrasoft.vatralib
-
Provides the core classes of VatraLib.
- de.vatrasoft.vatralib.gfx - package de.vatrasoft.vatralib.gfx
-
Classes related to graphics operations (i.e. manipulating the screen) and input handling.
- de.vatrasoft.vatralib.model - package de.vatrasoft.vatralib.model
-
Data model classes that can be used (directly or through inheritance) to construct game worlds.
- DELETE - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Deletekey - DIGIT0 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
0key - DIGIT1 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
1key - DIGIT2 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
2key - DIGIT3 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
3key - DIGIT4 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
4key - DIGIT5 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
5key - DIGIT6 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
6key - DIGIT7 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
7key - DIGIT8 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
8key - DIGIT9 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
9key - Dimensions - Class in de.vatrasoft.vatralib.model
-
This class represents the dimensions of two-dimensional images.
- Dimensions(int, int) - Constructor for class de.vatrasoft.vatralib.model.Dimensions
-
Constructs a new
Dimensionsobject with the given width and height. - DIVIDE - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Dividekey - DOWN - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Down(arrow) key - drawFilledArea(long, String, int, int, int, int, int, int) - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Draws the pixels of the given image file repeatedly onto the screen (starting at the specified position within the active window) until the rectangular area denoted by
widthandheightis covered. - drawImage(long, String, int, int, int, int) - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Draws the pixels of the given image file onto the screen (at the specified position within the active window).
- drawImageSection(long, String, Rectangle, int, int, int, int, boolean, boolean) - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Draws the pixels of the given rectangular section of the given image file onto the screen (at the specified position within the active window).
E
- E - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Ekey - END - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Endkey - ENTER - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Enterkey - equals(Object) - Method in class de.vatrasoft.vatralib.gfx.Color
-
Compares this
Colorto the specifiedColor. - equals(Object) - Method in class de.vatrasoft.vatralib.model.Rectangle
-
Compares this
Rectangleto the specifiedRectangle. - ESCAPE - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Escapekey
F
- F - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Fkey - F1 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F1key - F10 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F10key - F11 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F11key - F12 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F12key - F2 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F2key - F3 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F3key - F4 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F4key - F5 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F5key - F6 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F6key - F7 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F7key - F8 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F8key - F9 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
F9key - finishFrame() - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Finalizes the frame that is currently being drawn, e.g. copies buffer contents onto the screen.
G
- G - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Gkey - getBlueComponent() - Method in class de.vatrasoft.vatralib.gfx.Color
-
Returns the blue component of this color (as an integer between 0 and 255).
- getGreenComponent() - Method in class de.vatrasoft.vatralib.gfx.Color
-
Returns the green component of this color (as an integer between 0 and 255).
- getHeight() - Method in class de.vatrasoft.vatralib.model.Dimensions
-
Returns the height component.
- getHeight() - Method in class de.vatrasoft.vatralib.model.Rectangle
-
Returns the height of the rectangle.
- getRedComponent() - Method in class de.vatrasoft.vatralib.gfx.Color
-
Returns the red component of this color (as an integer between 0 and 255).
- getSupportedFileFormats() - Method in interface de.vatrasoft.vatralib.Binding
-
Returns all resource file extensions (in lowercase, without dot) supported by this binding.
- getWidth() - Method in class de.vatrasoft.vatralib.model.Dimensions
-
Returns the width component.
- getWidth() - Method in class de.vatrasoft.vatralib.model.Rectangle
-
Returns the width of the rectangle.
- getX() - Method in class de.vatrasoft.vatralib.model.Rectangle
-
Returns the horizontal coordinate of the rectangle.
- getY() - Method in class de.vatrasoft.vatralib.model.Rectangle
-
Returns the vertical coordinate of the rectangle.
- GfxBinding - Interface in de.vatrasoft.vatralib.gfx
-
A
GfxBinding(Graphics Binding) is a component that translates abstract graphics operations to concrete, framework-specific operations in order to manipulate the screen. - GREEN - Static variable in class de.vatrasoft.vatralib.gfx.Color
-
The color green.
H
- H - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Hkey - hashCode() - Method in class de.vatrasoft.vatralib.gfx.Color
-
Returns a hash code for this
Color. - hashCode() - Method in class de.vatrasoft.vatralib.model.Rectangle
-
Returns a hash code for this
Rectangle. - HOME - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Homekey
I
- I - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Ikey - INSERT - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Insertkey - isAnyKeyPressed() - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Indicates if any key is currently being pressed on the keyboard.
- isFileFormatSupported(String) - Method in interface de.vatrasoft.vatralib.Binding
-
Checks if the given resource file extension is supported by this binding.
- isKeyPressed(Key) - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Indicates if the given
Keyis currently being pressed on the keyboard.
J
K
- K - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Kkey - Key - Enum in de.vatrasoft.vatralib.gfx
-
The constants of this enumerated type represent keys on the keyboard.
- KP_DOWN - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Down(arrow) key on the numeric keypad - KP_LEFT - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Left(arrow) key on the numeric keypad - KP_RIGHT - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Right(arrow) key on the numeric keypad - KP_UP - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Up(arrow) key on the numeric keypad
L
- L - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Lkey - LEFT - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Left(arrow) key - LIGHT_GRAY - Static variable in class de.vatrasoft.vatralib.gfx.Color
-
The color light gray.
M
- M - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Mkey - MAGENTA - Static variable in class de.vatrasoft.vatralib.gfx.Color
-
The color magenta.
- MAX_OPACITY - Static variable in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
The maximum allowed opacity (i.e. all objects will be fully opaque)
- META - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Metakey - MIN_OPACITY - Static variable in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
The minimum allowed opacity (i.e. all objects will be fully transparent)
- MINUS - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Minuskey - MULTIPLY - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Multiplykey - MUTE - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Mutekey
N
- N - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Nkey - NUMPAD0 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
0key on the numeric keypad - NUMPAD1 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
1key on the numeric keypad - NUMPAD2 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
2key on the numeric keypad - NUMPAD3 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
3key on the numeric keypad - NUMPAD4 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
4key on the numeric keypad - NUMPAD5 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
5key on the numeric keypad - NUMPAD6 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
6key on the numeric keypad - NUMPAD7 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
7key on the numeric keypad - NUMPAD8 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
8key on the numeric keypad - NUMPAD9 - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
9key on the numeric keypad
O
- O - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Okey - of(int, int, int) - Static method in class de.vatrasoft.vatralib.gfx.Color
-
Creates the
Colorwith the given RGB values. - of(String) - Static method in class de.vatrasoft.vatralib.gfx.Color
-
Creates the
Colorwith the RGB values contained in the given color string. - ORANGE - Static variable in class de.vatrasoft.vatralib.gfx.Color
-
The color orange.
- overlaps(Rectangle) - Method in class de.vatrasoft.vatralib.model.Rectangle
-
Returns
trueif thisRectangleand the givenRectangleoverlap.
P
- P - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Pkey - PAGE_DOWN - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
PageDownkey - PAGE_UP - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
PageUpkey - PERIOD - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Periodkey
Q
R
- R - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Rkey - Rectangle - Class in de.vatrasoft.vatralib.model
-
This class represents immutable two-dimensional rectangles.
- Rectangle(int, int, int, int) - Constructor for class de.vatrasoft.vatralib.model.Rectangle
-
Constructs a new
Rectanglewith the given coordinates and dimensions. - RED - Static variable in class de.vatrasoft.vatralib.gfx.Color
-
The color red.
- removeObject(long) - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Removes the object with the given ID from the screen and ensures that it will not be displayed until a new call to
GfxBinding.drawImage(long, String, int, int, int, int),GfxBinding.drawImageSection(long, String, Rectangle, int, int, int, int, boolean, boolean)orGfxBinding.drawFilledArea(long, String, int, int, int, int, int, int)is made for the same object ID. - retrieveImageDimensions(String) - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Retrieves the dimensions, i.e. width and height, of the image denoted by the given filepath.
- RIGHT - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Right(arrow) key
S
- S - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Skey - setBackgroundColor(Color) - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Sets the desired background color for the active window.
- setFullscreen(boolean) - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Enables or disables fullscreen mode.
- setTotalOpacity(int) - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Sets the desired opacity for all objects.
- SHIFT - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Shiftkey - SPACE - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Spacekey - SUBTRACT - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Subtractkey - supportsZOrdering() - Method in interface de.vatrasoft.vatralib.gfx.GfxBinding
-
Indicates if this
GfxBindingcan take care of drawing some objects on top of others depending on their z coordinate.
T
- T - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Tkey - TAB - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Tabkey - toString() - Method in class de.vatrasoft.vatralib.gfx.Color
-
Returns a string representation of this
Color. - toString() - Method in class de.vatrasoft.vatralib.model.Rectangle
-
Returns a string representation of this
Rectangle.
U
- U - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Ukey - UNDEFINED - de.vatrasoft.vatralib.gfx.Key
-
Constant for unknown keys
- UP - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Up(arrow) key
V
- V - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Vkey - valueOf(String) - Static method in enum de.vatrasoft.vatralib.gfx.Key
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum de.vatrasoft.vatralib.gfx.Key
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VOLUME_DOWN - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Volume Downkey - VOLUME_UP - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Volume Upkey
W
- W - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Wkey - WHITE - Static variable in class de.vatrasoft.vatralib.gfx.Color
-
The color white.
- WINDOWS - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Windowskey
X
Y
- Y - de.vatrasoft.vatralib.gfx.Key
-
Constant for the
Ykey - YELLOW - Static variable in class de.vatrasoft.vatralib.gfx.Color
-
The color yellow.
Z
A B C D E F G H I J K L M N O P Q R S T U V W X Y ZAll Classes All Packages