|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.hyades.ui.widgets.zoomslider.ZoomControlBar
org.eclipse.hyades.ui.widgets.zoomslider.ZoomImageBar
public class ZoomImageBar
Extends (blah).slider.Bar to provide a slider bar
which displays an iconic image
| Constructor Summary | |
|---|---|
ZoomImageBar(ZoomSlider slider,
double value,
org.eclipse.swt.graphics.Image enabledImage,
org.eclipse.swt.graphics.Image disabledImage,
int size)
ZoomImageBar Constructor |
|
| Method Summary | |
|---|---|
void |
paint(org.eclipse.swt.graphics.GC g)
Paint this ImageBar |
void |
setEnabled(boolean b)
Enable/disable this ImageBar |
| Methods inherited from class org.eclipse.hyades.ui.widgets.zoomslider.ZoomControlBar |
|---|
addZoomControlBarListener, dispose, getColor, getSize, getToolTipText, getValue, getZoomSlider, hide, inside, isEnabled, removeZoomControlBarListener, setColor, setSize, setToolTipText, setValue, setZoomSlider, sprayZoomControlBarEvent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZoomImageBar(ZoomSlider slider,
double value,
org.eclipse.swt.graphics.Image enabledImage,
org.eclipse.swt.graphics.Image disabledImage,
int size)
slider - the slider on which this ImageBar is to appearvalue - the value on the slider at which this ImageBar is to initially appearenabledImage - the image to to be used as the enabled iconic imagedisabledImage - the image is to be used as the disabled iconic imagesize - the required size for this ImageBar. Size means height when the
ImageBar is on a vertical slider, and width when on a horizontal slider| Method Detail |
|---|
public void paint(org.eclipse.swt.graphics.GC g)
paint in class ZoomControlBarg - the Graphics context on which to paintpublic void setEnabled(boolean b)
setEnabled in class ZoomControlBarb - set true to enable, false to disable
|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||