A B C D E F G H I J K L M N O P R S T U V W X Y Z 

A

a - Variable in class org.jsfml.graphics.Color
The alpha component of the color, ranging between 0 (transparent) and 255 (fully opaque).
add(Color, Color) - Static method in class org.jsfml.graphics.Color
Modulates two colors by performing a component-wise addition.
add(Time, Time) - Static method in class org.jsfml.system.Time
Adds two time values.
add(Vector2f, Vector2f) - Static method in class org.jsfml.system.Vector2f
Adds two vectors.
add(Vector2i, Vector2i) - Static method in class org.jsfml.system.Vector2i
Adds two vectors.
add(Vector3f, Vector3f) - Static method in class org.jsfml.system.Vector3f
Adds two vectors.
add(Vector3i, Vector3i) - Static method in class org.jsfml.system.Vector3i
Adds two vectors.
advance - Variable in class org.jsfml.graphics.Glyph
The offset to move horizontally to the next character.
alt - Variable in class org.jsfml.window.event.KeyEvent
true if an ALT key (left or right) was pressed when the event occured, false if not.
antialiasingLevel - Variable in class org.jsfml.window.ContextSettings
The level of anti-aliasing.
asJoystickButtonEvent() - Method in class org.jsfml.window.event.Event
Attempts to cast this event to a JoystickButtonEvent.
asJoystickButtonEvent() - Method in class org.jsfml.window.event.JoystickButtonEvent
 
asJoystickEvent() - Method in class org.jsfml.window.event.Event
Attempts to cast this event to a JoystickEvent.
asJoystickEvent() - Method in class org.jsfml.window.event.JoystickEvent
 
asJoystickMoveEvent() - Method in class org.jsfml.window.event.Event
Attempts to cast this event to a JoystickMoveEvent.
asJoystickMoveEvent() - Method in class org.jsfml.window.event.JoystickMoveEvent
 
asKeyEvent() - Method in class org.jsfml.window.event.Event
Attempts to cast this event to a KeyEvent.
asKeyEvent() - Method in class org.jsfml.window.event.KeyEvent
 
asMicroseconds() - Method in class org.jsfml.system.Time
Returns the time value in microseconds.
asMilliseconds() - Method in class org.jsfml.system.Time
Returns the time value in milliseconds.
asMouseButtonEvent() - Method in class org.jsfml.window.event.Event
Attempts to cast this event to a MouseButtonEvent.
asMouseButtonEvent() - Method in class org.jsfml.window.event.MouseButtonEvent
 
asMouseEvent() - Method in class org.jsfml.window.event.Event
Attempts to cast this event to a MouseEvent.
asMouseEvent() - Method in class org.jsfml.window.event.MouseEvent
 
asMouseWheelEvent() - Method in class org.jsfml.window.event.Event
Attempts to cast this event to a MouseWheelEvent.
asMouseWheelEvent() - Method in class org.jsfml.window.event.MouseWheelEvent
 
asSeconds() - Method in class org.jsfml.system.Time
Returns the time value in seconds.
asSizeEvent() - Method in class org.jsfml.window.event.Event
Attempts to cast this event to a SizeEvent.
asSizeEvent() - Method in class org.jsfml.window.event.SizeEvent
 
asTextEvent() - Method in class org.jsfml.window.event.Event
Attempts to cast this event to a TextEvent.
asTextEvent() - Method in class org.jsfml.window.event.TextEvent
 

B

b - Variable in class org.jsfml.graphics.Color
The blue component of the color.
BasicTransformable - Class in org.jsfml.graphics
Implementation of the Transformable interface.
BasicTransformable() - Constructor for class org.jsfml.graphics.BasicTransformable
Default constructor, initializes this object with an identity transformation.
bind(ConstShader) - Static method in class org.jsfml.graphics.Shader
Activates a shader for rendering.
bind(ConstTexture, Texture.CoordinateType) - Static method in class org.jsfml.graphics.Texture
Activates a texture for rendering with the specified coordinate type.
bind(ConstTexture) - Static method in class org.jsfml.graphics.Texture
Activates a texture for rendering, using the Texture.CoordinateType.NORMALIZED coordinate type.
bitsPerPixel - Variable in class org.jsfml.window.VideoMode
The pixel depth, in bits per pixel, of the video mode.
BLACK - Static variable in class org.jsfml.graphics.Color
Black (0, 0, 0)
BlendMode - Enum in org.jsfml.graphics
Enumeration of the supported blending modes for drawing.
blendMode - Variable in class org.jsfml.graphics.RenderStates
The blending mode used for drawing.
BLUE - Static variable in class org.jsfml.graphics.Color
Blue (0, 0, 255)
BOLD - Static variable in interface org.jsfml.graphics.TextStyle
Bold drawing style.
bounds - Variable in class org.jsfml.graphics.Glyph
The bounding rectangle of the glyph, in coordinates relative to the baseline.
button - Variable in class org.jsfml.window.event.JoystickButtonEvent
The index of the button that was pressed or released.
button - Variable in class org.jsfml.window.event.MouseButtonEvent
The mouse button that was pressed or released.
BUTTON_COUNT - Static variable in class org.jsfml.window.Joystick
The maximum amount of supported joystick and gamepad buttons.

C

capture() - Method in class org.jsfml.graphics.RenderWindow
Copies the current contents of the window to an image.
character - Variable in class org.jsfml.window.event.TextEvent
The Java representation of the character that was entered.
CircleShape - Class in org.jsfml.graphics
A specialized shape representing a circle.
CircleShape() - Constructor for class org.jsfml.graphics.CircleShape
Constructs a new circle shape with a zero radius, approximated using 30 points.
CircleShape(float) - Constructor for class org.jsfml.graphics.CircleShape
Constructs a new circle shape with the specified radius, approximated using 30 points.
CircleShape(float, int) - Constructor for class org.jsfml.graphics.CircleShape
Constructs a new circle shape with the specified parameters.
clear(Color) - Method in interface org.jsfml.graphics.RenderTarget
Clears the render target and fills it with a constant color.
clear(Color) - Method in class org.jsfml.graphics.RenderTexture
 
clear() - Method in class org.jsfml.graphics.RenderTexture
Clears the target with black.
clear(Color) - Method in class org.jsfml.graphics.RenderWindow
 
clear() - Method in class org.jsfml.graphics.RenderWindow
Clears the target with black.
Clock - Class in org.jsfml.system
Provides functionality for time measurement.
Clock() - Constructor for class org.jsfml.system.Clock
Constructs a clock and starts it.
close() - Method in class org.jsfml.window.Window
Closes the window and destroys all attached resources, including the OpenGL context provided by it.
CLOSE - Static variable in interface org.jsfml.window.WindowStyle
Adds a close button to the window.
Color - Class in org.jsfml.graphics
Represents RGBA colors.
Color(int, int, int) - Constructor for class org.jsfml.graphics.Color
Constructs a new color with the specified color components and an alpha value of 255 (fully opaque).
Color(int, int, int, int) - Constructor for class org.jsfml.graphics.Color
Constructs a new color with the specified color and alpha components.
Color(Color, int) - Constructor for class org.jsfml.graphics.Color
Constructs a new color by copying another color and resetting the alpha value.
color - Variable in class org.jsfml.graphics.Vertex
The vertex color.
combine(Transform, Transform) - Static method in class org.jsfml.graphics.Transform
Combines two transformation matrices by multiplying them.
compareTo(Time) - Method in class org.jsfml.system.Time
 
componentwiseDiv(Vector2f, Vector2f) - Static method in class org.jsfml.system.Vector2f
Performs a component-wise division of two vectors.
componentwiseDiv(Vector2i, Vector2i) - Static method in class org.jsfml.system.Vector2i
Performs a component-wise division of two vectors.
componentwiseDiv(Vector3f, Vector3f) - Static method in class org.jsfml.system.Vector3f
Performs a component-wise division of two vectors.
componentwiseDiv(Vector3i, Vector3i) - Static method in class org.jsfml.system.Vector3i
Performs a component-wise division of two vectors.
componentwiseMul(Vector2f, Vector2f) - Static method in class org.jsfml.system.Vector2f
Performs a component-wise multiplication of two vectors.
componentwiseMul(Vector2i, Vector2i) - Static method in class org.jsfml.system.Vector2i
Performs a component-wise multiplication of two vectors.
componentwiseMul(Vector3f, Vector3f) - Static method in class org.jsfml.system.Vector3f
Performs a component-wise multiplication of two vectors.
componentwiseMul(Vector3i, Vector3i) - Static method in class org.jsfml.system.Vector3i
Performs a component-wise multiplication of two vectors.
Const - Interface in org.jsfml.internal
Interface for read-only objects.
ConstFont - Interface in org.jsfml.graphics
Interface for read-only fonts.
ConstShader - Interface in org.jsfml.graphics
Interface for read-only textures.
ConstSoundBuffer - Interface in org.jsfml.audio
Read-only interface for sound buffers.
ConstTexture - Interface in org.jsfml.graphics
Interface for read-only textures.
ConstView - Interface in org.jsfml.graphics
Interface for read-only views.
contains(float, float) - Method in class org.jsfml.graphics.FloatRect
Tests whether a point is inside the rectangle's boundaries, including its edges.
contains(Vector2f) - Method in class org.jsfml.graphics.FloatRect
Tests whether a point is inside the rectangle's boundaries, including its edges.
contains(int, int) - Method in class org.jsfml.graphics.IntRect
Tests whether a point is inside the rectangle's boundaries, including its edges.
contains(Vector2i) - Method in class org.jsfml.graphics.IntRect
Tests whether a point is inside the rectangle's boundaries, including its edges.
Context - Class in org.jsfml.window
Holds a valid OpenGL drawing context.
ContextActivationException - Exception in org.jsfml.window
Thrown when activating or deactivating an OpenGL fails using Context.setActive(boolean) or Window.setActive(boolean).
ContextActivationException(String) - Constructor for exception org.jsfml.window.ContextActivationException
Constructs a context activation exception with the specified message.
ContextSettings - Class in org.jsfml.window
Holds the settings for an OpenGL context attached to a window.
ContextSettings() - Constructor for class org.jsfml.window.ContextSettings
Constructs new context settings with default values (OpenGL 2.0, no depth or stencil bits, no anti-aliasing).
ContextSettings(int) - Constructor for class org.jsfml.window.ContextSettings
Constructs new context settings with the specified level of anti-aliasing and OpenGL 2.0, no depth or stencil bits.
ContextSettings(int, int) - Constructor for class org.jsfml.window.ContextSettings
Constructs new context settings with the specified OpenGL version, no depth or stencil bits and no anti-aliasing.
ContextSettings(int, int, int) - Constructor for class org.jsfml.window.ContextSettings
Constructs new context settings with the specified OpenGL version and anti-aliasing level and no depth or stencil bits.
ContextSettings(int, int, int, int, int) - Constructor for class org.jsfml.window.ContextSettings
Constructs new context settings.
control - Variable in class org.jsfml.window.event.KeyEvent
true if a CTRL key (left or right) was pressed when the event occured, false if not.
ConvexShape - Class in org.jsfml.graphics
Specialized shape representing a convex polygon.
ConvexShape() - Constructor for class org.jsfml.graphics.ConvexShape
Constructs a new empty polygon.
ConvexShape(int) - Constructor for class org.jsfml.graphics.ConvexShape
Constructs a new empty polygon and allocates a certain amount of points.
ConvexShape(Vector2f...) - Constructor for class org.jsfml.graphics.ConvexShape
Constructs a new polygon from a given set of points.
copy(Image, int, int, IntRect, boolean) - Method in class org.jsfml.graphics.Image
Copies a portion of another image onto this image.
copy(Image, int, int, IntRect) - Method in class org.jsfml.graphics.Image
Copies a portion of another image onto this image.
copy(Image, int, int) - Method in class org.jsfml.graphics.Image
Copies another image onto this image.
copyToImage() - Method in interface org.jsfml.graphics.ConstTexture
Copies this texture to an editable Image.
copyToImage() - Method in class org.jsfml.graphics.Texture
 
