|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScrollPanel
A panel with a vertical scrollbar which contains one widget.
Method Summary | |
---|---|
void |
set(Widget w)
Sets the inner widget. |
void |
setOutline(boolean outline)
|
void |
setPreferredSize(int width,
int height)
Sets the preferred size of the panel. |
void |
setScrollAmount(int amount)
Sets how many pixels the panel will scroll for a single click of an arrow. |
Methods inherited from interface com.leafdigital.ui.api.Panel |
---|
remove, removeAll, setBorder |
Methods inherited from interface com.leafdigital.ui.api.Widget |
---|
getID, getOwner, informClosed, isVisible, setOwner, setVisible |
Methods inherited from interface com.leafdigital.ui.api.WidgetParent |
---|
getWidgets |
Method Detail |
---|
void set(Widget w)
w
- New widget or null for nonevoid setPreferredSize(int width, int height)
width
- Widthheight
- Heightvoid setScrollAmount(int amount)
amount
- Amount in pixelsvoid setOutline(boolean outline)
outline
- If true (default), uses 3D outline as per platform defaults.
If false, has no drawn outline.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |