Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractNotificationStyle - Class in ch.swingfx.twinkle.style
-
Provides a base class for
INotificationStyle
implementations. - AbstractNotificationStyle() - Constructor for class ch.swingfx.twinkle.style.AbstractNotificationStyle
- AbstractOverlay - Class in ch.swingfx.twinkle.style.overlay
-
Extend this class if you want to create your own
IOverlay
implementations.
It implements the logic forOverlayPaintMode
values. - AbstractOverlay(OverlayPaintMode, IOverlay) - Constructor for class ch.swingfx.twinkle.style.overlay.AbstractOverlay
- ALWAYS - Enum constant in enum class ch.swingfx.twinkle.style.overlay.OverlayPaintMode
-
Paint the overlay always.
- ANIMATION_FADE_IN_DURATION - Static variable in class ch.swingfx.twinkle.NotificationBuilder
-
Duration of the fade in animation in milliseconds
- ANIMATION_FADE_IN_START_DELAY - Static variable in class ch.swingfx.twinkle.NotificationBuilder
-
delay before we start the fade in animation because of flickering on some systems/jres.
- ANIMATION_FADE_OUT_DURATION - Static variable in class ch.swingfx.twinkle.NotificationBuilder
-
Duration of the fade out animation in milliseconds
B
- BackgroundPainterPanel - Class in ch.swingfx.twinkle.style.background
-
This panel just call paintComponent on the
IBackground
. - BackgroundPainterPanel(IBackground, int) - Constructor for class ch.swingfx.twinkle.style.background.BackgroundPainterPanel
-
Create a new BackgroundPainterPanel
- BorderOverlay - Class in ch.swingfx.twinkle.style.overlay
-
Paints a border around the notification
- BorderOverlay(int, Color, OverlayPaintMode) - Constructor for class ch.swingfx.twinkle.style.overlay.BorderOverlay
-
Create a new
BorderOverlay
- BorderOverlay(int, Color, OverlayPaintMode, IOverlay) - Constructor for class ch.swingfx.twinkle.style.overlay.BorderOverlay
-
Create a new
BorderOverlay
with a decorator - BOTTOM_RIGHT - Static variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- BOTTOM_RIGHT - Static variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
C
- CENTER - Enum constant in enum class ch.swingfx.twinkle.window.Positions
- ch.swingfx.twinkle - package ch.swingfx.twinkle
- ch.swingfx.twinkle.event - package ch.swingfx.twinkle.event
- ch.swingfx.twinkle.manager - package ch.swingfx.twinkle.manager
- ch.swingfx.twinkle.style - package ch.swingfx.twinkle.style
- ch.swingfx.twinkle.style.background - package ch.swingfx.twinkle.style.background
- ch.swingfx.twinkle.style.closebutton - package ch.swingfx.twinkle.style.closebutton
- ch.swingfx.twinkle.style.overlay - package ch.swingfx.twinkle.style.overlay
- ch.swingfx.twinkle.style.theme - package ch.swingfx.twinkle.style.theme
- ch.swingfx.twinkle.window - package ch.swingfx.twinkle.window
- clicked(NotificationEvent) - Method in interface ch.swingfx.twinkle.event.INotificationEventListener
-
Called if somebody clicked on the notification.
- clicked(NotificationEvent) - Method in class ch.swingfx.twinkle.event.NotificationEventAdapter
- closed(NotificationEvent) - Method in interface ch.swingfx.twinkle.event.INotificationEventListener
-
Called if the notification is closed.
- closed(NotificationEvent) - Method in class ch.swingfx.twinkle.event.NotificationEventAdapter
- closeWindow(JWindow) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
Closes the window
- ColorBackground - Class in ch.swingfx.twinkle.style.background
-
Paints a color as background
- ColorBackground(Color) - Constructor for class ch.swingfx.twinkle.style.background.ColorBackground
-
Create a new
ColorBackground
- createBorderImage(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.BorderOverlay
-
Create the border fImage.
- createNotificationWindow(Icon, String, String, INotificationStyle, GraphicsConfiguration) - Method in interface ch.swingfx.twinkle.window.ICreateNotificationWindow
-
Creates a new notification window
D
- DarkDefaultNotification - Class in ch.swingfx.twinkle.style.theme
-
Dark theme for the default window
- DarkDefaultNotification() - Constructor for class ch.swingfx.twinkle.style.theme.DarkDefaultNotification
- DEFAULT - Enum constant in enum class ch.swingfx.twinkle.window.NotificationWindowTypes
-
The default notification window.
- DEFAULT_DISPLAY_TIME_IN_MILLIS - Static variable in class ch.swingfx.twinkle.NotificationBuilder
-
The default display time for a notification in milliseconds
- DEFAULT_X - Static variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- DEFAULT_X - Static variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- DEFAULT_Y - Static variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- DEFAULT_Y - Static variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- DefaultNotificationWindow - Class in ch.swingfx.twinkle.window
-
The default notification window layout.
You can override the insets for the icon, title and message. - DefaultNotificationWindow(Icon, String, String, INotificationStyle, GraphicsConfiguration) - Constructor for class ch.swingfx.twinkle.window.DefaultNotificationWindow
-
Create a new notification
- DELAY - Static variable in class ch.swingfx.twinkle.manager.SequentialNotificationManager
-
Delay before we show the notification
E
F
- fAlpha - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fBackground - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fBackground - Variable in class ch.swingfx.twinkle.style.background.BackgroundPainterPanel
- fButtonBackgroundColor - Variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- fButtonBackgroundColor - Variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- fButtonBorderColor - Variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- fButtonBorderColor - Variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- fButtonShape - Variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- fButtonShape - Variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- fCloseButton - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fColor - Variable in class ch.swingfx.twinkle.style.background.ColorBackground
-
Color of the background
- fColor - Variable in class ch.swingfx.twinkle.style.overlay.BorderOverlay
- fCornerRadius - Variable in class ch.swingfx.twinkle.style.background.BackgroundPainterPanel
- fCornerRadius - Variable in class ch.swingfx.twinkle.window.GlassPane
- fCustomParams - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fDecorator - Variable in class ch.swingfx.twinkle.style.overlay.AbstractOverlay
- fDisplayTime - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
Time in millis we want to display the notification
- fDropShadow - Variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- fEndColor - Variable in class ch.swingfx.twinkle.style.background.GradientBackground
- fEndColor - Variable in class ch.swingfx.twinkle.style.overlay.GradientOverlay
- fFadeIn - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
Flag that tells us if we should fade in the notification
- fFadeOut - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
Flag that tells us if we should fade out the notification
- fIcon - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
The Icon we want to display
- fId - Variable in class ch.swingfx.twinkle.event.NotificationEvent
- fId - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
id of this
NotificationBuilder
. - fImage - Variable in class ch.swingfx.twinkle.style.overlay.BorderOverlay
- fManager - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
The manager that shows the notifications
- fMessage - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
The message we want to display
- fMessageFont - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fMessageFontColor - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fNotificationListener - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
Listener that receives notification events
- fOverlay - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fPaintMode - Variable in class ch.swingfx.twinkle.style.overlay.AbstractOverlay
- fPosition - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
Position of the notification
- fStartColor - Variable in class ch.swingfx.twinkle.style.background.GradientBackground
- fStartColor - Variable in class ch.swingfx.twinkle.style.overlay.GradientOverlay
- fStroke - Variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- fStroke - Variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- fStyle - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
styling for our window
- fStyle - Variable in class ch.swingfx.twinkle.window.GlassPane
- fTitle - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
The title we want to display
- fTitleFont - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fTitleFontColor - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fWidth - Variable in class ch.swingfx.twinkle.style.overlay.BorderOverlay
- fWindow - Variable in class ch.swingfx.twinkle.window.GlassPane
- fWindowClosed - Variable in class ch.swingfx.twinkle.NotificationBuilder
-
Flag that tells us if the window is closed or not
- fWindowCornerRadius - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fWindowCreator - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fWindowInsets - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fWindowWidth - Variable in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- fX - Variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- fX - Variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- fY - Variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- fY - Variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
G
- getAlpha() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getAlpha() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get the alpha that should be applied to a notification where the mouse is not over
- getBackground() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getBackground() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get the
IBackground
that should be applied to the notification - getCloseButton() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getCloseButton() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get the
ICloseButton
that should be applied to the notification - getCustomParams() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getCustomParams() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get a map of custom parameters
- getId() - Method in class ch.swingfx.twinkle.event.NotificationEvent
-
Get the id of the notification
- getMessageFont() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getMessageFont() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get the font for the message
- getMessageFontColor() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getMessageFontColor() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get the message font color of the notification
- getNotificationWindowCreator() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getNotificationWindowCreator() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get the notification window creator
- getOverlay() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getOverlay() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get the
IOverlay
that should be applied to the notification - getPosition(Dimension, Insets, JWindow, INotificationStyle) - Method in interface ch.swingfx.twinkle.window.IPosition
-
Calculate the position for
window
- getStyle() - Method in class ch.swingfx.twinkle.NotificationBuilder
-
Get the
INotificationStyle
of this notification - getTextAreaForDisplay(String) - Method in class ch.swingfx.twinkle.window.DefaultNotificationWindow
-
Constructs a new display only
JTextArea
- getTitleFont() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getTitleFont() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get the font for the title
- getTitleFontColor() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getTitleFontColor() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get the title font color of the notification
- getWidth() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getWidth() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
The width of the notification
- getWindowCornerRadius() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getWindowCornerRadius() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get the radius of the window corner
- getWindowInsets() - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
- getWindowInsets() - Method in interface ch.swingfx.twinkle.style.INotificationStyle
-
Get the insets of the notification window
- GlassPane - Class in ch.swingfx.twinkle.window
-
Glass pane for the notification.
- GlassPane(JWindow, INotificationStyle, int) - Constructor for class ch.swingfx.twinkle.window.GlassPane
-
Create a new
GlassPane
- GradientBackground - Class in ch.swingfx.twinkle.style.background
-
Paint a top to bottom gradient.
- GradientBackground(Color, Color) - Constructor for class ch.swingfx.twinkle.style.background.GradientBackground
-
Create a gradient background
- GradientOverlay - Class in ch.swingfx.twinkle.style.overlay
-
Paints a simple gradient from top to bottom
- GradientOverlay(Color, Color, OverlayPaintMode) - Constructor for class ch.swingfx.twinkle.style.overlay.GradientOverlay
-
Create a gradient overlay
- GradientOverlay(Color, Color, OverlayPaintMode, IOverlay) - Constructor for class ch.swingfx.twinkle.style.overlay.GradientOverlay
-
Create a gradient overlay with a decorator
I
- IBackground - Interface in ch.swingfx.twinkle.style.background
-
Interface for creating backgrounds for the notification
- ICloseButton - Interface in ch.swingfx.twinkle.style.closebutton
-
Interface for creating close buttons on the notification
- ICreateNotificationWindow - Interface in ch.swingfx.twinkle.window
-
Use this interface to create your own notification windows.
- INotificationEventListener - Interface in ch.swingfx.twinkle.event
-
Implement this listener if you want to listen for events from the notification.
- INotificationManager - Interface in ch.swingfx.twinkle.manager
-
Interface to use if we want to create a new
INotificationManager
- INotificationStyle - Interface in ch.swingfx.twinkle.style
-
Provides styling for the notification
- IOverlay - Interface in ch.swingfx.twinkle.style.overlay
-
This interface is used to paint overlay on the
GlassPane
. - IPosition - Interface in ch.swingfx.twinkle.window
-
Interface for positioning the notification.
- isMouseOverCloseButton(Point) - Method in interface ch.swingfx.twinkle.style.closebutton.ICloseButton
-
Test if the mouse is over the close button
- isMouseOverCloseButton(Point) - Method in class ch.swingfx.twinkle.style.closebutton.NullCloseButton
- isMouseOverCloseButton(Point) - Method in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- isMouseOverCloseButton(Point) - Method in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
L
- LightDefaultNotification - Class in ch.swingfx.twinkle.style.theme
-
Light theme for the default window
- LightDefaultNotification() - Constructor for class ch.swingfx.twinkle.style.theme.LightDefaultNotification
M
- MOUSE_OUT - Enum constant in enum class ch.swingfx.twinkle.style.overlay.OverlayPaintMode
-
Paint the overlay only if the mouse is out.
- MOUSE_OVER - Enum constant in enum class ch.swingfx.twinkle.style.overlay.OverlayPaintMode
-
Paint the overlay only if the mouse is over.
- mouseOut(NotificationEvent) - Method in interface ch.swingfx.twinkle.event.INotificationEventListener
-
Called if the mouse leaves the notification.
- mouseOut(NotificationEvent) - Method in class ch.swingfx.twinkle.event.NotificationEventAdapter
- mouseOver(NotificationEvent) - Method in interface ch.swingfx.twinkle.event.INotificationEventListener
-
Called if the mouse is over the notification.
- mouseOver(NotificationEvent) - Method in class ch.swingfx.twinkle.event.NotificationEventAdapter
N
- nextWindow() - Static method in class ch.swingfx.twinkle.manager.SequentialNotificationManager
-
shows the next window on the stack
- NORTH - Enum constant in enum class ch.swingfx.twinkle.window.Positions
- NORTH_EAST - Enum constant in enum class ch.swingfx.twinkle.window.Positions
- NORTH_WEST - Enum constant in enum class ch.swingfx.twinkle.window.Positions
- NotificationBuilder - Class in ch.swingfx.twinkle
-
This class lets you build a notification window.
- NotificationBuilder() - Constructor for class ch.swingfx.twinkle.NotificationBuilder
- NotificationEvent - Class in ch.swingfx.twinkle.event
-
Event Object used by the notification to send events
- NotificationEvent(Object, UUID) - Constructor for class ch.swingfx.twinkle.event.NotificationEvent
-
Create a new NotificationEvent
- NotificationEventAdapter - Class in ch.swingfx.twinkle.event
-
An abstract adapter class for receiving notification events.
- NotificationEventAdapter() - Constructor for class ch.swingfx.twinkle.event.NotificationEventAdapter
- NotificationManagers - Enum Class in ch.swingfx.twinkle.manager
-
Provides different types of
INotificationManager
- NotificationManagers() - Constructor for enum class ch.swingfx.twinkle.manager.NotificationManagers
- NotificationWindowTypes - Enum Class in ch.swingfx.twinkle.window
-
Available notifications windows.
- NotificationWindowTypes() - Constructor for enum class ch.swingfx.twinkle.window.NotificationWindowTypes
- NullCloseButton - Class in ch.swingfx.twinkle.style.closebutton
-
A
NullCloseButton
is an invisible close button. - NullCloseButton() - Constructor for class ch.swingfx.twinkle.style.closebutton.NullCloseButton
- NullOverlay - Class in ch.swingfx.twinkle.style.overlay
-
Empty implementation of
IOverlay
. - NullOverlay() - Constructor for class ch.swingfx.twinkle.style.overlay.NullOverlay
O
- opened(NotificationEvent) - Method in interface ch.swingfx.twinkle.event.INotificationEventListener
-
Called if the notification is opened.
- opened(NotificationEvent) - Method in class ch.swingfx.twinkle.event.NotificationEventAdapter
- OverlayPaintMode - Enum Class in ch.swingfx.twinkle.style.overlay
-
Tells us if we should paint the overlay always, or only on mouse over/out
- OverlayPaintMode() - Constructor for enum class ch.swingfx.twinkle.style.overlay.OverlayPaintMode
- OVERRIDE_ICON_INSETS - Static variable in class ch.swingfx.twinkle.window.DefaultNotificationWindow
- OVERRIDE_MESSAGE_INSETS - Static variable in class ch.swingfx.twinkle.window.DefaultNotificationWindow
- OVERRIDE_TITLE_INSETS - Static variable in class ch.swingfx.twinkle.window.DefaultNotificationWindow
P
- paintBackground(Graphics, boolean, int) - Method in class ch.swingfx.twinkle.style.background.ColorBackground
- paintBackground(Graphics, boolean, int) - Method in class ch.swingfx.twinkle.style.background.GradientBackground
- paintBackground(Graphics, boolean, int) - Method in interface ch.swingfx.twinkle.style.background.IBackground
-
Paint the background
- paintBorder(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.BorderOverlay
- paintCloseButton(Graphics) - Method in interface ch.swingfx.twinkle.style.closebutton.ICloseButton
-
Paint the close button
- paintCloseButton(Graphics) - Method in class ch.swingfx.twinkle.style.closebutton.NullCloseButton
- paintCloseButton(Graphics) - Method in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- paintCloseButton(Graphics) - Method in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- paintComponent(Graphics) - Method in class ch.swingfx.twinkle.style.background.BackgroundPainterPanel
- paintComponent(Graphics) - Method in class ch.swingfx.twinkle.window.GlassPane
- paintGradient(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.GradientOverlay
- paintMouseOut(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.AbstractOverlay
-
Called by paintOverlayMouseOut if we should paint it.
- paintMouseOut(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.BorderOverlay
- paintMouseOut(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.GradientOverlay
- paintMouseOver(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.AbstractOverlay
-
Called by paintOverlayMouseOver if we should paint it.
- paintMouseOver(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.BorderOverlay
- paintMouseOver(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.GradientOverlay
- paintOverlayMouseOut(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.AbstractOverlay
- paintOverlayMouseOut(Graphics, int) - Method in interface ch.swingfx.twinkle.style.overlay.IOverlay
-
Invoked when we should paint the overlay when the mouse is out
- paintOverlayMouseOut(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.NullOverlay
- paintOverlayMouseOver(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.AbstractOverlay
- paintOverlayMouseOver(Graphics, int) - Method in interface ch.swingfx.twinkle.style.overlay.IOverlay
-
Invoked when we should paint the overlay when the mouse is over
- paintOverlayMouseOver(Graphics, int) - Method in class ch.swingfx.twinkle.style.overlay.NullOverlay
- Positions - Enum Class in ch.swingfx.twinkle.window
-
This enum has some default positions that can be used by
NotificationBuilder
.withPosition() - Positions() - Constructor for enum class ch.swingfx.twinkle.window.Positions
R
- RectangleCloseButton - Class in ch.swingfx.twinkle.style.closebutton
-
A simple rectangle close button.
- RectangleCloseButton(Color, Color) - Constructor for class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- RectangleCloseButton(Color, Color, int, int) - Constructor for class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- RoundCloseButton - Class in ch.swingfx.twinkle.style.closebutton
-
A simple round close button.
- RoundCloseButton(Color, Color) - Constructor for class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
-
Create a RoundCloseButton at default x and y
- RoundCloseButton(Color, Color, int, int) - Constructor for class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
-
Create a RoundCloseButton at x and y
S
- SEQUENTIAL - Enum constant in enum class ch.swingfx.twinkle.manager.NotificationManagers
-
Shows the notifications one after one
- SequentialNotificationManager - Class in ch.swingfx.twinkle.manager
-
I manage the notification windows and show the one after one
- SequentialNotificationManager() - Constructor for class ch.swingfx.twinkle.manager.SequentialNotificationManager
- serialVersionUID - Static variable in class ch.swingfx.twinkle.event.NotificationEvent
- serialVersionUID - Static variable in class ch.swingfx.twinkle.style.background.BackgroundPainterPanel
- serialVersionUID - Static variable in class ch.swingfx.twinkle.window.DefaultNotificationWindow
- serialVersionUID - Static variable in class ch.swingfx.twinkle.window.GlassPane
- setAlpha(float) - Method in class ch.swingfx.twinkle.style.background.ColorBackground
- setAlpha(float) - Method in class ch.swingfx.twinkle.style.background.GradientBackground
- setAlpha(float) - Method in interface ch.swingfx.twinkle.style.background.IBackground
-
Set the alpha of this component.
- setOverlayPaintMode(OverlayPaintMode) - Method in class ch.swingfx.twinkle.style.overlay.AbstractOverlay
- setOverlayPaintMode(OverlayPaintMode) - Method in interface ch.swingfx.twinkle.style.overlay.IOverlay
-
Set when the overlay is painted
- setOverlayPaintMode(OverlayPaintMode) - Method in class ch.swingfx.twinkle.style.overlay.NullOverlay
- showNotification() - Method in class ch.swingfx.twinkle.NotificationBuilder
-
shows the notification
- showNotification(JWindow) - Method in interface ch.swingfx.twinkle.manager.INotificationManager
-
Show the notification
- showNotification(JWindow) - Static method in class ch.swingfx.twinkle.manager.SequentialNotificationManager
-
Shows the notification
- showNotificationEDT() - Method in class ch.swingfx.twinkle.NotificationBuilder
- sIconInsets - Static variable in class ch.swingfx.twinkle.window.DefaultNotificationWindow
-
default insets for the icon
- SIZE - Static variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- SIZE - Static variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- sLock - Static variable in class ch.swingfx.twinkle.manager.SequentialNotificationManager
-
our lock for synchronization
- sMainScreen - Static variable in class ch.swingfx.twinkle.NotificationBuilder
- sMainScreenGraphicsConfiguration - Static variable in class ch.swingfx.twinkle.NotificationBuilder
- sMainScreenInsets - Static variable in class ch.swingfx.twinkle.NotificationBuilder
-
Insets of menu/task bars
- sMainScreenSize - Static variable in class ch.swingfx.twinkle.NotificationBuilder
-
The size of the main screen including all the menu/task bars
- sMessageLabelInsets - Static variable in class ch.swingfx.twinkle.window.DefaultNotificationWindow
-
default insets for the message
- SOUTH - Enum constant in enum class ch.swingfx.twinkle.window.Positions
- SOUTH_EAST - Enum constant in enum class ch.swingfx.twinkle.window.Positions
- SOUTH_WEST - Enum constant in enum class ch.swingfx.twinkle.window.Positions
- sTitleLabelInsets - Static variable in class ch.swingfx.twinkle.window.DefaultNotificationWindow
-
default insets for the title
- sToolkit - Static variable in class ch.swingfx.twinkle.NotificationBuilder
- STROKE_WIDTH - Static variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- STROKE_WIDTH - Static variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- sWindowApi - Static variable in class ch.swingfx.twinkle.NotificationBuilder
-
api for Translucent and Shaped Windows
- sWindowOpen - Static variable in class ch.swingfx.twinkle.manager.SequentialNotificationManager
-
true if a window is open.
- sWindows - Static variable in class ch.swingfx.twinkle.manager.SequentialNotificationManager
-
list of all windows we want to display.
T
- TOP_LEFT - Static variable in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- TOP_LEFT - Static variable in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
V
- valueOf(String) - Static method in enum class ch.swingfx.twinkle.manager.NotificationManagers
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class ch.swingfx.twinkle.style.overlay.OverlayPaintMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class ch.swingfx.twinkle.window.NotificationWindowTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class ch.swingfx.twinkle.window.Positions
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class ch.swingfx.twinkle.manager.NotificationManagers
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class ch.swingfx.twinkle.style.overlay.OverlayPaintMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class ch.swingfx.twinkle.window.NotificationWindowTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class ch.swingfx.twinkle.window.Positions
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version - Static variable in class ch.swingfx.twinkle.NotificationBuilder
-
version of the library
W
- WEST - Enum constant in enum class ch.swingfx.twinkle.window.Positions
- withAlpha(float) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default alpha of the notification
- withBackground(IBackground) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default
IBackground
- withCloseButton(ICloseButton) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default
ICloseButton
- withCustomParams(Map<String, Object>) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the custom parameters
- withDisplayTime(int) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
set the time the notification should be displayed
- withFadeInAnimation(boolean) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
set true if you want to fade in the notification.
Note fade in is not supported on all platform. - withFadeOutAnimation(boolean) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
set true if you want to fade out the notification.
Note fade out is not supported on all platform. - withIcon(String) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
set the icon of the notification
- withIcon(Icon) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
set the icon of the notification
- withListener(INotificationEventListener) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
Sets a
INotificationEventListener
for receiving events from the notification - withMessage(String) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
set the message of the notification
- withMessageFont(Font) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default message font
- withMessageFontColor(Color) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default message font color
- withNotificationManager(INotificationManager) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
Set the
INotificationManager
that handles how the notification are displayed - withNotificationWindowCreator(ICreateNotificationWindow) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default
ICreateNotificationWindow
- withOverlay(IOverlay) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default
IOverlay
- withPosition(int, int) - Method in interface ch.swingfx.twinkle.style.closebutton.ICloseButton
-
Set the position of the close button
- withPosition(int, int) - Method in class ch.swingfx.twinkle.style.closebutton.NullCloseButton
- withPosition(int, int) - Method in class ch.swingfx.twinkle.style.closebutton.RectangleCloseButton
- withPosition(int, int) - Method in class ch.swingfx.twinkle.style.closebutton.RoundCloseButton
- withPosition(IPosition) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
Set the position of the notification
- withStyle(INotificationStyle) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
set the style of the notification
- withTitle(String) - Method in class ch.swingfx.twinkle.NotificationBuilder
-
set the title of the notification
- withTitleFont(Font) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default title font
- withTitleFontColor(Color) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default title font color
- withWidth(int) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default width
- withWindowCornerRadius(int) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default window corner radius
- withWindowInsets(Insets) - Method in class ch.swingfx.twinkle.style.AbstractNotificationStyle
-
Override the default window insets
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form