|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SliderInterface
An interface describing methods necessary for user events listened to outside of a slider visual component to modify the value of the slider. These methods allow a model to determine if someone pressed the mouse in the increment or the decrement portion of a slider track and to change the position of the slider thumb if a mouse drag event occurs.
Method Summary | |
---|---|
java.awt.Rectangle |
getDecrementBounds()
Get the bounds of the decrement portion of the slider track. |
java.awt.Rectangle |
getIncrementBounds()
Get the bounds of the increment portion of the slider track. |
java.awt.Point |
getThumbPosition()
Get the top, left point of the slider thumb. |
void |
setThumbPosition(java.awt.Point pt)
Set the top, left point of the slider thumb. |
Method Detail |
---|
java.awt.Rectangle getIncrementBounds()
java.awt.Rectangle getDecrementBounds()
java.awt.Point getThumbPosition()
void setThumbPosition(java.awt.Point pt)
pt
- the top, left point of the slider thumb
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |