|
|||||||||
| Home >> All >> jcurses >> [ widgets overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jcurses.widgets
Interface IScrollable

- public interface IScrollable
This interface is to be implemented by widgets, that use
ScrollbarPainter to paint vertical or horizontal
(or both ) scrollbars. Througth this interface the widget gives
to the ScrollbarPainter needed data to paint or refresh
scrollbars;
| Method Summary | |
jcurses.system.CharColor |
getBorderColors()
The method returns colors, with which the border is to be paint |
jcurses.util.Rectangle |
getBorderRectangle()
The method returns the rectangle of the border, on which scrollbars are to be paint |
float |
getHorizontalScrollbarLength()
The method returns the length of the horizontal scrollbar as part of the length of the side of the border rectangle ( 0 < value <= 1.0 ) |
float |
getHorizontalScrollbarOffset()
The method returns the offset of the horizontal scrollbar as part of the length of the side of the border rectangle ( 0 <=value < 1.0 ) |
jcurses.system.CharColor |
getScrollbarColors()
The method returns colors, with which scrollbars are to be paint |
float |
getVerticalScrollbarLength()
The method returns the length of the vertical scrollbar as part of the length of the side of the border rectangle ( 0 |
float |
getVerticalScrollbarOffset()
The method returns the offset of the vertical scrollbar as part of the length of the side of the border rectangle ( 0 < =value < 1.0 ) |
boolean |
hasHorizontalScrollbar()
This method returns true, if the using widget has a horizontal scrollbar, ( independent of the size of it, this can be also empty) |
boolean |
hasVerticalScrollbar()
This method returns true, if the using widget has a vertical scrollbar, ( independent of the size of it, this can be also empty) |
| Method Detail |
hasHorizontalScrollbar
public boolean hasHorizontalScrollbar()
- This method returns true, if the using widget has a horizontal scrollbar,
( independent of the size of it, this can be also empty)
hasVerticalScrollbar
public boolean hasVerticalScrollbar()
- This method returns true, if the using widget has a vertical scrollbar,
( independent of the size of it, this can be also empty)
getBorderRectangle
public jcurses.util.Rectangle getBorderRectangle()
- The method returns the rectangle of the border, on which scrollbars are to be paint
getBorderColors
public jcurses.system.CharColor getBorderColors()
- The method returns colors, with which the border is to be paint
getScrollbarColors
public jcurses.system.CharColor getScrollbarColors()
- The method returns colors, with which scrollbars are to be paint
getHorizontalScrollbarOffset
public float getHorizontalScrollbarOffset()
- The method returns the offset of the horizontal scrollbar as part of the length of the
side of the border rectangle ( 0 <=value < 1.0 )
getHorizontalScrollbarLength
public float getHorizontalScrollbarLength()
- The method returns the length of the horizontal scrollbar as part of the length of the
side of the border rectangle ( 0 < value <= 1.0 )
getVerticalScrollbarOffset
public float getVerticalScrollbarOffset()
- The method returns the offset of the vertical scrollbar as part of the length of the
side of the border rectangle ( 0 < =value < 1.0 )
getVerticalScrollbarLength
public float getVerticalScrollbarLength()
- The method returns the length of the vertical scrollbar as part of the length of the
side of the border rectangle ( 0
|
|||||||||
| Home >> All >> jcurses >> [ widgets overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC