A B C D E F G I N O P S T V W 
All Classes All Packages

A

actionPerformed(ActionEvent) - Method in class ch.swingfx.timer.AnimationTimer.TimerActionListener
 
AnimationTimer - Class in ch.swingfx.timer
Class for simple animation.
AnimationTimer() - Constructor for class ch.swingfx.timer.AnimationTimer
Creates an AnimationTimer with a default frame rate of 25
AnimationTimer(AnimationTimer.FrameRate) - Constructor for class ch.swingfx.timer.AnimationTimer
Creates an AnimationTimer with an specified frame rate
AnimationTimer.AnimationTarget - Interface in ch.swingfx.timer
Used with AnimationTimer.setAnimationTarget().
Implement this interface to receive events from the AnimationTimer
AnimationTimer.FrameRate - Enum in ch.swingfx.timer
Frame rates for the AnimationTimer
Note: These frame rates are approximations.
AnimationTimer.TimerActionListener - Class in ch.swingfx.timer
Handles the calculation of the time that has elapsed since the start and sends it to the AnimationTimer.AnimationTarget
api - Static variable in class ch.swingfx.window.translucentandshaped.TranslucentAndShapedWindowApiFactory
 
ApiType - Enum in ch.swingfx.window.translucentandshaped
Enum off all supported API types for translucent and shaped windows
For more details see http://download.oracle.com/javase/tutorial/uiswing/misc/trans_shaped_windows.html#6u10
Note: Only Sun/Oracle JREs support sun.awt.AWTUtilities.
ApiType() - Constructor for enum ch.swingfx.window.translucentandshaped.ApiType
 

B

begin(AnimationTimer) - Method in interface ch.swingfx.timer.AnimationTimer.AnimationTarget
Fired only once when the animation starts

C

calculatePreferredHeight(FontMetrics, int, String) - Static method in class ch.swingfx.text.TextUtil
This method calculates the preferred height for a rectangle that has a width of maxWidth and should display the String text inside it with line breaks
ch.swingfx.awt - package ch.swingfx.awt
 
ch.swingfx.color - package ch.swingfx.color
 
ch.swingfx.text - package ch.swingfx.text
 
ch.swingfx.timer - package ch.swingfx.timer
 
ch.swingfx.window.translucentandshaped - package ch.swingfx.window.translucentandshaped
 
ColorUtil - Class in ch.swingfx.color
Utility for working with colors
ColorUtil() - Constructor for class ch.swingfx.color.ColorUtil
 

D

delay() - Method in enum ch.swingfx.timer.AnimationTimer.FrameRate
 

E

end(AnimationTimer) - Method in interface ch.swingfx.timer.AnimationTimer.AnimationTarget
Fired only once when the animation stopped
event(AnimationTimer, float) - Method in interface ch.swingfx.timer.AnimationTimer.AnimationTarget
Fired when the animation is running

F

fAnimationStartTime - Variable in class ch.swingfx.timer.AnimationTimer
Stores the start time of the animation so we can calculate the fraction
fAnimationTarget - Variable in class ch.swingfx.timer.AnimationTimer
Animation events get sent to this target
fDelay - Variable in enum ch.swingfx.timer.AnimationTimer.FrameRate
The delay for the timer
fDuration - Variable in class ch.swingfx.timer.AnimationTimer
Duration of the animation in milliseconds
floatAlphaToIntAlpha(float) - Static method in class ch.swingfx.color.ColorUtil
Converts a float value between 0f and 1f to an int value between 0 and 255
FPS_15 - ch.swingfx.timer.AnimationTimer.FrameRate
 
FPS_20 - ch.swingfx.timer.AnimationTimer.FrameRate
 
FPS_25 - ch.swingfx.timer.AnimationTimer.FrameRate
 
FPS_30 - ch.swingfx.timer.AnimationTimer.FrameRate
 
FPS_40 - ch.swingfx.timer.AnimationTimer.FrameRate
 
FPS_50 - ch.swingfx.timer.AnimationTimer.FrameRate
 
FrameRate(int) - Constructor for enum ch.swingfx.timer.AnimationTimer.FrameRate
 
fTimer - Variable in class ch.swingfx.timer.AnimationTimer
The timer for the animation

G

getApi() - Static method in class ch.swingfx.window.translucentandshaped.TranslucentAndShapedWindowApiFactory
get a singleton instance of an ITranslucentAndShapedWindowApi object.
getApiType() - Method in interface ch.swingfx.window.translucentandshaped.ITranslucentAndShapedWindowApi
 
getApiType() - Method in class ch.swingfx.window.translucentandshaped.NoApi
 
getApiType() - Method in class ch.swingfx.window.translucentandshaped.OfficialApi
 
getApiType() - Method in class ch.swingfx.window.translucentandshaped.PrivateApi
 
getWindowOpacity - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
 
getWindowOpacity - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
 
getWindowOpacity(Window) - Method in interface ch.swingfx.window.translucentandshaped.ITranslucentAndShapedWindowApi
 
getWindowOpacity(Window) - Method in class ch.swingfx.window.translucentandshaped.NoApi
 