create(int, int, Color) - Method in class org.jsfml.graphics.Image
Generates a new image and fills it with a color.
create(int, int) - Method in class org.jsfml.graphics.Image
Generates a new image and fills it with black.
create(BufferedImage) - Method in class org.jsfml.graphics.Image
Creates a new image by converting an AWT BufferedImage.
create(int, int, int[]) - Method in class org.jsfml.graphics.Image
Creates a new image from the given pixel data.
create(int, int, boolean) - Method in class org.jsfml.graphics.RenderTexture
Sets up the render texture.
create(int, int) - Method in class org.jsfml.graphics.RenderTexture
Sets up the render texture without a depth buffer.
create(VideoMode, String, int, ContextSettings) - Method in class org.jsfml.graphics.RenderWindow
 
create(int, int) - Method in class org.jsfml.graphics.Texture
Generates an empty texture with the specified dimensions.
create(VideoMode, String, int, ContextSettings) - Method in class org.jsfml.window.Window
Creates and opens a window or re-creates it if it was already opened.
create(VideoMode, String, int) - Method in class org.jsfml.window.Window
Creates and opens a window or re-creates it if it was already opened.
create(VideoMode, String) - Method in class org.jsfml.window.Window
Creates and opens a window or re-creates it if it was already opened.
createMaskFromColor(Color, int) - Method in class org.jsfml.graphics.Image
Creates a transparency mask from the given color.
createMaskFromColor(Color) - Method in class org.jsfml.graphics.Image
Creates a transparency mask from the given color, making matching pixels fully transparent.
CURRENT_TEXTURE - Static variable in class org.jsfml.graphics.Shader
Special value denoting that the texture of the object being drawn should be used, which cannot be known before it is actually being drawn.
CYAN - Static variable in class org.jsfml.graphics.Color
Cyan (0, 255, 255)

D

decodeColor(int) - Static method in class org.jsfml.internal.IntercomHelper
Decodes a color from a 32-bit integer.
decodeFloatRect() - Static method in class org.jsfml.internal.IntercomHelper
Decodes a float rectangle from the current float buffer content.
decodeIntRect() - Static method in class org.jsfml.internal.IntercomHelper
Decodes an integer rectangle from the current float buffer content.
decodeTransform() - Static method in class org.jsfml.internal.IntercomHelper
Decodes a transformation matrix from the current float buffer content.
decodeVector2f(long) - Static method in class org.jsfml.internal.IntercomHelper
Decodes a float vector from a 64-bit integer.
decodeVector2i(long) - Static method in class org.jsfml.internal.IntercomHelper
Decodes an integer vector from a 64-bit integer.
DEFAULT - Static variable in class org.jsfml.graphics.RenderStates
Pre-defined instance holding the default render states using BlendMode.ALPHA blending, the identity transformation and no texture or shader.
DEFAULT - Static variable in interface org.jsfml.window.WindowStyle
The default style, a resizable and closeable window with a title bar.
delta - Variable in class org.jsfml.window.event.MouseWheelEvent
The amount of ticks that the mouse wheel was moved.
depthBits - Variable in class org.jsfml.window.ContextSettings
The amount of depth buffer bits.
display() - Method in class org.jsfml.graphics.RenderTexture
Updates the contents of the target texture.
display() - Method in class org.jsfml.window.Window
Flushes the OpenGL pixel buffer to the screen.
div(Time, float) - Static method in class org.jsfml.system.Time
Scales a time by dividing it by a scalar.
div(Vector2f, float) - Static method in class org.jsfml.system.Vector2f
Multiplies a vector by the inverse of a scalar.
div(Vector2i, int) - Static method in class org.jsfml.system.Vector2i
Multiplies a vector by the inverse of a scalar.
div(Vector3f, float) - Static method in class org.jsfml.system.Vector3f
Multiplies a vector by the inverse of a scalar.
div(Vector3i, int) - Static method in class org.jsfml.system.Vector3i
Performs an integer division on each component of the vector by a scalar.
draw(RenderTarget, RenderStates) - Method in interface org.jsfml.graphics.Drawable
Draws the object to a render target.
draw(Drawable) - Method in interface org.jsfml.graphics.RenderTarget
Draws a drawable object to the render target using the default render states.
draw(Drawable, RenderStates) - Method in interface org.jsfml.graphics.RenderTarget
Draws a drawable object to the render target using the given render states.
draw(Vertex[], PrimitiveType) - Method in interface org.jsfml.graphics.RenderTarget
Draws a primitive of the given type using the given vertices and the default render states.
draw(Vertex[], PrimitiveType, RenderStates) - Method in interface org.jsfml.graphics.RenderTarget
Draws a primitive of the given type using the given vertices and the given render states.
draw(Drawable) - Method in class org.jsfml.graphics.RenderTexture
 
draw(Drawable, RenderStates) - Method in class org.jsfml.graphics.RenderTexture
 
draw(Vertex[], PrimitiveType) - Method in class org.jsfml.graphics.RenderTexture
 
draw(Vertex[], PrimitiveType, RenderStates) - Method in class org.jsfml.graphics.RenderTexture
 
draw(Drawable) - Method in class org.jsfml.graphics.RenderWindow
 
draw(Drawable, RenderStates) - Method in class org.jsfml.graphics.RenderWindow
 
draw(Vertex[], PrimitiveType) - Method in class org.jsfml.graphics.RenderWindow
 
draw(Vertex[], PrimitiveType, RenderStates) - Method in class org.jsfml.graphics.RenderWindow
 
draw(RenderTarget, RenderStates) - Method in class org.jsfml.graphics.Shape
 
draw(RenderTarget, RenderStates) - Method in class org.jsfml.graphics.Sprite
 
draw(RenderTarget, RenderStates) - Method in class org.jsfml.graphics.Text
 
draw(RenderTarget, RenderStates) - Method in class org.jsfml.graphics.VertexArray
 
Drawable - Interface in org.jsfml.graphics
Interface for objects that can be drawn to a render target.

E

EMPTY - Static variable in class org.jsfml.graphics.FloatRect
An empty rectangle with no dimensions.
EMPTY - Static variable in class org.jsfml.graphics.IntRect
An empty rectangle with no dimensions.
encodeColor(Color) - Static method in class org.jsfml.internal.IntercomHelper
Encodes a color into a 32-bit integer.
encodeFloatRect(FloatRect) - Static method in class org.jsfml.internal.IntercomHelper
Encodes a float rectangle into the current float buffer.
encodeIntRect(IntRect) - Static method in class org.jsfml.internal.IntercomHelper
Encodes an integer rectangle into the current integer buffer.
encodeTransform(Transform) - Static method in class org.jsfml.internal.IntercomHelper
Encodes a transformation matrix into the current float buffer.
encodeVector2f(Vector2f) - Static method in class org.jsfml.internal.IntercomHelper
Encodes a float vector into a 64-bit integer.
encodeVector2i(Vector2i) - Static method in class org.jsfml.internal.IntercomHelper
Encodes an integer vector into a 64-bit integer.
ensureDisplay() - Static method in class org.jsfml.internal.SFMLNative
Ensures that a display is available on this system.
equals(Object) - Method in class org.jsfml.graphics.Color
 
equals(Object) - Method in class org.jsfml.graphics.FloatRect
 
equals(Object) - Method in class org.jsfml.graphics.IntRect
 
equals(Object) - Method in class org.jsfml.graphics.Transform
 
equals(Object) - Method in class org.jsfml.system.Time
 
equals(Object) - Method in class org.jsfml.system.Vector2f
 
equals(Object) - Method in class org.jsfml.system.Vector2i
 
equals(Object) - Method in class org.jsfml.system.Vector3f
 
equals(Object) - Method in class org.jsfml.system.Vector3i
 
equals(Object) - Method in class org.jsfml.window.ContextSettings
 
equals(Object) - Method in class org.jsfml.window.VideoMode
 
Event - Class in org.jsfml.window.event
Base class for window events.
Event(int) - Constructor for class org.jsfml.window.event.Event
Constructs a new event.
Event.Type - Enum in org.jsfml.window.event
Enumeration of available window event types.

F

finalize() - Method in class org.jsfml.internal.NativeRef
 
finalize() - Method in class org.jsfml.internal.SFMLNativeObject
 
findCharacterPos(int) - Method in class org.jsfml.graphics.Text
Returns the position of a character inside the string.
finish() - Static method in class org.jsfml.internal.SFMLErrorCapture
Finishes capturing all output to sf::err() and returns what was captured.
flipHorizontally() - Method in class org.jsfml.graphics.Image
Flips the image horizontally.
flipVertically() - Method in class org.jsfml.graphics.Image
Flips the image vertically.
FloatRect - Class in org.jsfml.graphics
Represents an axis-aligned rectangle using floating point coordinates.
FloatRect(float, float, float, float) - Constructor for class org.jsfml.graphics.FloatRect
Constructs a new rectangle with the specified parameters.
FloatRect(Vector2f, Vector2f) - Constructor for class org.jsfml.graphics.FloatRect
Constructs a new rectangle with the specified parameters.
FloatRect(IntRect) - Constructor for class org.jsfml.graphics.FloatRect
Constructs a new rectangle by converting an intergral rectangle.
Font - Class in org.jsfml.graphics
Holds a character font for use in text displays.
Font() - Constructor for class org.jsfml.graphics.Font
Constructs a new font.
FULLSCREEN - Static variable in interface org.jsfml.window.WindowStyle
Makes the window a fullscreen window.

G

g - Variable in class org.jsfml.graphics.Color
The green component of the color.
getAttenuation() - Method in class org.jsfml.audio.SoundSource
Gets the sound's attenuation factor.
getAxisPosition(int, Joystick.Axis) - Static method in class org.jsfml.window.Joystick
Retrieves the current position of the specified axis of a joystick or gamepad.
getBounds() - Method in class org.jsfml.graphics.VertexArray
Computes the axis-aligned bounding box of this vertex array.
getBuffer() - Method in class org.jsfml.audio.Sound
Gets the underlying sound buffer that this sound plays from.
getBuffer() - Method in class org.jsfml.audio.SoundBufferRecorder
Gets the sound buffer containing the captured audio data.
getBuffer() - Static method in class org.jsfml.internal.IntercomHelper
Gets the current thread-local buffer.
getButtonCount(int) - Static method in class org.jsfml.window.Joystick
Retrieves the amount of buttons of a joystick or gamepad.
getCenter() - Method in interface org.jsfml.graphics.ConstView
Gets the current center of the view.
getCenter() - Method in class org.jsfml.graphics.View
 
