AnimatedProgress

A control for showing progress feedback for a long running operation.

@deprecated As of Eclipse 2.1, use ProgressBar with the style SWT.INDETERMINATE

<dl> <dt><b>Styles:</b><dd>VERTICAL, HORIZONTAL, BORDER </dl>

@see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>

Constructors

this
this(Composite parent, int style)

Constructs a new instance of this class given its parent and a style value describing its behavior and appearance. <p> The style value is either one of the style constants defined in class <code>SWT</code> which is applicable to instances of this class, or must be built by <em>bitwise OR</em>'ing together (that is, using the <code>int</code> "|" operator) two or more of those <code>SWT</code> style constants. The class description lists the style constants that are applicable to the class. Style bits are also inherited from superclasses. </p>

Members

Aliases

computeSize
alias computeSize = Canvas.computeSize
Undocumented in source.

Functions

clear
void clear()

Stop the animation if it is not already stopped and reset the presentation to a blank appearance.

computeSize
Point computeSize(int wHint, int hHint, bool changed)
Undocumented in source. Be warned that the author may not have intended to support it.
paint
void paint(PaintEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
paintStripes
void paintStripes(GC gc)
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()

Start the animation.

stop
void stop()

Stop the animation. Freeze the presentation at its current appearance.

Static variables

DEFAULT_HEIGHT
int DEFAULT_HEIGHT;
Undocumented in source.
DEFAULT_WIDTH
int DEFAULT_WIDTH;
Undocumented in source.
SLEEP
int SLEEP;
Undocumented in source.

Variables

active
bool active;
Undocumented in source.
orientation
int orientation;
Undocumented in source.
showBorder
bool showBorder;
Undocumented in source.
showStripes
bool showStripes;
Undocumented in source.
value
int value;
Undocumented in source.

Inherited Members

From Canvas

setBounds
alias setBounds = Composite.setBounds
Undocumented in source.
caret
Caret caret;
Undocumented in source.
ime
IME ime;
Undocumented in source.
drawBackground
void drawBackground(GC gc, int x, int y, int width, int height)

Fills the interior of the rectangle specified by the arguments, with the receiver's background.

getCaret
Caret getCaret()

Returns the caret. <p> The caret for the control is automatically hidden and shown when the control is painted or resized, when focus is gained or lost and when an the control is scrolled. To avoid drawing on top of the caret, the programmer must hide and show the caret when drawing in the window any other time. </p>

getIMCaretPos
Point getIMCaretPos()
Undocumented in source. Be warned that the author may not have intended to support it.
getIME
IME getIME()

Returns the IME.

gtk_button_press_event
int gtk_button_press_event(GtkWidget* widget, GdkEventButton* event)
Undocumented in source. Be warned that the author may not have intended to support it.
gtk_commit
int gtk_commit(GtkIMContext* imcontext, char* text)
Undocumented in source. Be warned that the author may not have intended to support it.
gtk_expose_event
int gtk_expose_event(GtkWidget* widget, GdkEventExpose* event)
Undocumented in source. Be warned that the author may not have intended to support it.
gtk_focus_in_event
int gtk_focus_in_event(GtkWidget* widget, GdkEventFocus* event)
Undocumented in source. Be warned that the author may not have intended to support it.
gtk_focus_out_event
int gtk_focus_out_event(GtkWidget* widget, GdkEventFocus* event)
Undocumented in source. Be warned that the author may not have intended to support it.
gtk_preedit_changed
int gtk_preedit_changed(GtkIMContext* imcontext)
Undocumented in source. Be warned that the author may not have intended to support it.
redrawWidget
void redrawWidget(int x, int y, int width, int height, bool redrawAll, bool all, bool trim)
Undocumented in source. Be warned that the author may not have intended to support it.
releaseChildren
void releaseChildren(bool destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
scroll
void scroll(int destX, int destY, int x, int y, int width, int height, bool all)

Scrolls a rectangular area of the receiver by first copying the source area to the destination and then causing the area of the source which is not covered by the destination to be repainted. Children that intersect the rectangle are optionally moved during the operation. In addition, outstanding paint events are flushed before the source area is copied to ensure that the contents of the canvas are drawn correctly.

setBounds
int setBounds(int x, int y, int width, int height, bool move, bool resize)
Undocumented in source. Be warned that the author may not have intended to support it.
setCaret
void setCaret(Caret caret)

Sets the receiver's caret. <p> The caret for the control is automatically hidden and shown when the control is painted or resized, when focus is gained or lost and when an the control is scrolled. To avoid drawing on top of the caret, the programmer must hide and show the caret when drawing in the window any other time. </p> @param caret the new caret for the receiver, may be null

setFont
void setFont(Font font)
Undocumented in source. Be warned that the author may not have intended to support it.
setIME
void setIME(IME ime)

Sets the receiver's IME.

updateCaret
void updateCaret()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta