Interface ContainerChild
-
- All Known Subinterfaces:
Button,ButtonList,CheckBox,Image,InputBox,ProgressBar,ProgressBarTimer,TextLine,TimeTextLine
- All Known Implementing Classes:
BaseContainerChild,TabContainer
public interface ContainerChild extends Widget
-
-
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 voiddetachFromParent()Remove this widget from its parent.ContainergetParent()ContainerChildsetLeftFromParent(PositionRelativeLeft p)Set the left position relative to the parent position.ContainerChildsetLeftFromParent(PositionRelativeLeft relative, int diff)Set the left position relative to the parent position with a difference.ContainerChildsetTopFromParent(PositionRelativeTop relative)Set the top position relative to the parent position.ContainerChildsetTopFromParent(PositionRelativeTop relative, int diff)Set the top position relative to the parent position with a difference.voidupdateAddPositionValue(int left, int top)voidupdateSizeAfterZoom(float zoomFactor)-
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
-
detachFromParent
void detachFromParent()
Remove this widget from its parent.
-
setLeftFromParent
ContainerChild setLeftFromParent(PositionRelativeLeft p)
Set the left position relative to the parent position.- Parameters:
p- Position to set.- Returns:
- This element for chaining methods.
-
setLeftFromParent
ContainerChild setLeftFromParent(PositionRelativeLeft relative, int diff)
Set the left position relative to the parent position with a difference.- Parameters:
relative- Position to set.diff- Difference to set.- Returns:
- This element for chaining methods.
-
setTopFromParent
ContainerChild setTopFromParent(PositionRelativeTop relative)
Set the top position relative to the parent position.- Parameters:
relative- Position to set.- Returns:
- This element for chaining methods.
-
setTopFromParent
ContainerChild setTopFromParent(PositionRelativeTop relative, int diff)
Set the top position relative to the parent position with a difference.- Parameters:
relative- Position to set.diff- Difference to set.- Returns:
- This element for chaining methods.
-
getParent
Container getParent()
-
updateAddPositionValue
void updateAddPositionValue(int left, int top)
-
updateSizeAfterZoom
void updateSizeAfterZoom(float zoomFactor)
-
-