|
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.ZoomIndicatorsCollection
public class ZoomIndicatorsCollection
A collection of ZoomIndicators for a particular slider. The collection is able to invoke the paint call on all ZoomIndicators for a particular slider.
| Constructor Summary | |
|---|---|
ZoomIndicatorsCollection(ZoomSlider slider)
ZoomIndicatorsCollection constructor |
|
| Method Summary | |
|---|---|
void |
add(ZoomIndicator indicator)
Add a ZoomIndicator to this collection. |
void |
calculatePositions()
Recalculate the positions of the indicators in this ZoomSlider. |
void |
clear()
Clear the ZoomIndicatorCollection |
void |
dispose()
Dispose of the resources used by the ZoomIndicators in this collection |
java.util.Vector |
getZoomIndicators()
Get all ZoomIndicators in this collection |
void |
paint(org.eclipse.swt.graphics.GC g,
org.eclipse.swt.graphics.Image backBuffer)
Paint all indicators onto the ZoomSlider GC |
void |
remove(ZoomIndicator indicator)
Remove a ZoomIndicator from this collection |
void |
setXORColors()
Set the XOR colors for each ZoomIndicator. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZoomIndicatorsCollection(ZoomSlider slider)
slider - the ZoomSlider that the indicators are set on| Method Detail |
|---|
public void add(ZoomIndicator indicator)
indicator - the ZoomIndicator to add to this collectionpublic void remove(ZoomIndicator indicator)
indicator - the ZoomIndicator to remove from the collectionpublic void calculatePositions()
public void paint(org.eclipse.swt.graphics.GC g,
org.eclipse.swt.graphics.Image backBuffer)
g - the GC to paint onbackBuffer - the background imagepublic java.util.Vector getZoomIndicators()
public void setXORColors()
ZoomIndicator.setXORColor()public void dispose()
public void clear()
|
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 | ||||||||