org.jtheque.core.managers.view.impl.components
Interface WaitFigure

All Known Implementing Classes:
InfiniteWaitFigure

public interface WaitFigure

A wait figure.

Author:
Baptiste Wicht

Method Summary
 void init()
          Init the wait figure.
 void paint(java.awt.Graphics graphics)
          Paint something in the Graphics of the GlassPane.
 void setApparentedGlassPane(ExtendedGlassPane glassPane)
          Set the parent glass pane of the wait figure.
 void setBounds(int width, int height)
          Set the bounds of the figure.
 void start()
          Start the animation.
 void stop()
          Stop the animation.
 

Method Detail

init

void init()
Init the wait figure.


start

void start()
Start the animation.


stop

void stop()
Stop the animation.


paint

void paint(java.awt.Graphics graphics)
Paint something in the Graphics of the GlassPane.

Parameters:
graphics - The Graphics of the apparented glassPane

setBounds

void setBounds(int width,
               int height)
Set the bounds of the figure. This method is called when the same method is called on the glasspane. We use that to be sure that its correctly resized.

Parameters:
width - The width of the glasspane
height - The height of the glasspane

setApparentedGlassPane

void setApparentedGlassPane(ExtendedGlassPane glassPane)
Set the parent glass pane of the wait figure.

Parameters:
glassPane - The parent glasspane


Copyright © 2009 JTheque. All Rights Reserved.