Widget.NotifyEvent| Constructor and Description |
|---|
ScrollPane() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Widget widget)
Add a widget in the container
|
void |
ensureVisible(Widget widget) |
Widget |
getContents() |
ScrollBar |
getHorizontalScroll() |
float |
getHorizontalScrollPercent() |
float |
getHorizontalScrollStep() |
ScrollBar |
getVerticalScroll() |
float |
getVerticalScrollPercent() |
float |
getVerticalScrollStep() |
Viewport |
getViewportVisible() |
boolean |
isHorizontalScrollEnabled() |
boolean |
isVerticalScrollEnabled() |
void |
setContents(Widget widget) |
void |
setHorizontalScrollEnabled(boolean enabled) |
void |
setHorizontalScrollPercent(float percent) |
void |
setHorizontalScrollStep(int step) |
void |
setLayout(ILayout layout) |
void |
setVerticalScrollEnabled(boolean enabled) |
void |
setVerticalScrollPercent(float percent) |
void |
setVerticalScrollStep(int step) |
void |
update(UI ui,
long timePassedMS)
Widget update. |
find, find, getLayout, getNumWidgets, getWidget, getWidget, isAccurateMouseOver, isOver, isOverlappingRendering, keyPressed, keyReleased, mouseDragged, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, remove, removeAll, setAccurateMouseOver, setOverlappingRenderingaddAnimator, addFocusListener, addKeyListener, addMouseFocusListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, focusTraversal, forceSize, getBackground, getBackgroundBorder, getBackgroundColor, getBackgroundFocus, getBackgroundOver, getBackgroundPress, getBorderSize, getConstraint, getDisableFade, getHeight, getHeightOnScreen, getInsets, getInsetsBottom, getInsetsHeight, getInsetsLeft, getInsetsRight, getInsetsTop, getInsetsWidth, getLocation, getLocationAnchor, getLocationOnScreen, getLocationRef, getLocationRef2, getLocationRefAnchor, getLocationX, getLocationXOnScreen, getLocationY, getLocationYOnScreen, getMaxHeight, getMaxWidth, getMenuPopup, getMinHeight, getMinHeightWidget, getMinWidth, getMinWidthWidget, getName, getOpacity, getParent, getPopup, getRoot, getStyle, getTooltip, getViewport, getViewportInternal, getWidth, getWidthOnScreen, hasFocus, isAutoPackHeight, isAutoPackWidth, isEnabled, isEnabledHerited, isEventsOnExternalDrag, isExternalDrag, isFocusable, isMouseDown, isMouseOver, isMouseOverOrDown, isVisible, isVisibleAndEnabledHerited, isVisibleHerited, mouseClicked, mouseEntered, mouseExited, refreshFocus, removeAnimator, removeFocusListener, removeKeyListener, removeMouseFocusListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, render, requestFocus, setAutoPack, setAutoPackHeight, setAutoPackWidth, setBackground, setBackgroundBorder, setBackgroundColor, setBackgroundFocus, setBackgroundOver, setBackgroundPress, setBorderSize, setCatchAllEvents, setDisableFade, setEnabled, setEventsOnExternalDrag, setExternalDrag, setFocusable, setFocusOwner, setInsets, setInsets, setLocation, setLocation, setLocationAnchor, setLocationAndAnchorInViewport, setLocationRef, setLocationRef2, setLocationRefAnchor, setMaxSize, setMaxSize, setMenuPopup, setMinSize, setMinSize, setName, setOpacity, setPopup, setSize, setSize, setStyle, setTooltip, setVisible, toString, uiFireActionpublic void update(UI ui, long timePassedMS)
WidgetWidget update. Occures before rendering to compute current states and absolute positioning.public final void ensureVisible(Widget widget)
public final Viewport getViewportVisible()
public boolean add(Widget widget)
Panelpublic final void setContents(Widget widget)
public final Widget getContents()
public final void setVerticalScrollPercent(float percent)
public final float getVerticalScrollPercent()
public final void setHorizontalScrollPercent(float percent)
public final float getHorizontalScrollPercent()
public final void setVerticalScrollStep(int step)
public final float getVerticalScrollStep()
public final void setHorizontalScrollStep(int step)
public final float getHorizontalScrollStep()
public final void setVerticalScrollEnabled(boolean enabled)
public final boolean isVerticalScrollEnabled()
public final void setHorizontalScrollEnabled(boolean enabled)
public final boolean isHorizontalScrollEnabled()
public final ScrollBar getVerticalScroll()
public final ScrollBar getHorizontalScroll()
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com