public interface Scrollable
ScrollEvent,
ScrollListener| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
addScrollListener(ScrollListener l)
Add a listener to recieve scroll events when the value
of the scroll component changes.
|
int |
getHBlockIncrement()
Gets the horizontal block value increment for the scrollable object.
|
int |
getHMaximum()
Gets the horizontal maximum value of the scrollable object.
|
int |
getHMinimum()
Gets the horizontal minimum value of the scrollable object.
|
int |
getHUnitIncrement()
Gets the horizontal unit value increment for the scrollable object.
|
int |
getHValue()
Gets the horizontal current value of the scrollable object.
|
int |
getHVisibleAmount()
Gets the horizontal length of the propertional indicator.
|
int |
getVBlockIncrement()
Gets the vertical block value increment for the scrollable object.
|
int |
getVMaximum()
Gets the vertical maximum value of the scrollable object.
|
int |
getVMinimum()
Gets the vertical minimum value of the scrollable object.
|
int |
getVUnitIncrement()
Gets the vertical unit value increment for the scrollable object.
|
int |
getVValue()
Gets the vertical current value of the scrollable object.
|
int |
getVVisibleAmount()
Gets the vertical length of the propertional indicator.
|
void |
removeScrollListener(ScrollListener l)
Removes an scroll listener.
|
void |
setHValue(int v)
Sets the horizontal current value of the scrollable object.
|
void |
setVValue(int v)
Sets the vertical current value of the scrollable object.
|
int getVMinimum()
int getHMinimum()
int getVMaximum()
int getHMaximum()
int getVUnitIncrement()
int getHUnitIncrement()
int getVBlockIncrement()
int getHBlockIncrement()
int getVVisibleAmount()
int getHVisibleAmount()
int getVValue()
int getHValue()
void setVValue(int v)
v - the current value.void setHValue(int v)
v - the current value.void addScrollListener(ScrollListener l)
l - the listener to recieve events.void removeScrollListener(ScrollListener l)
l - the listener being removed.