Fork me on GitHub

Référence de la classe JFadePanel

A JPanel with fade-in and fade-out effects. Plus de détails...

Est dérivée de javax::swing::JPanel.

Liste de tous les membres

Fonctions membres publiques

 JFadePanel ()
 Creates a new JFadePanel with a double buffer and a flow layout.
 JFadePanel (LayoutManager layout)
 Create a new buffered JFadePanel with the specified layout manager.
 JFadePanel (boolean isDoubleBuffered)
 Creates a new JPanel with FlowLayout and the specified buffering strategy.
 JFadePanel (LayoutManager layout, boolean isDoubleBuffered)
 Creates a new JPanel with the specified layout manager and buffering strategy.
void setFadeOutEnabled (boolean fadeout)
 Sets whether or not this component disappears with a fade out effect.
void setOpaque (boolean isOpaque)
 This component must always be opaque to work fine, this method is disabled.
void setVisible (boolean aFlag)
void setFadeInEnabled (boolean fadein)
 Sets whether or not this component appears with a fade in effect.
void setMaxOpacity (int maxOpacityPercent)
 Sets the maximum opacity of this JFadePanel.

Description détaillée

A JPanel with fade-in and fade-out effects.


Documentation des constructeurs et destructeur

Creates a new JFadePanel with a double buffer and a flow layout.

Fade in and fade out are enabled.

JFadePanel ( LayoutManager  layout)

Create a new buffered JFadePanel with the specified layout manager.

Fade in and fade out are enabled.

Paramètres:
layoutthe LayoutManager to use
JFadePanel ( boolean  isDoubleBuffered)

Creates a new JPanel with FlowLayout and the specified buffering strategy.

If isDoubleBuffered is true, the JPanel will use a double buffer. Fade in and fade out are enabled.

Paramètres:
isDoubleBuffereda boolean, true for double-buffering, which uses additional memory space to achieve fast, flicker-free updates
JFadePanel ( LayoutManager  layout,
boolean  isDoubleBuffered 
)

Creates a new JPanel with the specified layout manager and buffering strategy.

Fade in and fade out are enabled.

Paramètres:
layoutthe LayoutManager to use
isDoubleBuffereda boolean, true for double-buffering, which uses additional memory space to achieve fast, flicker-free updates

Documentation des fonctions membres

void setFadeInEnabled ( boolean  fadein)

Sets whether or not this component appears with a fade in effect.

Paramètres:
fadeintrue if this component should appear with a fade in effect, false otherwise
void setFadeOutEnabled ( boolean  fadeout)

Sets whether or not this component disappears with a fade out effect.

Paramètres:
fadeouttrue if this component should disappear with a fade out effect, false otherwise
void setMaxOpacity ( int  maxOpacityPercent)

Sets the maximum opacity of this JFadePanel.

Paramètres:
maxOpacityPercentThe maximum opacity of this JFadePanel.
void setOpaque ( boolean  isOpaque)

This component must always be opaque to work fine, this method is disabled.

void setVisible ( boolean  aFlag)

La documentation de cette classe a été générée à partir du fichier suivant :