public interface IScrollBarProxy
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(int eventType,
org.eclipse.swt.widgets.Listener listener)
Adds the listener to the collection of listeners who will
be notified when an event of the given type occurs.
|
void |
addSelectionListener(org.eclipse.swt.events.SelectionListener listener) |
int |
getIncrement() |
int |
getMaximum() |
int |
getMinimum() |
int |
getPageIncrement() |
int |
getSelection()
Returns the selection.
|
int |
getThumb() |
boolean |
getVisible()
Returns the scrollbar's visibility.
|
void |
handleMouseWheel(org.eclipse.swt.widgets.Event e) |
void |
removeListener(int eventType,
org.eclipse.swt.widgets.Listener listener)
Removes the listener from the collection of listeners who will
be notified when an event of the given type occurs.
|
void |
removeSelectionListener(org.eclipse.swt.events.SelectionListener listener) |
void |
setIncrement(int increment) |
void |
setMaximum(int max) |
void |
setMinimum(int min) |
void |
setPageIncrement(int page) |
void |
setSelection(int selection)
Sets the selection.
|
void |
setThumb(int thumb) |
void |
setValues(int selection,
int min,
int max,
int thumb,
int increment,
int pageIncrement)
Sets the receiver's selection, minimum value, maximum value, thumb,
increment and page increment all at once.
|
void |
setVisible(boolean visible)
Sets the scrollbar's visibility.
|
boolean getVisible()
void setVisible(boolean visible)
visible - visibiltyint getSelection()
void setSelection(int selection)
selection - selection to setvoid setValues(int selection,
int min,
int max,
int thumb,
int increment,
int pageIncrement)
selection - selectionmin - minimummax - maximumthumb - thumbincrement - incrementpageIncrement - page incrementvoid handleMouseWheel(org.eclipse.swt.widgets.Event e)
e - void setMinimum(int min)
min - int getMinimum()
void setMaximum(int max)
max - int getMaximum()
void setThumb(int thumb)
thumb - int getThumb()
void setIncrement(int increment)
increment - int getIncrement()
void setPageIncrement(int page)
page - int getPageIncrement()
void addSelectionListener(org.eclipse.swt.events.SelectionListener listener)
listener - void removeSelectionListener(org.eclipse.swt.events.SelectionListener listener)
listener - void addListener(int eventType,
org.eclipse.swt.widgets.Listener listener)
handleEvent() message. The event
type is one of the event constants defined in class SWT.eventType - the type of event to listen forlistener - the listener which should be notified when the event occursjava.lang.IllegalArgumentException - org.eclipse.swt.SWTException - Listener,
SWT,
removeListener(int, Listener)void removeListener(int eventType,
org.eclipse.swt.widgets.Listener listener)
SWT.eventType - the type of event to listen forlistener - the listener which should no longer be notifiedjava.lang.IllegalArgumentException - org.eclipse.swt.SWTException - Listener,
SWT,
addListener(int, org.eclipse.swt.widgets.Listener)