public class NullScrollBarProxy extends java.lang.Object implements IScrollBarProxy
| Constructor and Description |
|---|
NullScrollBarProxy() |
| 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.
|
public boolean getVisible()
getVisible in interface IScrollBarProxypublic void setVisible(boolean visible)
setVisible in interface IScrollBarProxyvisible - visibiltypublic int getSelection()
getSelection in interface IScrollBarProxypublic void setSelection(int selection)
setSelection in interface IScrollBarProxyselection - selection to setpublic void setValues(int selection,
int min,
int max,
int thumb,
int increment,
int pageIncrement)
setValues in interface IScrollBarProxyselection - selectionmin - minimummax - maximumthumb - thumbincrement - incrementpageIncrement - page incrementpublic void handleMouseWheel(org.eclipse.swt.widgets.Event e)
handleMouseWheel in interface IScrollBarProxypublic void setMinimum(int min)
setMinimum in interface IScrollBarProxypublic int getMinimum()
getMinimum in interface IScrollBarProxypublic void setMaximum(int max)
setMaximum in interface IScrollBarProxypublic int getMaximum()
getMaximum in interface IScrollBarProxypublic void setThumb(int thumb)
setThumb in interface IScrollBarProxypublic int getThumb()
getThumb in interface IScrollBarProxypublic void setIncrement(int increment)
setIncrement in interface IScrollBarProxypublic int getIncrement()
getIncrement in interface IScrollBarProxypublic void setPageIncrement(int page)
setPageIncrement in interface IScrollBarProxypublic int getPageIncrement()
getPageIncrement in interface IScrollBarProxypublic void addSelectionListener(org.eclipse.swt.events.SelectionListener listener)
addSelectionListener in interface IScrollBarProxypublic void removeSelectionListener(org.eclipse.swt.events.SelectionListener listener)
removeSelectionListener in interface IScrollBarProxypublic void addListener(int eventType,
org.eclipse.swt.widgets.Listener listener)
IScrollBarProxyhandleEvent() message. The event
type is one of the event constants defined in class SWT.addListener in interface IScrollBarProxyeventType - the type of event to listen forlistener - the listener which should be notified when the event occursIScrollBarProxy.addListener(int, org.eclipse.swt.widgets.Listener)public void removeListener(int eventType,
org.eclipse.swt.widgets.Listener listener)
IScrollBarProxySWT.removeListener in interface IScrollBarProxyeventType - the type of event to listen forlistener - the listener which should no longer be notifiedIScrollBarProxy.removeListener(int, org.eclipse.swt.widgets.Listener)