public class ProgressBarFigure extends AbstractLinearMarkedFigure
Modifier and Type | Class and Description |
---|---|
(package private) class |
ProgressBarFigure.ProgressBarLayout |
(package private) class |
ProgressBarFigure.Thumb |
(package private) class |
ProgressBarFigure.Track |
marker
hiColor, hihiColor, hihiLevel, hiLevel, loColor, loLevel, loloColor, loloLevel, showHi, showHihi, showLo, showLolo, showMarkers
logScale, majorTickMarkStepHint, maximum, minimum, scale, showMinorTicks, showScale, transparent, value, valueLabelFormat
Constructor and Description |
---|
ProgressBarFigure() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Color |
getFillBackgroundColor() |
org.eclipse.swt.graphics.Color |
getFillColor() |
double |
getOrigin() |
boolean |
isEffect3D() |
boolean |
isHorizontal() |
boolean |
isIndicatorMode() |
boolean |
isOpaque() |
boolean |
isOriginIgnored() |
void |
setEffect3D(boolean effect3D) |
void |
setEnabled(boolean value) |
void |
setFillBackgroundColor(org.eclipse.swt.graphics.Color fillBackgroundColor) |
void |
setFillColor(org.eclipse.swt.graphics.Color fillColor) |
void |
setHorizontal(boolean horizontal) |
void |
setIndicatorMode(boolean indicatorMode) |
void |
setOrigin(double origin) |
void |
setOriginIgnored(boolean originIgnored) |
void |
setRange(double min,
double max)
set the range of the scale
|
void |
setShowLabel(boolean visible) |
void |
setValue(double value) |
setHiColor, setHihiColor, setHihiLevel, setHiLevel, setLoColor, setLogScale, setLoLevel, setLoloColor, setLoloLevel, setShowHi, setShowHihi, setShowLo, setShowLolo, setShowMarkers
getHiColor, getHihiColor, getHihiLevel, getHiLevel, getLoColor, getLoLevel, getLoloColor, getLoloLevel, isShowHi, isShowHihi, isShowLo, isShowLolo, isShowMarkers
getBeanInfo, getCoercedValue, getCoercedValue, getMajorTickMarkStepHint, getMaximum, getMinimum, getRange, getScale, getValue, getValueLabelFormat, getValueText, isLogScale, isShowMinorTicks, isShowScale, isTransparent, paintFigure, setMajorTickMarkStepHint, setRange, setScale, setShowMinorTicks, setShowScale, setTransparent, setValueLabelFormat
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, layout, paint, paintBorder, paintChildren, paintClientArea, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate
public org.eclipse.swt.graphics.Color getFillBackgroundColor()
public org.eclipse.swt.graphics.Color getFillColor()
public double getOrigin()
public boolean isEffect3D()
public boolean isHorizontal()
public boolean isIndicatorMode()
public boolean isOpaque()
isOpaque
in interface org.eclipse.draw2d.IFigure
isOpaque
in class AbstractScaledWidgetFigure
public boolean isOriginIgnored()
public void setEffect3D(boolean effect3D)
effect3D
- the effect3D to setpublic void setEnabled(boolean value)
setEnabled
in interface org.eclipse.draw2d.IFigure
setEnabled
in class org.eclipse.draw2d.Figure
public void setFillBackgroundColor(org.eclipse.swt.graphics.Color fillBackgroundColor)
fillBackgroundColor
- the fillBackgroundColor to setpublic void setFillColor(org.eclipse.swt.graphics.Color fillColor)
fillColor
- the fillColor to setpublic void setHorizontal(boolean horizontal)
horizontal
- the horizontal to setpublic void setIndicatorMode(boolean indicatorMode)
public void setOrigin(double origin)
public void setOriginIgnored(boolean originIgnored)
public void setRange(double min, double max)
AbstractScaledWidgetFigure
setRange
in class AbstractLinearMarkedFigure
public void setShowLabel(boolean visible)
public void setValue(double value)
setValue
in class AbstractScaledWidgetFigure
value
- the value to set