getWindowOpacity(Window) - Method in class ch.swingfx.window.translucentandshaped.OfficialApi
 
getWindowOpacity(Window) - Method in class ch.swingfx.window.translucentandshaped.PrivateApi
 
getWindowShape - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
 
getWindowShape - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
 
getWindowShape(Window) - Method in interface ch.swingfx.window.translucentandshaped.ITranslucentAndShapedWindowApi
 
getWindowShape(Window) - Method in class ch.swingfx.window.translucentandshaped.NoApi
 
getWindowShape(Window) - Method in class ch.swingfx.window.translucentandshaped.OfficialApi
 
getWindowShape(Window) - Method in class ch.swingfx.window.translucentandshaped.PrivateApi
 
getX11RootNetWorkarea() - Static method in class ch.swingfx.awt.GraphicsEnvironmentUtil
Get the x11 net workarea from a call to
xprop -root -notype _NET_WORKAREA
On some systems (jvms) we can not get the real screen insets so we read _NET_WORKAREA from the command line.
The output is translated to an Rectangle Output: _NET_WORKAREA = 0, 0, 1680, 1025 Rectangle: x, y, width, height
GraphicsEnvironmentUtil - Class in ch.swingfx.awt
Utility to help in OS specific graphics environment tasks.
GraphicsEnvironmentUtil() - Constructor for class ch.swingfx.awt.GraphicsEnvironmentUtil
 

I

isCGraphicsEnvironment - Static variable in class ch.swingfx.awt.GraphicsEnvironmentUtil
java.awt.graphicsenv=apple.awt.CGraphicsEnvironment (OS X)
isSupported - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
true if we support this API
isSupported - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
true if we support this API
isSupported() - Static method in class ch.swingfx.window.translucentandshaped.OfficialApi
 
isSupported() - Static method in class ch.swingfx.window.translucentandshaped.PrivateApi
Test if com.sun.awt.AWTUtilities (jdk 6u10) is available
isTranslucencyCapable - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
 
isTranslucencyCapable - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
 
isTranslucencyCapable(GraphicsConfiguration) - Method in interface ch.swingfx.window.translucentandshaped.ITranslucentAndShapedWindowApi
 
isTranslucencyCapable(GraphicsConfiguration) - Method in class ch.swingfx.window.translucentandshaped.NoApi
 
isTranslucencyCapable(GraphicsConfiguration) - Method in class ch.swingfx.window.translucentandshaped.OfficialApi
 
isTranslucencyCapable(GraphicsConfiguration) - Method in class ch.swingfx.window.translucentandshaped.PrivateApi
 
isTranslucencySupported - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
 
isTranslucencySupported - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
 
isTranslucencySupported(Translucency, GraphicsDevice) - Method in interface ch.swingfx.window.translucentandshaped.ITranslucentAndShapedWindowApi
 
isTranslucencySupported(Translucency, GraphicsDevice) - Method in class ch.swingfx.window.translucentandshaped.NoApi
 
isTranslucencySupported(Translucency, GraphicsDevice) - Method in class ch.swingfx.window.translucentandshaped.OfficialApi
 
isTranslucencySupported(Translucency, GraphicsDevice) - Method in class ch.swingfx.window.translucentandshaped.PrivateApi
 
isWin32GraphicsEnvironment - Static variable in class ch.swingfx.awt.GraphicsEnvironmentUtil
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
isWindowOpaque - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
 
isWindowOpaque(Window) - Method in interface ch.swingfx.window.translucentandshaped.ITranslucentAndShapedWindowApi
 
isWindowOpaque(Window) - Method in class ch.swingfx.window.translucentandshaped.NoApi
 
isWindowOpaque(Window) - Method in class ch.swingfx.window.translucentandshaped.OfficialApi
 
isWindowOpaque(Window) - Method in class ch.swingfx.window.translucentandshaped.PrivateApi
 
isX11GraphicsEnvironment - Static variable in class ch.swingfx.awt.GraphicsEnvironmentUtil
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
ITranslucentAndShapedWindowApi - Interface in ch.swingfx.window.translucentandshaped
Support for Translucent and Shaped Windows.

N

NoApi - Class in ch.swingfx.window.translucentandshaped
Class that represents no support for translucent and shaped windows because there is no api we can wrap.
You shouldn't use this class directly.
NoApi() - Constructor for class ch.swingfx.window.translucentandshaped.NoApi
 
NONE - ch.swingfx.window.translucentandshaped.ApiType
no support for any api
NOT_OPAQUE - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
 

O

OFFICIAL - ch.swingfx.window.translucentandshaped.ApiType
support for official api
OfficialApi - Class in ch.swingfx.window.translucentandshaped
Wrapper around the official API for creating translucent and shaped windows.
OfficialApi() - Constructor for class ch.swingfx.window.translucentandshaped.OfficialApi
 
OPAQUE - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
 
OSX_MENU_BAR_SCREEN_INSETS - Static variable in class ch.swingfx.awt.GraphicsEnvironmentUtil
Depending on the JRE Toolkit.getScreenInsets() doesn't always work on OS X.
Because the menu bar is always 22 we can provide the screen insets for the screen with the menu bar in this constant.

