Interface Container
-
- All Known Implementing Classes:
SimpleContainer
public interface Container extends Widget
- Author:
- Grégory Van den Borre
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface be.yildizgames.module.graphic.gui.internal.Element
Element.Alignment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddWidget(ContainerChild child)voiddisableEmptyZone()voiddisableHighlight()voidenableEmptyZone()be.yildizgames.common.geometry.Point2DgetAbsolutePosition()WidgetgetNextFocusableElement()Optional<Widget>getWidgetAt(int x, int y)Optional<Widget>getWidgetAt(be.yildizgames.module.window.input.MousePosition position)ZordergetZ()voidhideContent()voidignore(ContainerChild child)voidkeyPressed(char key)voidremove(ContainerChild child)voidsetCurrentFocus(Widget focus)voidsetMaterial(Material background)voidsetZ(Zorder z)voidshowContent()-
Methods inherited from interface be.yildizgames.module.graphic.gui.internal.Element
addToLeft, addToPosition, addToTop, getBottom, getCoordinates, getHeight, getLeft, getRight, getTop, getWidth, hide, isVisible, resetVirtualHeight, setCoordinates, setHeight, setLeft, setLeft, setLeft, setLeft, setPosition, setPosition, setSize, setSize, setTop, setTop, setTop, setTop, setVirtualHeight, setVisible, setWidth, show
-
Methods inherited from interface be.yildizgames.module.graphic.gui.Widget
addEmptyZone, addKeyboardListener, addMouseDoubleLeftClickListener, addMouseDragListener, addMouseLeftClickListener, addMouseMoveListener, addMouseReleaseListener, addMouseRightClickListener, addMouseWheelListener, addOnMouseOverListener, align, contains, contains, focus, getAbsoluteLeft, getAbsoluteTop, highlight, isFocusable, playAnimation, registerAnimation, removeAllClickListeners, stopAnimation
-
-
-
-
Method Detail
-
addWidget
void addWidget(ContainerChild child)
-
remove
void remove(ContainerChild child)
-
setZ
void setZ(Zorder z)
-
setCurrentFocus
void setCurrentFocus(Widget focus)
-
getNextFocusableElement
Widget getNextFocusableElement()
-
showContent
void showContent()
-
setMaterial
void setMaterial(Material background)
-
disableHighlight
void disableHighlight()
-
hideContent
void hideContent()
-
getWidgetAt
Optional<Widget> getWidgetAt(be.yildizgames.module.window.input.MousePosition position)
-
getZ
Zorder getZ()
-
ignore
void ignore(ContainerChild child)
-
getAbsolutePosition
be.yildizgames.common.geometry.Point2D getAbsolutePosition()
-
keyPressed
void keyPressed(char key)
-
disableEmptyZone
void disableEmptyZone()
-
enableEmptyZone
void enableEmptyZone()
-
-