getChannelCount() - Method in interface org.jsfml.audio.ConstSoundBuffer
Gets the amount of audio channels in the buffer (e.g.
getChannelCount() - Method in class org.jsfml.audio.SoundBuffer
 
getChannelCount() - Method in class org.jsfml.audio.SoundStream
Gets the amount of audio channels of this stream.
getCharacterSize() - Method in class org.jsfml.graphics.Text
Gets the text's current font size.
getColor() - Method in class org.jsfml.graphics.Sprite
Gets the sprite's current color mask.
getColor() - Method in class org.jsfml.graphics.Text
Gets the text's current font color.
getContext() - Static method in class org.jsfml.window.Context
Creates and activates a valid OpenGL context on the current thread.
getDefaultView() - Method in interface org.jsfml.graphics.RenderTarget
Gets the target's default view.
getDefaultView() - Method in class org.jsfml.graphics.RenderTexture
 
getDefaultView() - Method in class org.jsfml.graphics.RenderWindow
 
getDesktopMode() - Static method in class org.jsfml.window.VideoMode
Retrieves the desktop's current video mode / screen resolution.
getDirection() - Static method in class org.jsfml.audio.Listener
Gets the listener's current orientation or "view direction" in the scene.
getDuration() - Method in interface org.jsfml.audio.ConstSoundBuffer
Gets the duration of the sound.
getDuration() - Method in class org.jsfml.audio.Music
Gets the total duration of the music.
getDuration() - Method in class org.jsfml.audio.SoundBuffer
 
getElapsedTime() - Method in class org.jsfml.system.Clock
Gets the elapsed time since the clock was created or last restarted.
getFillColor() - Method in class org.jsfml.graphics.Shape
Gets the shape's current fill color.
getFont() - Method in class org.jsfml.graphics.Text
Gets the text's current font.
getFullscreenModes() - Static method in class org.jsfml.window.VideoMode
Retrieves the list of supported fullscreen video modes.
getGlobalBounds() - Method in class org.jsfml.graphics.Shape
Gets the text's global bounding rectangle in the scene, taking the text's transformation into account.
getGlobalBounds() - Method in class org.jsfml.graphics.Sprite
Gets the sprite's global bounding rectangle in the scene, taking the sprite's transformation into account.
getGlobalBounds() - Method in class org.jsfml.graphics.Text
Gets the text's global bounding rectangle in the scene, taking the text's transformation into account.
getGlobalVolume() - Static method in class org.jsfml.audio.Listener
Gets the global sound volume.
getGlyph(int, int, boolean) - Method in interface org.jsfml.graphics.ConstFont
Gets a glyph information structure from the font.
getGlyph(int, int, boolean) - Method in class org.jsfml.graphics.Font
 
getInverse() - Method in class org.jsfml.graphics.Transform
Returns the inverse transformation.
getInverseTransform() - Method in class org.jsfml.graphics.BasicTransformable
 
getInverseTransform() - Method in interface org.jsfml.graphics.ConstView
Gets the inverse of the view's current transformation matrix as determined by its center, size and rotation angle.
getInverseTransform() - Method in interface org.jsfml.graphics.Transformable
Gets the inverse of the current transformation matrix.
getInverseTransform() - Method in class org.jsfml.graphics.View
 
getKerning(int, int, int) - Method in interface org.jsfml.graphics.ConstFont
Gets the kerning offset between two glyphs.
getKerning(int, int, int) - Method in class org.jsfml.graphics.Font
 
getLineSpacing(int) - Method in interface org.jsfml.graphics.ConstFont
Gets the line spacing of the font.
getLineSpacing(int) - Method in class org.jsfml.graphics.Font
 
getLocalBounds() - Method in class org.jsfml.graphics.Shape
Gets the text's local bounding rectangle, not taking the text's transformation into account.
getLocalBounds() - Method in class org.jsfml.graphics.Sprite
Gets the sprite's local bounding rectangle, not taking the sprite's transformation into account.
getLocalBounds() - Method in class org.jsfml.graphics.Text
Gets the text's local bounding rectangle, not taking the text's transformation into account.
getMatrix() - Method in class org.jsfml.graphics.Transform
Gets a copy of the underlying 4x4 3D transformation matrix.
getMaximumSize() - Static method in class org.jsfml.graphics.Texture
Gets the maximum texture size supported by the current hardware.
getMicroseconds(long) - Static method in class org.jsfml.system.Time
Creates a new time with the given value.
getMilliseconds(long) - Static method in class org.jsfml.system.Time
Creates a new time with the given value.
getMinDistance() - Method in class org.jsfml.audio.SoundSource
Gets the sound's minimum distance from the Listener before attenuation sets in.
getOrigin() - Method in class org.jsfml.graphics.BasicTransformable
 
getOrigin() - Method in interface org.jsfml.graphics.Transformable
Gets the origin of this object.
getOutlineColor() - Method in class org.jsfml.graphics.Shape
Gets the shape's current outline color.
getOutlineThickness() - Method in class org.jsfml.graphics.Shape
Gets the shape's current outline thickness.
getPitch() - Method in class org.jsfml.audio.SoundSource
Gets the sound's current pitch factor.
getPixel(int, int) - Method in class org.jsfml.graphics.Image
Gets the color of a certain pixel.
getPixels() - Method in class org.jsfml.graphics.Image
Retrieves a copy of all the pixels of the image in 32-bit ARGB color format.
getPlayingOffset() - Method in class org.jsfml.audio.Sound
Gets the playing offset from where to start playing the underlying buffer.
getPlayingOffset() - Method in class org.jsfml.audio.SoundStream
Gets the playing offset at which to play from the stream.
getPoint(int) - Method in class org.jsfml.graphics.Shape
Gets a point of the shape.
getPointCount() - Method in class org.jsfml.graphics.Shape
Gets the amount of points that defines this shape.
getPoints() - Method in class org.jsfml.graphics.ConvexShape
 
getPoints() - Method in class org.jsfml.graphics.Shape
Gets all the points of the shape.
getPosition() - Static method in class org.jsfml.audio.Listener
Gets the listener's current position in the scene.
getPosition() - Method in class org.jsfml.audio.SoundSource
Gets the sound's current position in the scene.
getPosition() - Method in class org.jsfml.graphics.BasicTransformable
 
getPosition() - Method in interface org.jsfml.graphics.Transformable
Gets the position of this object.
getPosition() - Static method in class org.jsfml.window.Mouse
Retrieves the absolute position of the mouse cursor on the screen.
getPosition(Window) - Static method in class org.jsfml.window.Mouse
Retrieves the position of the mouse cursor relative to a window.
getPosition() - Method in class org.jsfml.window.Window
Gets the absolute position of the window's top left corner on the screen.
getPrimitiveType() - Method in class org.jsfml.graphics.VertexArray
Gets the type of primitives drawn by this vertex array.
getRadius() - Method in class org.jsfml.graphics.CircleShape
Gets the radius of this circle.
getRotation() - Method in class org.jsfml.graphics.BasicTransformable
 
getRotation() - Method in interface org.jsfml.graphics.ConstView
Gets the current rotation angle of the view in degrees.
getRotation() - Method in interface org.jsfml.graphics.Transformable
Gets the rotation angle of this object.
getRotation() - Method in class org.jsfml.graphics.View
 
getSampleCount() - Method in interface org.jsfml.audio.ConstSoundBuffer
Retrieves the amount of samples stored in the buffer.
getSampleCount() - Method in class org.jsfml.audio.SoundBuffer
 
getSampleRate() - Method in interface org.jsfml.audio.ConstSoundBuffer
Gets the sound buffer's sample rate in samples per second.
getSampleRate() - Method in class org.jsfml.audio.SoundBuffer
 
getSampleRate() - Method in class org.jsfml.audio.SoundRecorder
Gets the sample rate that audio is being captured with.
getSampleRate() - Method in class org.jsfml.audio.SoundStream
Gets the sample rate of this stream.
getSamples() - Method in interface org.jsfml.audio.ConstSoundBuffer
Retrieves the raw 16-bit audio samples stored in the buffer.
getSamples() - Method in class org.jsfml.audio.SoundBuffer
 
getScale() - Method in class org.jsfml.graphics.BasicTransformable
 
getScale() - Method in interface org.jsfml.graphics.Transformable
Gets the scaling of this object.
getSeconds(float) - Static method in class org.jsfml.system.Time
Creates a new time with the given value.
getSettings() - Method in class org.jsfml.window.Window
Retrieves the context settings for the window's OpenGL context.
getSize() - Method in interface org.jsfml.graphics.ConstTexture
Gets the dimensions of the texture.
getSize() - Method in interface org.jsfml.graphics.ConstView
Gets the current dimensions of the view in pixels.
getSize() - Method in class org.jsfml.graphics.Image
Gets the size of the image.
getSize() - Method in class org.jsfml.graphics.RectangleShape
Gets the dimensions of the rectangle.
getSize() - Method in interface org.jsfml.graphics.RenderTarget
Gets the size of the render region.
getSize() - Method in class org.jsfml.graphics.RenderTexture
 
getSize() - Method in class org.jsfml.graphics.Texture
Gets the dimensions of the texture.
getSize() - Method in class org.jsfml.graphics.View
 
getSize() - Method in class org.jsfml.window.Window
Gets the size of the window.
getStatus() - Method in class org.jsfml.audio.Sound
 
getStatus() - Method in class org.jsfml.audio.SoundSource
Gets the current state of the sound stream.
getStatus() - Method in class org.jsfml.audio.SoundStream
 
getString() - Method in class org.jsfml.graphics.Text
Gets the text's string.
getStyle() - Method in class org.jsfml.graphics.Text
Gets the text's current font style.
getTexture(int) - Method in interface org.jsfml.graphics.ConstFont
Retrieves the texture containing the font's glyphs.
getTexture(int) - Method in class org.jsfml.graphics.Font
 
getTexture() - Method in class org.jsfml.graphics.RenderTexture
Gets the target texture.
getTexture() - Method in class org.jsfml.graphics.Shape
Gets the shape's current texture.
getTexture() - Method in class org.jsfml.graphics.Sprite
Gets the sprite's current texture.
getTextureRect() - Method in class org.jsfml.graphics.Shape
Gets the shape's current texture portion.
getTextureRect() - Method in class org.jsfml.graphics.Sprite
Gets the sprite's current texture rectangle.
getTransform() - Method in class org.jsfml.graphics.BasicTransformable
 
getTransform() - Method in interface org.jsfml.graphics.ConstView
Gets the view's current transformation matrix as determined by its center, size and rotation angle.
getTransform() - Method in interface org.jsfml.graphics.Transformable
Gets the current transformation matrix.
getTransform() - Method in class org.jsfml.graphics.View
 
getView() - Method in interface org.jsfml.graphics.RenderTarget
Gets the target's current view.
getView() - Method in class org.jsfml.graphics.RenderTexture
 
getView() - Method in class org.jsfml.graphics.RenderWindow
 
getViewport() - Method in interface org.jsfml.graphics.ConstView
Gets the current viewport rectangle of this view.
getViewport(ConstView) - Method in interface org.jsfml.graphics.RenderTarget
Computes the viewport of the given view applied to this render target.
getViewport(ConstView) - Method in class org.jsfml.graphics.RenderTexture
 
getViewport(ConstView) - Method in class org.jsfml.graphics.RenderWindow
 
getViewport() - Method in class org.jsfml.graphics.View
 
getVolume() - Method in class org.jsfml.audio.SoundSource
Gets the sound's current volume.
Glyph - Class in org.jsfml.graphics
Describes a glyph in a Font.
Glyph(int, IntRect, IntRect) - Constructor for class org.jsfml.graphics.Glyph
Constructs a glyph with the specified parameters.
GREEN - Static variable in class org.jsfml.graphics.Color
Green (0, 255, 0)

H

hasAxis(int, Joystick.Axis) - Static method in class org.jsfml.window.Joystick
Checks whether a joystick or gamepad supports the specified axis.
hashCode() - Method in class org.jsfml.graphics.Color
 
hashCode() - Method in class org.jsfml.graphics.FloatRect
 
hashCode() - Method in class org.jsfml.graphics.IntRect
 
hashCode() - Method in class org.jsfml.graphics.Transform
 
hashCode() - Method in class org.jsfml.system.Time
 
hashCode() - Method in class org.jsfml.system.Vector2f
 
hashCode() - Method in class org.jsfml.system.Vector2i
 
hashCode() - Method in class org.jsfml.system.Vector3f
 
hashCode() - Method in class org.jsfml.system.Vector3i
 
hashCode() - Method in class org.jsfml.window.ContextSettings
 
hashCode() - Method in class org.jsfml.window.VideoMode
 
hasNonZeroPointer() - Method in class org.jsfml.internal.NativeRef
Tests whether this reference has a non-zero native pointer.
height - Variable in class org.jsfml.graphics.FloatRect
The height of the rectangle.
height - Variable in class org.jsfml.graphics.IntRect
The height of the rectangle.
height - Variable in class org.jsfml.window.VideoMode
The height of the video mode, in pixels.

I

IDENTITY - Static variable in class org.jsfml.graphics.Transform
The identity transformation, maps any vector to itself and therefore "does nothing".
Image - Class in org.jsfml.graphics
Provides methods for loading, manipulating and saving images.
Image() - Constructor for class org.jsfml.graphics.Image
Constructs a new empty image.
Image.PixelOutOfBoundsException - Exception in org.jsfml.graphics
Thrown if a non-existing pixel is being accessed by either Image.getPixel(int, int) or Image.setPixel(int, int, Color).
Image.PixelOutOfBoundsException(int, int) - Constructor for exception org.jsfml.graphics.Image.PixelOutOfBoundsException
Constructs a new exception.
initialize(int, int) - Method in class org.jsfml.audio.Music
 
initialize(int, int) - Method in class org.jsfml.audio.SoundStream
Defines the audio stream parameters.
initialize(T) - Method in class org.jsfml.internal.NativeRef
Initializes a native reference with the specified Java object.
Intercom - Annotation Type in org.jsfml.internal
Annotation for intercom-critical types, fields, methods and constructors.
IntercomHelper - Class in org.jsfml.internal
Provides functionality to encode and decode data structures used for intercom methods.
intersection(FloatRect) - Method in class org.jsfml.graphics.FloatRect
Tests whether this rectangle intersects with another rectangle and calculates the rectangle of intersection.
intersection(IntRect) - Method in class org.jsfml.graphics.IntRect
Tests whether this rectangle intersects with another rectangle and calculates the rectangle of intersection.
IntRect - Class in org.jsfml.graphics
Represents an axis-aligned rectangle using integer coordinates.
IntRect(int, int, int, int) - Constructor for class org.jsfml.graphics.IntRect
Constructs a new rectangle with the specified parameters.
IntRect(Vector2i, Vector2i) - Constructor for class org.jsfml.graphics.IntRect
Constructs a new rectangle with the specified parameters.
IntRect(FloatRect) - Constructor for class org.jsfml.graphics.IntRect
Constructs a new rectangle by converting a floating point rectangle.
isAvailable() - Static method in class org.jsfml.audio.SoundRecorder
Checks whether audio capturing is available on this system.
isAvailable() - Static method in class org.jsfml.graphics.Shader
Checks if shaders are available on this system.
isButtonPressed(int, int) - Static method in class org.jsfml.window.Joystick
Checks whether the specified button is currently pressed on a joystick or gamepad.
isButtonPressed(Mouse.Button) - Static method in class org.jsfml.window.Mouse
Checks if a mouse button is currently pressed.
isConnected(int) - Static method in class org.jsfml.window.Joystick
Checks if a joystick or gamepad is currently connected.
isKeyPressed(Keyboard.Key) - Static method in class org.jsfml.window.Keyboard
Checks if a certain key is currently pressed on the keyboard.
isLegalWindowThread() - Static method in class org.jsfml.window.Window
Checks whether the current native thread is eligibile for creating a window.
isLoop() - Method in class org.jsfml.audio.Sound
Returns whether or not the sound is looping.
isLoop() - Method in class org.jsfml.audio.SoundStream
Returns whether or not the sound stream playback is looping.
isOpen() - Method in class org.jsfml.window.Window
Checks if the window has been created and is opened.
isRelativeToListener() - Method in class org.jsfml.audio.SoundSource
Returns whether the sound's position is relative to the Listener.
isRepeated() - Method in interface org.jsfml.graphics.ConstTexture
Checks whether texture repeating is enabled.
isRepeated() - Method in class org.jsfml.graphics.RenderTexture
Checks whether texture repeating is enabled for the underlying texture.
isRepeated() - Method in class org.jsfml.graphics.Texture
 
isSmooth() - Method in interface org.jsfml.graphics.ConstTexture
Checks whether the smooth filter is enabled.
isSmooth() - Method in class org.jsfml.graphics.RenderTexture
Checks whether texture smoothing is enabled.
isSmooth() - Method in class org.jsfml.graphics.Texture
 
isValid() - Method in class org.jsfml.window.VideoMode
Checks whether this display mode is a valid fullscreen mode, ie whether the current monitor supports it for fullscreen.
ITALIC - Static variable in interface org.jsfml.graphics.TextStyle
Italic drawing style.

J

joyAxis - Variable in class org.jsfml.window.event.JoystickMoveEvent
The joystick or gamepad axis that was moved.
Joystick - Class in org.jsfml.window
Provides access to the the real-time states of joysticks and gamepads.
Joystick.Axis - Enum in org.jsfml.window
Enumeration of supported joystick and gamepad axes.
JOYSTICK_COUNT - Static variable in class org.jsfml.window.Joystick
The maximum amount of supported joysticks and gamepads.
JoystickButtonEvent - Class in org.jsfml.window.event
Represents joystick or gamepad button events.
JoystickButtonEvent(int, int, int) - Constructor for class org.jsfml.window.event.JoystickButtonEvent
Constructs a new joystick button event.
JoystickEvent - Class in org.jsfml.window.event
Represents generic joystick or gamepad events.
JoystickEvent(int, int) - Constructor for class org.jsfml.window.event.JoystickEvent
Constructs a new joystick event.
joystickId - Variable in class org.jsfml.window.event.JoystickEvent
The index of the joystick that caused this event.
JoystickMoveEvent - Class in org.jsfml.window.event
Represents joystick or gamepad axis movement events.
JoystickMoveEvent(int, int, int, float) - Constructor for class org.jsfml.window.event.JoystickMoveEvent
Constructs a new joystick axis event.
JSFMLError - Error in org.jsfml.internal
Error class for severe JSFML faults.
JSFMLError(String) - Constructor for error org.jsfml.internal.JSFMLError
Constructs a JSFML error with the specified message.
JSFMLError(String, Throwable) - Constructor for error org.jsfml.internal.JSFMLError
Constructs a JSFML error with the specified message and cause.

K

key - Variable in class org.jsfml.window.event.KeyEvent
The code of the key that was pressed or released.
Keyboard - Class in org.jsfml.window
Provides access to the the real-time state of the keyboard.
Keyboard.Key - Enum in org.jsfml.window
Enumeration of supported keys.
KeyEvent - Class in org.jsfml.window.event
Represents keyboard key events.
KeyEvent(int, int, boolean, boolean, boolean, boolean) - Constructor for class org.jsfml.window.event.KeyEvent
Constructs a new key event.

L

left - Variable in class org.jsfml.graphics.FloatRect
The X coordinate of the rectangle's left edge.
left - Variable in class org.jsfml.graphics.IntRect
The X coordinate of the rectangle's left edge.
Listener - Class in org.jsfml.audio
Represents the point in the scene from where all the sounds are heard and provides funcionality to modify it.
loadFromFile(Path) - Method in class org.jsfml.audio.SoundBuffer
Attempts to load the sound buffer from a file.
loadFromFile(Path) - Method in class org.jsfml.graphics.Font
Attempts to load the texture from a file.
loadFromFile(Path) - Method in class org.jsfml.graphics.Image
Attempts to load an image from a file.
loadFromFile(Path, Shader.Type) - Method in class org.jsfml.graphics.Shader
Attempts to load the shader from a file.
loadFromFile(Path, Path) - Method in class org.jsfml.graphics.Shader
Attempts to load the shader from files.
loadFromFile(Path, IntRect) - Method in class org.jsfml.graphics.Texture
Attempts to load the texture from a file.
loadFromFile(Path) - Method in class org.jsfml.graphics.Texture
Attempts to load the texture from a file.
loadFromImage(Image, IntRect) - Method in class org.jsfml.graphics.Texture
Attempts to load the texture from a source image portion.
loadFromImage(Image) - Method in class org.jsfml.graphics.Texture
Attempts to load the texture from a source image.
loadFromSamples(short[], int, int) - Method in class org.jsfml.audio.SoundBuffer
Attempts to load the sound buffer from an array of raw 16-bit audio samples.
loadFromSource(String, Shader.Type) - Method in class org.jsfml.graphics.Shader
Attempts to load a shader from GLSL source code.
loadFromSource(String, String) - Method in class org.jsfml.graphics.Shader
Attempts to load a shader from GLSL source code.
loadFromStream(InputStream) - Method in class org.jsfml.audio.SoundBuffer
Fully loads all available bytes from the specified InputStream and attempts to load the sound buffer from it.
loadFromStream(InputStream) - Method in class org.jsfml.graphics.Font
Fully loads all available bytes from an InputStream and attempts to load the texture from it.
loadFromStream(InputStream) - Method in class org.jsfml.graphics.Image
Fully loads all available bytes from an InputStream and attempts to load the image from it.
loadFromStream(InputStream, Shader.Type) - Method in class org.jsfml.graphics.Shader
Fully loads all available bytes from an InputStream and attempts to load the shader from it.
loadFromStream(InputStream, InputStream) - Method in class org.jsfml.graphics.Shader
Fully loads all available bytes from an InputStream and attempts to load the shader from it.
loadFromStream(InputStream, IntRect) - Method in class org.jsfml.graphics.Texture
Fully loads all available bytes from an InputStream and attempts to load the texture portion from it.
loadFromStream(InputStream) - Method in class org.jsfml.graphics.Texture
Fully loads all available bytes from an InputStream and attempts to load the texture from it.
loadNativeLibraries() - Static method in class org.jsfml.internal.SFMLNative
Loads the native JSFML libraries if it has not been done yet.

M

MAGENTA - Static variable in class org.jsfml.graphics.Color
Magenta (255, 255, 0)
majorVersion - Variable in class org.jsfml.window.ContextSettings
The desired major OpenGL version number.
manageSFMLObject(SFMLNativeObject, boolean) - Static method in class org.jsfml.internal.UnsafeOperations
Flags an SFML object as Java managed or unmanaged.
mapCoordsToPixel(Vector2f) - Method in interface org.jsfml.graphics.RenderTarget
Converts a point from world coordinates to target coordinates using the target's current view.
mapCoordsToPixel(Vector2f, ConstView) - Method in interface org.jsfml.graphics.RenderTarget
Converts a point from world coordinates to target coordinates for a certain view.
mapCoordsToPixel(Vector2f) - Method in class org.jsfml.graphics.RenderTexture
 
mapCoordsToPixel(Vector2f, ConstView) - Method in class org.jsfml.graphics.RenderTexture
 
mapCoordsToPixel(Vector2f) - Method in class org.jsfml.graphics.RenderWindow
 
mapCoordsToPixel(Vector2f, ConstView) - Method in class org.jsfml.graphics.RenderWindow
 
mapPixelToCoords(Vector2i) - Method in interface org.jsfml.graphics.RenderTarget
Converts a point from target coordinates to world coordinates using the target's current view.
mapPixelToCoords(Vector2i, ConstView) - Method in interface org.jsfml.graphics.RenderTarget
Converts a point from target coordinates to world coordinates for a certain view.
mapPixelToCoords(Vector2i) - Method in class org.jsfml.graphics.RenderTexture
 
mapPixelToCoords(Vector2i, ConstView) - Method in class org.jsfml.graphics.RenderTexture
 
mapPixelToCoords(Vector2i) - Method in class org.jsfml.graphics.RenderWindow
 
mapPixelToCoords(Vector2i, ConstView) - Method in class org.jsfml.graphics.RenderWindow
 
minorVersion - Variable in class org.jsfml.window.ContextSettings
The desired minor OpenGL version number.
Mouse - Class in org.jsfml.window
Provides access to the the real-time state of the mouse.
Mouse.Button - Enum in org.jsfml.window
Enumeration of supported mouse buttons.
MouseButtonEvent - Class in org.jsfml.window.event
Represents mouse button events.
MouseButtonEvent(int, int, int, int) - Constructor for class org.jsfml.window.event.MouseButtonEvent
Constructs a new mouse button event.
MouseEvent - Class in org.jsfml.window.event
Represents generic mouse events.
MouseEvent(int, int, int) - Constructor for class org.jsfml.window.event.MouseEvent
/** Constructs a new mouse button event.
MouseWheelEvent - Class in org.jsfml.window.event
Represents mouse wheel movement events.
MouseWheelEvent(int, int, int, int) - Constructor for class org.jsfml.window.event.MouseWheelEvent
Constructs a new mouse wheel event.
move(float, float) - Method in class org.jsfml.graphics.BasicTransformable
 
move(Vector2f) - Method in class org.jsfml.graphics.BasicTransformable
 
move(float, float) - Method in interface org.jsfml.graphics.Transformable
Moves this object.
move(Vector2f) - Method in interface org.jsfml.graphics.Transformable
Moves the object.
move(float, float) - Method in class org.jsfml.graphics.View
Moves the center of the view.
move(Vector2f) - Method in class org.jsfml.graphics.View
Moves the center of the view.
mul(Color, Color) - Static method in class org.jsfml.graphics.Color
Modulates two colors by performing a component-wise multiplication.
mul(Color, float) - Static method in class org.jsfml.graphics.Color
Modulates a color by multiplying its components with a factor.
mul(Time, float) - Static method in class org.jsfml.system.Time
Scales a time by multiplying its value by a scalar.
mul(Vector2f, float) - Static method in class org.jsfml.system.Vector2f
Multiplies a vector by a scalar.
mul(Vector2i, int) - Static method in class org.jsfml.system.Vector2i
Multiplies a vector by a scalar.
mul(Vector3f, float) - Static method in class org.jsfml.system.Vector3f
Multiplies a vector by a scalar.
mul(Vector3i, int) - Static method in class org.jsfml.system.Vector3i
Multiplies a vector by a scalar.
Music - Class in org.jsfml.audio
Provides functionality to play music streams from common audio file formats.
Music() - Constructor for class org.jsfml.audio.Music
Constructs a music.

N

nativeCreate() - Method in class org.jsfml.audio.Music
Deprecated.
nativeCreate() - Method in class org.jsfml.audio.Sound
Deprecated.
nativeCreate() - Method in class org.jsfml.audio.SoundBuffer
Deprecated.
nativeCreate() - Method in class org.jsfml.audio.SoundBufferRecorder
Deprecated.
nativeCreate() - Method in class org.jsfml.audio.SoundRecorder
Deprecated.
nativeCreate() - Method in class org.jsfml.audio.SoundStream
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.CircleShape
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.ConvexShape
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.Font
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.Image
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.RectangleShape
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.RenderTexture
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.RenderWindow
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.Shader
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.Sprite
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.Text
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.Texture
Deprecated.
nativeCreate() - Method in class org.jsfml.graphics.View
Deprecated.
nativeCreate() - Method in class org.jsfml.internal.SFMLNativeObject
Deprecated.
Use of this method may cause undefined behaviour and is not supported.
nativeCreate() - Method in class org.jsfml.window.Context
Deprecated.
nativeCreate() - Method in class org.jsfml.window.Window
Deprecated.
nativeDelete() - Method in class org.jsfml.audio.Music
Deprecated.
nativeDelete() - Method in class org.jsfml.audio.Sound
Deprecated.
nativeDelete() - Method in class org.jsfml.audio.SoundBuffer
Deprecated.
nativeDelete() - Method in class org.jsfml.audio.SoundBufferRecorder
Deprecated.
nativeDelete() - Method in class org.jsfml.audio.SoundRecorder
Deprecated.
nativeDelete() - Method in class org.jsfml.audio.SoundStream
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.CircleShape
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.ConvexShape
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.Font
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.Image
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.RectangleShape
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.RenderTexture
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.RenderWindow
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.Shader
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.Sprite
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.Text
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.Texture
Deprecated.
nativeDelete() - Method in class org.jsfml.graphics.View
Deprecated.
nativeDelete() - Method in class org.jsfml.internal.SFMLNativeObject
Deprecated.
Use of this method may cause undefined behaviour and is not supported.
nativeDelete() - Method in class org.jsfml.window.Context
Deprecated.
nativeDelete() - Method in class org.jsfml.window.Window
Deprecated.
nativeInitialize(T) - Method in class org.jsfml.internal.NativeRef
Initializes a native pointer related to the specified Java object.
nativeInitialize(SFMLInputStream) - Method in class org.jsfml.internal.SFMLInputStream.NativeStreamRef
 
NativeRef<T> - Class in org.jsfml.internal
Helper class for managing Java object references and related native pointers.
NativeRef() - Constructor for class org.jsfml.internal.NativeRef
Constructs a native reference.
nativeRelease(T, long) - Method in class org.jsfml.internal.NativeRef
Releases the Java reference, if any, and the managed native pointer, if any.
nativeRelease(SFMLInputStream, long) - Method in class org.jsfml.internal.SFMLInputStream.NativeStreamRef
 
nativeSetExPtr() - Method in class org.jsfml.audio.Music
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.audio.Sound
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.audio.SoundBuffer
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.audio.SoundBufferRecorder
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.audio.SoundRecorder
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.audio.SoundStream
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.CircleShape
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.ConvexShape
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.Font
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.Image
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.RectangleShape
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.RenderTexture
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.RenderWindow
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.Shader
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.Sprite
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.Text
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.Texture
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.graphics.View
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.internal.SFMLNativeObject
Deprecated.
Use of this method may cause undefined behaviour and is not supported.
nativeSetExPtr() - Method in class org.jsfml.window.Context
Deprecated.
nativeSetExPtr() - Method in class org.jsfml.window.Window
Deprecated.
neg(Vector2f) - Static method in class org.jsfml.system.Vector2f
Computes the negation of a vector.
neg(Vector2i) - Static method in class org.jsfml.system.Vector2i
Computes the negation of a vector.
neg(Vector3f) - Static method in class org.jsfml.system.Vector3f
Computes the negation of a vector.
neg(Vector3i) - Static method in class org.jsfml.system.Vector3i
Computes the negation of a vector.
NONE - Static variable in interface org.jsfml.window.WindowStyle
Undecorated, non-resizable window.

O

onGetData() - Method in class org.jsfml.audio.Music
 
onGetData() - Method in class org.jsfml.audio.SoundStream
Requests a new chunk of audio data.
onProcessSamples(short[]) - Method in class org.jsfml.audio.SoundBufferRecorder
 
onProcessSamples(short[]) - Method in class org.jsfml.audio.SoundRecorder
Called when a new batch of audio samples comes in.
onSeek(Time) - Method in class org.jsfml.audio.Music
 
onSeek(Time) - Method in class org.jsfml.audio.SoundStream
Re-positions the stream's current playing offset.
onStart() - Method in class org.jsfml.audio.SoundBufferRecorder
 
onStart() - Method in class org.jsfml.audio.SoundRecorder
Called when the sound recorder starts recording.
onStop() - Method in class org.jsfml.audio.SoundBufferRecorder
 
onStop() - Method in class org.jsfml.audio.SoundRecorder
Called when the audio capture has stopped.
openFromFile(Path) - Method in class org.jsfml.audio.Music
Attempts to open the music from a file.
openFromStream(InputStream) - Method in class org.jsfml.audio.Music
Attempts to open the music from an InputStream.
org.jsfml.audio - package org.jsfml.audio
Contains classes related to audio playback and recording.
org.jsfml.graphics - package org.jsfml.graphics
Contains classes related to graphics, representing drawable and transformable objects that can be made visible on a render target.
org.jsfml.internal - package org.jsfml.internal
Contains classes, interfaces and annotations meant for internal use only.
org.jsfml.system - package org.jsfml.system
Contains classes that provide core functionality and common data types.
org.jsfml.window - package org.jsfml.window
Contains classes related to windows, their OpenGL context and system-wide input.
org.jsfml.window.event - package org.jsfml.window.event
Contains window event classes.
OS_NAME_LINUX - Static variable in class org.jsfml.internal.SFMLNative
The substring of the os.name system property to look for to detect Linux systems.
OS_NAME_MACOSX - Static variable in class org.jsfml.internal.SFMLNative
The substring of the os.name system property to look for to detect Mac OS X systems.
OS_NAME_WINDOWS - Static variable in class org.jsfml.internal.SFMLNative
The substring of the os.name system property to look for to detect Windows systems.

P

pause() - Method in class org.jsfml.audio.Sound
Pauses the sound if it is currently playing.
pause() - Method in class org.jsfml.audio.SoundStream
Pauses playback of the stream if it is currently playing.
play() - Method in class org.jsfml.audio.Sound
Starts playing the sound or resumes it if it is currently paused.
play() - Method in class org.jsfml.audio.SoundStream
Starts playing the stream or resumes it if it is currently paused.
points - Variable in class org.jsfml.graphics.Shape
 
pointsNeedUpdate - Variable in class org.jsfml.graphics.Shape
 
pollEvent() - Method in class org.jsfml.window.Window
Pops the event on top of the event stack, if any, and returns it.
pollEvents() - Method in class org.jsfml.window.Window
Returns an Iterable that consecutively calls Window.pollEvent() and can be used to process all pending events.
popGLStates() - Method in interface org.jsfml.graphics.RenderTarget
Pops the last OpenGL states and matrices from the top of the stack.
popGLStates() - Method in class org.jsfml.graphics.RenderTexture
 
popGLStates() - Method in class org.jsfml.graphics.RenderWindow
 
position - Variable in class org.jsfml.graphics.Vertex
The vertex position.
position - Variable in class org.jsfml.window.event.JoystickMoveEvent
The position that the axis was moved to, ranging between -100 and 100.
position - Variable in class org.jsfml.window.event.MouseEvent
The position of the mouse pointer in pixels, relative to the window's top left corner.
PrimitiveType - Enum in org.jsfml.graphics
Enumeration of supported primitive types.
pushGLStates() - Method in interface org.jsfml.graphics.RenderTarget
Pushes the current OpenGL states and matrices to the stack.
pushGLStates() - Method in class org.jsfml.graphics.RenderTexture
 
pushGLStates() - Method in class org.jsfml.graphics.RenderWindow
 

R

r - Variable in class org.jsfml.graphics.Color
The red component of the color.
ratio(Time, Time) - Static method in class org.jsfml.system.Time
Computes a time period's ratio of another time period.
readFile(Path) - Static method in class org.jsfml.internal.StreamUtil
Fully reads a file into a byte array.
readStream(InputStream) - Static method in class org.jsfml.internal.StreamUtil
Fully reads an input stream into a byte array.
RectangleShape - Class in org.jsfml.graphics
A specialized shape representing a rectangle.
RectangleShape() - Constructor for class org.jsfml.graphics.RectangleShape
Constructs a new rectangle shape with no dimensions.
RectangleShape(Vector2f) - Constructor for class org.jsfml.graphics.RectangleShape
Constructs a new rectangle shape with the specified dimensions.
RED - Static variable in class org.jsfml.graphics.Color
Red (255, 0, 0)
REGULAR - Static variable in interface org.jsfml.graphics.TextStyle
Regular drawing style.
release() - Method in class org.jsfml.internal.NativeRef
Releases the managed Java reference, if any, and frees the managed native pointer, if any, including freeing any natively allocated memory.
RenderStates - Class in org.jsfml.graphics
Defines drawing properties when drawing objects to a RenderTarget.
RenderStates(BlendMode) - Constructor for class org.jsfml.graphics.RenderStates
Constructs a new set of render states with default settings and the specified blending mode.
RenderStates(Transform) - Constructor for class org.jsfml.graphics.RenderStates
Constructs a new set of render states with default settings and the specified transformation matrix.
RenderStates(ConstTexture) - Constructor for class org.jsfml.graphics.RenderStates
Constructs a new set of render states with default settings and the specified texture.
RenderStates(ConstShader) - Constructor for class org.jsfml.graphics.RenderStates
Constructs a new set of render states with default settings and the specified shader.
RenderStates(RenderStates, BlendMode) - Constructor for class org.jsfml.graphics.RenderStates
Constructs a new set of render states by copying other states, but changing the blend mode.
RenderStates(RenderStates, Transform) - Constructor for class org.jsfml.graphics.RenderStates
Constructs a new set of render states by copying other states, but changing the transformation.
RenderStates(RenderStates, ConstTexture) - Constructor for class org.jsfml.graphics.RenderStates
Constructs a new set of render states by copying other states, but changing the texture.
RenderStates(RenderStates, ConstShader) - Constructor for class org.jsfml.graphics.RenderStates
Constructs a new set of render states by copying other states, but changing the shader.
RenderStates(BlendMode, Transform, ConstTexture, ConstShader) - Constructor for class org.jsfml.graphics.RenderStates
Constructs a new set of render states with the specified parameters.
RenderTarget - Interface in org.jsfml.graphics
Interface for render targets.
RenderTexture - Class in org.jsfml.graphics
Provides a render target for off-screen 2D rendering into a texture.
RenderTexture() - Constructor for class org.jsfml.graphics.RenderTexture
Constructs a new render texture.
RenderWindow - Class in org.jsfml.graphics
Provides a window that can serve as a target for 2D drawing.
RenderWindow() - Constructor for class org.jsfml.graphics.RenderWindow
Constructs a new render window without actually creating (opening) it.
RenderWindow(VideoMode, String, int, ContextSettings) - Constructor for class org.jsfml.graphics.RenderWindow
Constructs a new render window and creates it with the specified parameters.
RenderWindow(VideoMode, String, int) - Constructor for class org.jsfml.graphics.RenderWindow
Constructs a new render window and creates it with default context settings.
RenderWindow(VideoMode, String) - Constructor for class org.jsfml.graphics.RenderWindow
Constructs a new render window and creates it with default style and context settings.
reset(FloatRect) - Method in class org.jsfml.graphics.View
Resets the view to a certain viewport rectangle, resetting the rotation angle in the process.
resetGLStates() - Method in interface org.jsfml.graphics.RenderTarget
Resets the internal OpenGL states so that the target is ready for drawing.
resetGLStates() - Method in class org.jsfml.graphics.RenderTexture
 
resetGLStates() - Method in class org.jsfml.graphics.RenderWindow
 
RESIZE - Static variable in interface org.jsfml.window.WindowStyle
Makes the window resizable.
restart() - Method in class org.jsfml.system.Clock
Yields the elapsed time and restarts the clock.
rotate(float) - Method in class org.jsfml.graphics.BasicTransformable
 
rotate(Transform, float) - Static method in class org.jsfml.graphics.Transform
Adds a rotation around the origin to a transformation.
rotate(Transform, float, float, float) - Static method in class org.jsfml.graphics.Transform
Adds a rotation around an arbitrary center to this transformation.
rotate(Transform, float, Vector2f) - Static method in class org.jsfml.graphics.Transform
Adds a rotation around an arbitrary center to this transformation.
rotate(float) - Method in interface org.jsfml.graphics.Transformable
Rotates this object around its origin.
rotate(float) - Method in class org.jsfml.graphics.View
Rotates the view around its center.

S

saveToFile(Path) - Method in interface org.jsfml.audio.ConstSoundBuffer
Attempts to save the sound buffer to a file.
saveToFile(Path) - Method in class org.jsfml.audio.SoundBuffer
 
saveToFile(Path) - Method in class org.jsfml.graphics.Image
Attempts to save the image to a file.
scale(float, float) - Method in class org.jsfml.graphics.BasicTransformable
 
scale(Vector2f) - Method in class org.jsfml.graphics.BasicTransformable
 
scale(Transform, float, float) - Static method in class org.jsfml.graphics.Transform
Adds a scaling operation from the origin to a transformation.
scale(Transform, Vector2f) - Static method in class org.jsfml.graphics.Transform
Adds a scaling operation from the origin to a transformation.
scale(Transform, float, float, float, float) - Static method in class org.jsfml.graphics.Transform
Adds a scaling operation from an arbitrary center to a transformation.
scale(Transform, Vector2f, Vector2f) - Static method in class org.jsfml.graphics.Transform
Adds a scaling operation from an arbitrary center to a transformation.
scale(float, float) - Method in interface org.jsfml.graphics.Transformable
Scales the object, using its origin as the scaling center.
scale(Vector2f) - Method in interface org.jsfml.graphics.Transformable
Scales the object, using its origin as the scaling center.
setActive(boolean) - Method in class org.jsfml.graphics.RenderTexture
Activates or deactivates the render texture for rendering.
setActive(boolean) - Method in class org.jsfml.window.Context
Explictly activates or deactivates the OpenGL context.
setActive(boolean) - Method in class org.jsfml.window.Window
Activates or deactivates the window as the current OpenGL rendering target.
setActive() - Method in class org.jsfml.window.Window
Activates the window as the current OpenGL rendering target.
setAttenuation(float) - Method in class org.jsfml.audio.SoundSource
Sets the sound's attenuation factor.
setBuffer(ConstSoundBuffer) - Method in class org.jsfml.audio.Sound
Sets the sound buffer used by this sound.
setCenter(float, float) - Method in class org.jsfml.graphics.View
Sets the center of the view.
setCenter(Vector2f) - Method in class org.jsfml.graphics.View
Sets the center of the view.
setCharacterSize(int) - Method in class org.jsfml.graphics.Text
Sets the font size for this text.
setColor(Color) - Method in class org.jsfml.graphics.Sprite
Sets the color mask of the sprite.
setColor(Color) - Method in class org.jsfml.graphics.Text
Sets the font color for this text.
setDirection(float, float, float) - Static method in class org.jsfml.audio.Listener
Sets the orientation or "view direction" of the listener in the scene.
setDirection(Vector3f) - Static method in class org.jsfml.audio.Listener
Sets the orientation or "view direction" of the listener in the scene.
setFillColor(Color) - Method in class org.jsfml.graphics.Shape
Sets the fill color of the shape.
setFont(ConstFont) - Method in class org.jsfml.graphics.Text
Sets the text's font.
setFramerateLimit(int) - Method in class org.jsfml.window.Window
Sets the maximum frame rate in frames per second.
setGlobalVolume(float) - Static method in class org.jsfml.audio.Listener
Sets the global sound volume.
setIcon(Image) - Method in class org.jsfml.window.Window
Sets the icon of the window.
setJoystickTreshold(float) - Method in class org.jsfml.window.Window
Sets the joystick treshold.
setKeyRepeatEnabled(boolean) - Method in class org.jsfml.window.Window
Determines whether automatic key repeat is enabled.
setLoop(boolean) - Method in class org.jsfml.audio.Sound
Enables or disables repeated looping of the sound.
setLoop(boolean) - Method in class org.jsfml.audio.SoundStream
Enables or disables repeated looping of the sound stream playback.
setMinDistance(float) - Method in class org.jsfml.audio.SoundSource
Sets the minimum distance of the sound before attenuation kicks in.
setMouseCursorVisible(boolean) - Method in class org.jsfml.window.Window
Determines whether the mouse cursor, if moved over the window, is visible or not.
setOrigin(float, float) - Method in class org.jsfml.graphics.BasicTransformable
 
setOrigin(Vector2f) - Method in class org.jsfml.graphics.BasicTransformable
 
setOrigin(Vector2f) - Method in class org.jsfml.graphics.Shape
 
setOrigin(Vector2f) - Method in class org.jsfml.graphics.Sprite
 
setOrigin(Vector2f) - Method in class org.jsfml.graphics.Text
 
setOrigin(float, float) - Method in interface org.jsfml.graphics.Transformable
Sets the rotation, scaling and drawing origin of this object.
setOrigin(Vector2f) - Method in interface org.jsfml.graphics.Transformable
Sets the rotation, scaling and drawing origin of this object.
setOutlineColor(Color) - Method in class org.jsfml.graphics.Shape
Sets the outline color of the shape.
setOutlineThickness(float) - Method in class org.jsfml.graphics.Shape
Sets the thickness of the shape's outline.
setParameter(String, float) - Method in class org.jsfml.graphics.Shader
Sets a float parameter (float) value in the shader.
setParameter(String, float, float) - Method in class org.jsfml.graphics.Shader
Sets a 2-component-float (vec2) parameter value in the shader.
setParameter(String, Vector2f) - Method in class org.jsfml.graphics.Shader
Sets a 2-component-float (vec2) parameter value in the shader.
setParameter(String, float, float, float) - Method in class org.jsfml.graphics.Shader
Sets a 3-component-float (vec3) parameter value in the shader.
setParameter(String, Vector3f) - Method in class org.jsfml.graphics.Shader
Sets a 3-component-float (vec3) parameter value in the shader.
setParameter(String, float, float, float, float) - Method in class org.jsfml.graphics.Shader
Sets a 4-component-float (vec4) parameter value in the shader.
setParameter(String, Color) - Method in class org.jsfml.graphics.Shader
Sets a color (vec4) parameter value in the shader.
setParameter(String, Transform) - Method in class org.jsfml.graphics.Shader
Sets a matrix (mat4) parameter value in the shader.
setParameter(String, ConstTexture) - Method in class org.jsfml.graphics.Shader
Sets a texture (sampler2D) parameter value in the shader.
setParameter(String, Shader.CurrentTextureType) - Method in class org.jsfml.graphics.Shader
Sets a texture (sampler2D) parameter value in the shader to the texture of the object being drawn in the moment the shader is applied.
setPitch(float) - Method in class org.jsfml.audio.SoundSource
Sets the pitch factor of the sound.
setPixel(int, int, Color) - Method in class org.jsfml.graphics.Image
Sets the color of a certain pixel.
setPlayingOffset(Time) - Method in class org.jsfml.audio.Sound
Sets the playing offset from where to play the underlying buffer.
setPlayingOffset(Time) - Method in class org.jsfml.audio.SoundStream
Sets the current playing offset at which to play from the stream.
setPoint(int, Vector2f) - Method in class org.jsfml.graphics.ConvexShape
Sets a point of the polygon.
setPointCount(int) - Method in class org.jsfml.graphics.CircleShape
Sets the amount of points the circle should be approximated with.
setPointCount(int) - Method in class org.jsfml.graphics.ConvexShape
Sets the amount of points that belong to the polygon.
setPoints(Vector2f...) - Method in class org.jsfml.graphics.ConvexShape
Sets the points of the polygon.
setPosition(float, float, float) - Static method in class org.jsfml.audio.Listener
Sets the position of the listener in the scene.
setPosition(Vector3f) - Static method in class org.jsfml.audio.Listener
Sets the position of the listener in the scene.
setPosition(float, float, float) - Method in class org.jsfml.audio.SoundSource
Sets the position of the sound in the scene.
setPosition(Vector3f) - Method in class org.jsfml.audio.SoundSource
Sets the position of the sound in the scene.
setPosition(float, float) - Method in class org.jsfml.graphics.BasicTransformable
 
setPosition(Vector2f) - Method in class org.jsfml.graphics.BasicTransformable
 
setPosition(Vector2f) - Method in class org.jsfml.graphics.Shape
 
setPosition(Vector2f) - Method in class org.jsfml.graphics.Sprite
 
setPosition(Vector2f) - Method in class org.jsfml.graphics.Text
 
setPosition(float, float) - Method in interface org.jsfml.graphics.Transformable
Sets the position of this object in the scene so that its origin will be exactly on it.
setPosition(Vector2f) - Method in interface org.jsfml.graphics.Transformable
Sets the position of this object in the scene so that its origin will be exactly on it.
setPosition(Vector2i) - Static method in class org.jsfml.window.Mouse
Sets the absolute position of the mouse cursor on the screen.
setPosition(Vector2i, Window) - Static method in class org.jsfml.window.Mouse
Sets the position of the mouse cursor relative to a window.
setPosition(Vector2i) - Method in class org.jsfml.window.Window
Sets the absolute position of the window's top left corner on the screen.
setPrimitiveType(PrimitiveType) - Method in class org.jsfml.graphics.VertexArray
Sets the type of primitives drawn by this vertex array.
setRadius(float) - Method in class org.jsfml.graphics.CircleShape
Sets the radius of this circle.
setRelativeToListener(boolean) - Method in class org.jsfml.audio.SoundSource
Determines whether the sound position is bound to be relative to the Listener or whether it is positioned absolutely in the scene.
setRepeated(boolean) - Method in class org.jsfml.graphics.RenderTexture
Enables or disables texture repeating for the underlying texture.
setRepeated(boolean) - Method in class org.jsfml.graphics.Texture
Enables or disables texture repeating.
setRotation(float) - Method in class org.jsfml.graphics.BasicTransformable
 
setRotation(float) - Method in class org.jsfml.graphics.Shape
 
setRotation(float) - Method in class org.jsfml.graphics.Sprite
 
setRotation(float) - Method in class org.jsfml.graphics.Text
 
setRotation(float) - Method in interface org.jsfml.graphics.Transformable
Sets the rotation of this object around its origin.
setRotation(float) - Method in class org.jsfml.graphics.View
Sets the rotation of the view around its center.
setScale(float, float) - Method in class org.jsfml.graphics.BasicTransformable
 
setScale(Vector2f) - Method in class org.jsfml.graphics.BasicTransformable
 
setScale(Vector2f) - Method in class org.jsfml.graphics.Shape
 
setScale(Vector2f) - Method in class org.jsfml.graphics.Sprite
 
setScale(Vector2f) - Method in class org.jsfml.graphics.Text
 
setScale(float, float) - Method in interface org.jsfml.graphics.Transformable
Sets the scaling of this object, using its origin as the scaling center.
setScale(Vector2f) - Method in interface org.jsfml.graphics.Transformable
Sets the scaling of this object, using its origin as the scaling center.
setSize(Vector2f) - Method in class org.jsfml.graphics.RectangleShape
Sets the dimensions of the rectangle.
setSize(float, float) - Method in class org.jsfml.graphics.View
Sets the dimensions of the view.
setSize(Vector2f) - Method in class org.jsfml.graphics.View
Sets the dimensions of the view.
setSize(Vector2i) - Method in class org.jsfml.window.Window
Sets the size of the window.
setSmooth(boolean) - Method in class org.jsfml.graphics.RenderTexture
Enables or disables textures smoothing.
setSmooth(boolean) - Method in class org.jsfml.graphics.Texture
Enables or disables the smooth filter.
setString(String) - Method in class org.jsfml.graphics.Text
Sets the string to display.
setStyle(int) - Method in class org.jsfml.graphics.Text
Sets the font drawing style.
setTexture(ConstTexture, boolean) - Method in class org.jsfml.graphics.Shape
Sets the texture of the shape.
setTexture(ConstTexture) - Method in class org.jsfml.graphics.Shape
Sets the texture of the shape without affecting the texture rectangle.
setTexture(ConstTexture, boolean) - Method in class org.jsfml.graphics.Sprite
Sets the texture of this sprite.
setTexture(ConstTexture) - Method in class org.jsfml.graphics.Sprite
Sets the texture of this sprite without affecting the texture rectangle.
setTextureRect(IntRect) - Method in class org.jsfml.graphics.Shape
Sets the portion of the texture that will be used for drawing.
setTextureRect(IntRect) - Method in class org.jsfml.graphics.Sprite
Sets the portion of the texture that will be used for drawing.
setTitle(String) - Method in class org.jsfml.window.Window
Sets the window's title.
setVerticalSyncEnabled(boolean) - Method in class org.jsfml.window.Window
Enables or disables vertical synchronization (VSync).
setView(ConstView) - Method in interface org.jsfml.graphics.RenderTarget
Sets the target's view.
setView(ConstView) - Method in class org.jsfml.graphics.RenderTexture
 
setView(ConstView) - Method in class org.jsfml.graphics.RenderWindow
 
setViewport(FloatRect) - Method in class org.jsfml.graphics.View
Sets the viewport rectangle of this view.
setVisible(boolean) - Method in class org.jsfml.window.Window
Shows or hides the window.
setVolume(float) - Method in class org.jsfml.audio.SoundSource
Sets the volume of the sound.
SFMLErrorCapture - Class in org.jsfml.internal
Provides methods to capture output to sf::err().
SFMLInputStream - Class in org.jsfml.internal
Pipe for enabling stream from a Java InputStream into a sf::InputStream.
SFMLInputStream(InputStream) - Constructor for class org.jsfml.internal.SFMLInputStream
 
SFMLInputStream.NativeStreamRef - Class in org.jsfml.internal
Native pointer manager for an SFMLInputStream bound natively to an sf::InputStream.
SFMLInputStream.NativeStreamRef() - Constructor for class org.jsfml.internal.SFMLInputStream.NativeStreamRef
 
SFMLNative - Class in org.jsfml.internal
Native library loader.
SFMLNative() - Constructor for class org.jsfml.internal.SFMLNative
 
SFMLNativeObject - Class in org.jsfml.internal
Abstract base class for classes bound to SFML C++ objects.
SFMLNativeObject() - Constructor for class org.jsfml.internal.SFMLNativeObject
Constructs a JSFML native object by invoking the SFMLNativeObject.nativeCreate() method and retrieving a pointer to the SFML object in the JVM heap.
SFMLNativeObject(long) - Constructor for class org.jsfml.internal.SFMLNativeObject
Deprecated.
Use of this constructor may cause undefined behaviour and is not supported.
shader - Variable in class org.jsfml.graphics.RenderStates
The shader used for drawing.
Shader - Class in org.jsfml.graphics
Represents a GLSL shader program, consisting of a vertex and a fragment shader.
Shader() - Constructor for class org.jsfml.graphics.Shader
Constructs a new shader.
Shader.CurrentTextureType - Class in org.jsfml.graphics
Special type denoting that the texture of the object being drawn should be used, which cannot be known before it is actually being drawn.
Shader.Type - Enum in org.jsfml.graphics
Enumeration of shader types.
ShaderSourceException - Exception in org.jsfml.graphics
Thrown if a vertex or fragment shader source could not be compiled or linked.
ShaderSourceException(String) - Constructor for exception org.jsfml.graphics.ShaderSourceException
Constructs a shader compilation exception with the specified message.
Shape - Class in org.jsfml.graphics
Abstract base class for (optionally) textured shapes with (optional) outlines.
Shape() - Constructor for class org.jsfml.graphics.Shape
Default constructor.
shift - Variable in class org.jsfml.window.event.KeyEvent
true if a SHIFT key (left or right) was pressed when the event occured, false if not.
size - Variable in class org.jsfml.window.event.SizeEvent
The new size of the window in pixels.
SizeEvent - Class in org.jsfml.window.event
Represents window resize events.
SizeEvent(int, int, int) - Constructor for class org.jsfml.window.event.SizeEvent
Constructs a new window resize event.
Sound - Class in org.jsfml.audio
Provides functionality to instantiate a SoundBuffer and play a buffered sound.
Sound() - Constructor for class org.jsfml.audio.Sound
Constructs an empty sound.
Sound(ConstSoundBuffer) - Constructor for class org.jsfml.audio.Sound
Constructs a sound with the specified SoundBuffer
Sound(Sound) - Constructor for class org.jsfml.audio.Sound
Constructs a sound by copying another sound.
SoundBuffer - Class in org.jsfml.audio
Buffer of audio samples, providing an audio data source for a Sound.
SoundBuffer() - Constructor for class org.jsfml.audio.SoundBuffer
Constructs a sound buffer.
SoundBuffer(ConstSoundBuffer) - Constructor for class org.jsfml.audio.SoundBuffer
Constructs a sound buffer by copying another sound buffer.
SoundBufferRecorder - Class in org.jsfml.audio
A SoundRecorder which stores captured audio data into a SoundBuffer.
SoundBufferRecorder() - Constructor for class org.jsfml.audio.SoundBufferRecorder
Constructs a sound buffer recorder.
SoundRecorder - Class in org.jsfml.audio
Abstract base class for sound recorders, which provide functionality to capture audio data.
SoundRecorder() - Constructor for class org.jsfml.audio.SoundRecorder
Constructs a sound recorder.
SoundSource - Class in org.jsfml.audio
Abstract base class for playable sound sources.
SoundSource() - Constructor for class org.jsfml.audio.SoundSource
Constructs a sound source.
SoundSource.Status - Enum in org.jsfml.audio
Enumeration of possible sound source states.
SoundStream - Class in org.jsfml.audio
Abstract base class for streamed sound sources.
SoundStream() - Constructor for class org.jsfml.audio.SoundStream
Constructs a sound stream.
SoundStream.Chunk - Class in org.jsfml.audio
Represents a chunk of audio data provided by a SoundStream when new data is requested.
SoundStream.Chunk(short[], boolean) - Constructor for class org.jsfml.audio.SoundStream.Chunk
Constructs a new chunk containing the specified data.
Sprite - Class in org.jsfml.graphics
Represents a drawable instance of a texture or texture portion.
Sprite() - Constructor for class org.jsfml.graphics.Sprite
Constructs a new sprite without a texture.
Sprite(ConstTexture) - Constructor for class org.jsfml.graphics.Sprite
Constructs a new sprite with the specified texture.
Sprite(ConstTexture, IntRect) - Constructor for class org.jsfml.graphics.Sprite
Constructs a new sprite with the specified texture and texture portion.
start(int) - Method in class org.jsfml.audio.SoundRecorder
Starts capturing audio data with the specified sample rate.
start() - Method in class org.jsfml.audio.SoundRecorder
Starts capturing audio data with a sample rate of 44,100 Hz.
start() - Static method in class org.jsfml.internal.SFMLErrorCapture
Starts capturing all output to sf::err().
stencilBits - Variable in class org.jsfml.window.ContextSettings
The amount of stencil buffer bits.
stop() - Method in class org.jsfml.audio.Sound
Stops the sound if it is currently playing or paused.
stop() - Method in class org.jsfml.audio.SoundRecorder
Stops capturing audio data.
stop() - Method in class org.jsfml.audio.SoundStream
Stops playing the stream.
streamToFile(InputStream, Path) - Static method in class org.jsfml.internal.StreamUtil
Fully streams an input stream into a file.
StreamUtil - Class in org.jsfml.internal
Provides stream utility functions used by JSFML-internal file reading and writing methods.
StreamUtil() - Constructor for class org.jsfml.internal.StreamUtil
 
sub(Time, Time) - Static method in class org.jsfml.system.Time
Subtracts two time values.
sub(Vector2f, Vector2f) - Static method in class org.jsfml.system.Vector2f
Subtracts two vectors.
sub(Vector2i, Vector2i) - Static method in class org.jsfml.system.Vector2i
Subtracts two vectors.
sub(Vector3f, Vector3f) - Static method in class org.jsfml.system.Vector3f
Subtracts two vectors.
sub(Vector3i, Vector3i) - Static method in class org.jsfml.system.Vector3i
Subtracts two vectors.
system - Variable in class org.jsfml.window.event.KeyEvent
true if a system key was pressed when the event occured, false if not.

T

texCoords - Variable in class org.jsfml.graphics.Vertex
The vertex texture coordinates.
Text - Class in org.jsfml.graphics
Represents a graphical text that can be transformed and drawn to a render target.
Text() - Constructor for class org.jsfml.graphics.Text
Creates a new empty text.
Text(String, ConstFont) - Constructor for class org.jsfml.graphics.Text
Creates a new text.
Text(String, ConstFont, int) - Constructor for class org.jsfml.graphics.Text
Creates a new text.
TextEvent - Class in org.jsfml.window.event
Represents text enter events.
TextEvent(int, int) - Constructor for class org.jsfml.window.event.TextEvent
Constructs a new text event.
TextStyle - Interface in org.jsfml.graphics
Provides text style constants.
texture - Variable in class org.jsfml.graphics.RenderStates
The texture used for drawing.
Texture - Class in org.jsfml.graphics
Represents a 2D texture stored on the graphics card for rendering.
Texture() - Constructor for class org.jsfml.graphics.Texture
Constructs a new texture.
Texture(ConstTexture) - Constructor for class org.jsfml.graphics.Texture
Constructs a new texture by copying another texture.
Texture.CoordinateType - Enum in org.jsfml.graphics
Enumeation of texture coordinate types that can be used for rendering.
TextureCreationException - Exception in org.jsfml.graphics
Thrown if a texture failed to be created.
TextureCreationException(String) - Constructor for exception org.jsfml.graphics.TextureCreationException
Constructs a new texture creation exception with the specified message.
textureRect - Variable in class org.jsfml.graphics.Glyph
The texture coordinates of the glyph on the font's texture.
Time - Class in org.jsfml.system
Represents a time period and provides functionality to convert between various time units, as well as arithmetic operations on time intervals.
TITLEBAR - Static variable in interface org.jsfml.window.WindowStyle
Adds a title bar and a fixed border to the window.
toBufferedImage() - Method in class org.jsfml.graphics.Image
Converts this image to an AWT BufferedImage.
top - Variable in class org.jsfml.graphics.FloatRect
The Y coordinate of the rectangle's top edge.
top - Variable in class org.jsfml.graphics.IntRect
The Y coordinate of the rectangle's top edge.
toString() - Method in class org.jsfml.graphics.Color
 
toString() - Method in class org.jsfml.graphics.FloatRect
 
toString() - Method in class org.jsfml.graphics.IntRect
 
toString() - Method in class org.jsfml.graphics.Transform
 
toString() - Method in class org.jsfml.system.Time
 
toString() - Method in class org.jsfml.system.Vector2f
 
toString() - Method in class org.jsfml.system.Vector2i
 
toString() - Method in class org.jsfml.system.Vector3f
 
toString() - Method in class org.jsfml.system.Vector3i
 
toString() - Method in class org.jsfml.window.ContextSettings
 
toString() - Method in class org.jsfml.window.VideoMode
 
transform - Variable in class org.jsfml.graphics.RenderStates
The transformation matrix used for drawing.
Transform - Class in org.jsfml.graphics
Defines a 3x3 transformation matrix for 2D transformations.
Transform() - Constructor for class org.jsfml.graphics.Transform
Constructs an identity transformation.
Transform(float, float, float, float, float, float, float, float, float) - Constructor for class org.jsfml.graphics.Transform
Constructs a new transformation from a 3x3 matrix of the following format:
Transform(Transform) - Constructor for class org.jsfml.graphics.Transform
Constructs a new transformation by copying another transformation.
Transformable - Interface in org.jsfml.graphics
Interface for transformable objects that can be positioned in the scene and rotated and scaled around an origin.
transformPoint(float, float) - Method in class org.jsfml.graphics.Transform
Transforms a 2D point using the transformation matrix.
transformPoint(Vector2f) - Method in class org.jsfml.graphics.Transform
Transforms a 2D point using the transformation matrix.
transformRect(FloatRect) - Method in class org.jsfml.graphics.Transform
Transforms a rectangle and returns the axis-aligned bounding rectangle.
translate(Transform, float, float) - Static method in class org.jsfml.graphics.Transform
Adds a translation by a 2D vector to a transformation.
translate(Transform, Vector2f) - Static method in class org.jsfml.graphics.Transform
Adds a translation by a 2D vector to a transformation.
TRANSPARENT - Static variable in class org.jsfml.graphics.Color
Transparent (0, 0, 0, 0)
type - Variable in class org.jsfml.window.event.Event
The type of the window event.

U

UNDERLINED - Static variable in interface org.jsfml.graphics.TextStyle
Underlined drawing style.
unicode - Variable in class org.jsfml.window.event.TextEvent
The UTF-32 code of the character that was entered.
UnsafeOperations - Class in org.jsfml.internal
Provides inherently unsafe operations on native SFML objects.
update(Image, int, int) - Method in class org.jsfml.graphics.Texture
Updates a part of the texture from an image.
update(Window, int, int) - Method in class org.jsfml.graphics.Texture
Updates a part of the texture from the contents of a window.
update(Window) - Method in class org.jsfml.graphics.Texture
Updates the texture from the contents of a window.
update() - Static method in class org.jsfml.window.Joystick
Forces an update of the states of all joysticks and gamepads.

V

valueOf(String) - Static method in enum org.jsfml.audio.SoundSource.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jsfml.graphics.BlendMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jsfml.graphics.PrimitiveType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jsfml.graphics.Shader.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jsfml.graphics.Texture.CoordinateType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jsfml.window.event.Event.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jsfml.window.Joystick.Axis
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jsfml.window.Keyboard.Key
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jsfml.window.Mouse.Button
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jsfml.audio.SoundSource.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jsfml.graphics.BlendMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jsfml.graphics.PrimitiveType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jsfml.graphics.Shader.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jsfml.graphics.Texture.CoordinateType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jsfml.window.event.Event.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jsfml.window.Joystick.Axis
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jsfml.window.Keyboard.Key
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jsfml.window.Mouse.Button
Returns an array containing the constants of this enum type, in the order they are declared.
Vector2f - Class in org.jsfml.system
Represents two-dimensional vectors using floating point coordinates and provides arithmetic operations on floating point 2D vectors.
Vector2f(float, float) - Constructor for class org.jsfml.system.Vector2f
Constructs a new vector with the given coordinates.
Vector2f(Vector2i) - Constructor for class org.jsfml.system.Vector2f
Constructs a new vector by converting an integral vector.
Vector2i - Class in org.jsfml.system
Represents two-dimensional vectors using integer coordinates and provides arithmetic operations on integral 2D vectors.
Vector2i(int, int) - Constructor for class org.jsfml.system.Vector2i
Constructs a new vector with the given coordinates.
Vector2i(Vector2f) - Constructor for class org.jsfml.system.Vector2i
Constructs a new vector by converting a floating point vector.
Vector3f - Class in org.jsfml.system
Represents three-dimensional vectors using floating point coordinates and provides arithmetic operations on floating point 3D vectors.
Vector3f(float, float, float) - Constructor for class org.jsfml.system.Vector3f
Constructs a new vector with the given coordinates.
Vector3f(Vector3i) - Constructor for class org.jsfml.system.Vector3f
Constructs a new vector by converting an integral vector.
Vector3i - Class in org.jsfml.system
Represents three-dimensional vectors using integer coordinates and provides arithmetic operations on integral 3D vectors.
Vector3i(int, int, int) - Constructor for class org.jsfml.system.Vector3i
Constructs a new vector with the given coordinates.
Vector3i(Vector3f) - Constructor for class org.jsfml.system.Vector3i
Constructs a new vector by converting a floating point vector.
Vertex - Class in org.jsfml.graphics
Defines a shape point with position, color and texture coordinates information.
Vertex(Vector2f) - Constructor for class org.jsfml.graphics.Vertex
Constructs a new vertex at the specified position with white color.
Vertex(Vector2f, Color) - Constructor for class org.jsfml.graphics.Vertex
Constructs a new vertex with the specified position and color.
Vertex(Vector2f, Vector2f) - Constructor for class org.jsfml.graphics.Vertex
Constructs a new vertex with the specified position and texture coordinates, with white color.
Vertex(Vector2f, Color, Vector2f) - Constructor for class org.jsfml.graphics.Vertex
Constructs a new vertex with the specified parameters.
VertexArray - Class in org.jsfml.graphics
Defines a drawable set of one or multiple 2D primitives.
VertexArray() - Constructor for class org.jsfml.graphics.VertexArray
Constructs a new empty vertex array using the PrimitiveType.POINTS type.
VertexArray(PrimitiveType) - Constructor for class org.jsfml.graphics.VertexArray
Constructs a new empty vertex array.
VideoMode - Class in org.jsfml.window
Represents a video mode (width, height and bits per pixel).
VideoMode(int, int, int) - Constructor for class org.jsfml.window.VideoMode
Constructs a new video mode.
VideoMode(int, int) - Constructor for class org.jsfml.window.VideoMode
Constructs a new video mode with a pixel depth of 32 bits per pixel.
View - Class in org.jsfml.graphics
Represents a 2D camera which defines the region of the scene that is visible.
View() - Constructor for class org.jsfml.graphics.View
Constructs a new view for the area of (0, 0, 1000, 1000).
View(FloatRect) - Constructor for class org.jsfml.graphics.View
Constructs a new view for the specified area.
View(Vector2f, Vector2f) - Constructor for class org.jsfml.graphics.View
Constructs a view for the specified area.

W

waitEvent() - Method in class org.jsfml.window.Window
Pops the event on top of the event stack and returns it, or, if there is none, waits until an event occurs and then returns it.
WHITE - Static variable in class org.jsfml.graphics.Color
White (255, 255, 255)
width - Variable in class org.jsfml.graphics.FloatRect
The width of the rectangle.
width - Variable in class org.jsfml.graphics.IntRect
The width of the rectangle.
width - Variable in class org.jsfml.window.VideoMode
The width of the video mode, in pixels.
Window - Class in org.jsfml.window
A basic window that provides an OpenGL context.
Window() - Constructor for class org.jsfml.window.Window
Constructs a new window without actually creating it (making it visible).
Window(long) - Constructor for class org.jsfml.window.Window
Deprecated.
Use of this method may cause undefined behaviour and is not supported.
Window(VideoMode, String, int, ContextSettings) - Constructor for class org.jsfml.window.Window
Constructs a new window and creates it with the specified settings.
Window(VideoMode, String, int) - Constructor for class org.jsfml.window.Window
Constructs a new window and creates it with the specified settings and default context settings..
Window(VideoMode, String) - Constructor for class org.jsfml.window.Window
Constructs a new window and creates it with the specified settings and default context settings and window style.
WindowStyle - Interface in org.jsfml.window
Provides window style constants.

X

x - Variable in class org.jsfml.system.Vector2f
The vector's X coordinate.
x - Variable in class org.jsfml.system.Vector2i
The vector's X coordinate.
x - Variable in class org.jsfml.system.Vector3f
The vector's X coordinate.
x - Variable in class org.jsfml.system.Vector3i
The vector's X coordinate.

Y

y - Variable in class org.jsfml.system.Vector2f
The vector's Y coordinate.
y - Variable in class org.jsfml.system.Vector2i
The vector's Y coordinate.
y - Variable in class org.jsfml.system.Vector3f
The vector's Y coordinate.
y - Variable in class org.jsfml.system.Vector3i
The vector's Y coordinate.
YELLOW - Static variable in class org.jsfml.graphics.Color
Yellow (255, 255, 0)

Z

z - Variable in class org.jsfml.system.Vector3f
The vector's Z coordinate.
z - Variable in class org.jsfml.system.Vector3i
The vector's Z coordinate.
ZERO - Static variable in class org.jsfml.system.Time
A time object that represents a zero time period, ie with no duration.
ZERO - Static variable in class org.jsfml.system.Vector2f
The zero vector.
ZERO - Static variable in class org.jsfml.system.Vector2i
The zero vector.
ZERO - Static variable in class org.jsfml.system.Vector3f
The zero vector.
ZERO - Static variable in class org.jsfml.system.Vector3i
The zero vector.
zoom(float) - Method in class org.jsfml.graphics.View
Resizes the view.
A B C D E F G H I J K L M N O P R S T U V W X Y Z