P

PERPIXEL_TRANSLUCENT - ch.swingfx.window.translucentandshaped.Translucency
per-pixel translucency (example: Only window but not the button).
check with isTranslucencyCapable(gc)
PERPIXEL_TRANSLUCENT - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
 
PERPIXEL_TRANSLUCENT - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
 
PERPIXEL_TRANSPARENT - ch.swingfx.window.translucentandshaped.Translucency
shaping
PERPIXEL_TRANSPARENT - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
enum constants from java.awt.GraphicsDevice$WindowTranslucency
PERPIXEL_TRANSPARENT - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
enum constants from com.sun.awt.AWTUtilities$Translucency
PRIVATE - ch.swingfx.window.translucentandshaped.ApiType
support for sun.awt.AWTUtilities api
PrivateApi - Class in ch.swingfx.window.translucentandshaped
Wrapper around com.sun.awt.AWTUtilities API for Translucent and Shaped Window support.
As of JRE 6 update 10 there is a private API for creating these types of windows.
You shouldn't use this class directly.
PrivateApi() - Constructor for class ch.swingfx.window.translucentandshaped.PrivateApi
 

S

setAnimationTarget(AnimationTimer.AnimationTarget) - Method in class ch.swingfx.timer.AnimationTimer
Set the animation target
setDuration(long) - Method in class ch.swingfx.timer.AnimationTimer
Set the duration of the animation
setWindowOpacity - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
 
setWindowOpacity - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
 
setWindowOpacity(Window, float) - Method in interface ch.swingfx.window.translucentandshaped.ITranslucentAndShapedWindowApi
 
setWindowOpacity(Window, float) - Method in class ch.swingfx.window.translucentandshaped.NoApi
 
setWindowOpacity(Window, float) - Method in class ch.swingfx.window.translucentandshaped.OfficialApi
 
setWindowOpacity(Window, float) - Method in class ch.swingfx.window.translucentandshaped.PrivateApi
 
setWindowOpaque - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
 
setWindowOpaque(Window, boolean) - Method in interface ch.swingfx.window.translucentandshaped.ITranslucentAndShapedWindowApi
 
setWindowOpaque(Window, boolean) - Method in class ch.swingfx.window.translucentandshaped.NoApi
 
setWindowOpaque(Window, boolean) - Method in class ch.swingfx.window.translucentandshaped.OfficialApi
 
setWindowOpaque(Window, boolean) - Method in class ch.swingfx.window.translucentandshaped.PrivateApi
 
setWindowShape - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
 
setWindowShape - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
 
setWindowShape(Window, Shape) - Method in interface ch.swingfx.window.translucentandshaped.ITranslucentAndShapedWindowApi
 
setWindowShape(Window, Shape) - Method in class ch.swingfx.window.translucentandshaped.NoApi
 
setWindowShape(Window, Shape) - Method in class ch.swingfx.window.translucentandshaped.OfficialApi
 
setWindowShape(Window, Shape) - Method in class ch.swingfx.window.translucentandshaped.PrivateApi
 
start() - Method in class ch.swingfx.timer.AnimationTimer
Start the animation
stop() - Method in class ch.swingfx.timer.AnimationTimer
End the animation before duration has passed

T

TextUtil - Class in ch.swingfx.text
Utility class to work with text
TextUtil() - Constructor for class ch.swingfx.text.TextUtil
 
TimerActionListener() - Constructor for class ch.swingfx.timer.AnimationTimer.TimerActionListener
 
Translucency - Enum in ch.swingfx.window.translucentandshaped
This enum is used in combination with ITranslucentAndShapedWindowApi.isTranslucencySupported()
Translucency() - Constructor for enum ch.swingfx.window.translucentandshaped.Translucency
 
TRANSLUCENT - ch.swingfx.window.translucentandshaped.Translucency
simple translucency (everything or nothing)
TRANSLUCENT - Static variable in class ch.swingfx.window.translucentandshaped.OfficialApi
 
TRANSLUCENT - Static variable in class ch.swingfx.window.translucentandshaped.PrivateApi
 
TranslucentAndShapedWindowApiFactory - Class in ch.swingfx.window.translucentandshaped
Factory for creating ITranslucentAndShapedWindowApi objects depending on the JRE
Prior to JRE 6 update 10 there is no support for this.
TranslucentAndShapedWindowApiFactory() - Constructor for class ch.swingfx.window.translucentandshaped.TranslucentAndShapedWindowApiFactory
 

V

valueOf(String) - Static method in enum ch.swingfx.timer.AnimationTimer.FrameRate
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.swingfx.window.translucentandshaped.ApiType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.swingfx.window.translucentandshaped.Translucency
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.swingfx.timer.AnimationTimer.FrameRate
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.swingfx.window.translucentandshaped.ApiType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.swingfx.window.translucentandshaped.Translucency
Returns an array containing the constants of this enum type, in the order they are declared.

W

withAlpha(Color, float) - Static method in class ch.swingfx.color.ColorUtil
Creates a new Color with RGB from color and the alpha value of alpha
A B C D E F G I N O P S T V W 
All Classes All Packages