All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
void |
addAnimator(com.bonzaiengine.ui.anim.WidgetAnimator<?> a) |
void |
addFocusListener(FocusListener l) |
void |
addKeyListener(KeyListener l) |
void |
addMouseFocusListener(FocusListener l) |
void |
addMouseListener(MouseListener l) |
void |
addMouseMotionListener(MouseMotionListener l) |
void |
addMouseWheelListener(MouseWheelListener l) |
<W extends Widget> W |
find(java.lang.String name) |
boolean |
find(Widget widget) |
Widget |
focusTraversal(boolean next) |
void |
forceSize(int w,
int h)
For the size of a widget.
|
Sprite |
getBackground() |
Sprite |
getBackgroundBorder() |
float[] |
getBackgroundColor() |
Sprite |
getBackgroundFocus() |
Sprite |
getBackgroundOver() |
Sprite |
getBackgroundPress() |
int |
getBorderSize() |
Constraint |
getConstraint() |
float |
getDisableFade() |
int |
getHeight() |
int |
getHeightOnScreen() |
void |
getInsets(Insets dst) |
int |
getInsetsBottom() |
int |
getInsetsHeight() |
int |
getInsetsLeft() |
int |
getInsetsRight() |
int |
getInsetsTop() |
int |
getInsetsWidth() |
void |
getLocation(Point dst) |
Anchor |
getLocationAnchor() |
Point |
getLocationOnScreen(Point dst) |
java.lang.String |
getLocationRef() |
Widget |
getLocationRef2() |
Anchor |
getLocationRefAnchor() |
int |
getLocationX() |
int |
getLocationXOnScreen() |
int |
getLocationY() |
int |
getLocationYOnScreen() |
int |
getMaxHeight() |
int |
getMaxWidth() |
<W extends MenuPopup> W |
getMenuPopup() |
int |
getMinHeight() |
int |
getMinHeightWidget() |
int |
getMinWidth() |
int |
getMinWidthWidget() |
java.lang.String |
getName() |
float |
getOpacity() |
Panel |
getParent() |
<W extends Widget> W |
getPopup() |
Widget |
getRoot() |
java.lang.String |
getStyle() |
<W extends Widget> W |
getTooltip() |
Viewport |
getViewport() |
Viewport |
getViewportInternal() |
int |
getWidth() |
int |
getWidthOnScreen() |
boolean |
hasFocus() |
boolean |
isAutoPackHeight() |
boolean |
isAutoPackWidth() |
boolean |
isEnabled() |
boolean |
isEnabledHerited() |
boolean |
isEventsOnExternalDrag() |
boolean |
isExternalDrag() |
boolean |
isFocusable() |
boolean |
isMouseDown() |
boolean |
isMouseOver() |
boolean |
isMouseOverOrDown() |
boolean |
isOver(int mX,
int mY) |
boolean |
isVisible() |
boolean |
isVisibleAndEnabledHerited() |
boolean |
isVisibleHerited() |
boolean |
keyPressed(UI ui,
KeyEvent e) |
boolean |
keyReleased(UI ui,
KeyEvent e) |
boolean |
mouseClicked(UI ui,
MouseEvent e) |
boolean |
mouseDragged(UI ui,
MouseEvent e,
boolean catched) |
void |
mouseEntered(UI ui,
MouseEvent e) |
void |
mouseExited(UI ui,
MouseEvent e) |
boolean |
mouseMoved(UI ui,
MouseEvent e,
boolean catched) |
boolean |
mousePressed(UI ui,
MouseEvent e) |
boolean |
mouseReleased(UI ui,
MouseEvent e) |
boolean |
mouseWheelMoved(UI ui,
MouseWheelEvent e) |
void |
refreshFocus() |
boolean |
removeAnimator(com.bonzaiengine.ui.anim.WidgetAnimator<?> a) |
boolean |
removeFocusListener(FocusListener listener) |
boolean |
removeKeyListener(KeyListener l) |
boolean |
removeMouseFocusListener(FocusListener listener) |
boolean |
removeMouseListener(MouseListener l) |
boolean |
removeMouseMotionListener(MouseMotionListener l) |
boolean |
removeMouseWheelListener(MouseWheelListener l) |
void |
render(UI ui)
|
void |
requestFocus() |
void |
setAutoPack(boolean autoPack) |
void |
setAutoPackHeight(boolean autoPackHeight) |
void |
setAutoPackWidth(boolean autoPackWidth) |
void |
setBackground(Sprite background) |
void |
setBackgroundBorder(Sprite backgroundBorder) |
void |
setBackgroundColor(Color4 backgroundColor) |
void |
setBackgroundFocus(Sprite backgroundFocus) |
void |
setBackgroundOver(Sprite backgroundOver) |
void |
setBackgroundPress(Sprite backgroundPress) |
void |
setBorderSize(int borderSize) |
void |
setCatchAllEvents(boolean catchAllEvents) |
void |
setDisableFade(float disableFade) |
void |
setEnabled(boolean enabled) |
void |
setEventsOnExternalDrag(boolean eventsOnExternalDrag) |
void |
setExternalDrag(boolean externalDrag) |
void |
setFocusable(boolean focusable) |
void |
setFocusOwner(Widget widget) |
void |
setInsets(Insets insets) |
void |
setInsets(int top,
int left,
int bottom,
int right) |
void |
setLocation(int x,
int y)
Set the location of this Widget relatively to its parent.
|
void |
setLocation(Point src) |
void |
setLocationAnchor(Anchor locationAnchor) |
void |
setLocationAndAnchorInViewport(int x,
int y,
Anchor defaultAnchor,
Insets anchorInsetsOrNull,
Viewport viewport)
Set location and location anchor for this Widget.
|
void |
setLocationRef(java.lang.String locationRef) |
void |
setLocationRef2(Widget locationRef2) |
void |
setLocationRefAnchor(Anchor locationAnchorRef) |
void |
setMaxSize(int w,
int h) |
void |
setMaxSize(Size size) |
void |
setMenuPopup(MenuPopup menuPopup) |
void |
setMinSize(int w,
int h) |
void |
setMinSize(Size size) |
void |
setName(java.lang.String name) |
void |
setOpacity(float opacity) |
void |
setPopup(Widget popup) |
void |
setSize(int w,
int h)
Set size.
|
void |
setSize(Size size) |
void |
setStyle(java.lang.String style) |
void |
setTooltip(Widget tooltip) |
void |
setVisible(boolean visible) |
java.lang.String |
toString() |
void |
uiFireAction(UI ui,
InputEvent event)
Used internally
|
void |
update(UI ui,
long timePassedMS)
|