|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.swt.widgets.Widget | +--org.eclipse.swt.widgets.Control | +--org.eclipse.swt.widgets.Scrollable | +--org.eclipse.swt.widgets.Composite | +--org.eclipse.swt.widgets.Canvas | +--org.eclipse.swt.custom.AnimatedProgress
Unsafe: A control for showing progress feedback for a long running operation.
Field Summary | |
private boolean |
active
Deprecated. |
private static int |
DEFAULT_HEIGHT
Deprecated. |
private static int |
DEFAULT_WIDTH
Deprecated. |
private int |
orientation
Deprecated. |
private boolean |
showBorder
Deprecated. |
private boolean |
showStripes
Deprecated. |
private static int |
SLEEP
Deprecated. |
private int |
value
Deprecated. |
Fields inherited from class org.eclipse.swt.widgets.Canvas |
|
Fields inherited from class org.eclipse.swt.widgets.Composite |
|
Fields inherited from class org.eclipse.swt.widgets.Scrollable |
|
Fields inherited from class org.eclipse.swt.widgets.Control |
handle |
Fields inherited from class org.eclipse.swt.widgets.Widget |
|
Constructor Summary | |
AnimatedProgress(Composite parent,
int style)
Deprecated. Suppressed: Constructs a new instance of this class given its parent and a style value describing its behavior and appearance. |
Method Summary | |
private static int |
checkStyle(int style)
Deprecated. |
void |
clear()
Deprecated. Suppressed: Stop the animation if it is not already stopped and reset the presentation to a blank appearance. |
Point |
computeSize(int wHint,
int hHint,
boolean changed)
Deprecated. Suppressed: |
private void |
drawBevelRect(GC gc,
int x,
int y,
int w,
int h,
Color topleft,
Color bottomright)
Deprecated. |
private void |
paint(PaintEvent event)
Deprecated. |
private void |
paintStripes(GC gc)
Deprecated. |
void |
start()
Deprecated. Suppressed: Start the animation. |
void |
stop()
Deprecated. Suppressed: Stop the animation. |
Methods inherited from class org.eclipse.swt.widgets.Canvas |
getCaret, scroll, setCaret, setFont |
Methods inherited from class org.eclipse.swt.widgets.Composite |
checkSubclass, getChildren, getLayout, getTabList, layout, layout, moveAbove, moveBelow, setFocus, setLayout, setTabList |
Methods inherited from class org.eclipse.swt.widgets.Scrollable |
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
Methods inherited from class org.eclipse.swt.widgets.Widget |
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getStyle, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final int SLEEP
private static final int DEFAULT_WIDTH
private static final int DEFAULT_HEIGHT
private boolean active
private boolean showStripes
private int value
private int orientation
private boolean showBorder
Constructor Detail |
public AnimatedProgress(Composite parent, int style)
The style value is either one of the style constants defined in
class SWT
which is applicable to instances of this
class, or must be built by bitwise OR'ing together
(that is, using the int
"|" operator) two or more
of those SWT
style constants. The class description
lists the style constants that are applicable to the class.
Style bits are also inherited from superclasses.
parent
- a widget which will be the parent of the new instance (cannot be null)style
- the style of widget to constructSWT.VERTICAL
,
SWT.HORIZONTAL
,
SWT.BORDER
,
Widget.getStyle()
Method Detail |
private static int checkStyle(int style)
public void clear()
public Point computeSize(int wHint, int hHint, boolean changed)
computeSize
in class Composite
wHint
- the width hint (can be SWT.DEFAULT
)hHint
- the height hint (can be SWT.DEFAULT
)changed
- true
if the control's contents have changed, and false
otherwise
Layout
,
Control.getBorderWidth()
,
Control.getBounds()
,
Control.getSize()
,
Control.pack()
,
"computeTrim, getClientArea for controls that implement them"private void drawBevelRect(GC gc, int x, int y, int w, int h, Color topleft, Color bottomright)
private void paint(PaintEvent event)
private void paintStripes(GC gc)
public void start()
public void stop()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |