be.yildizgames.common.util.Registerable, ContainerChild, Element, Widgetpublic final class TabContainer extends BaseContainerChild
Element.AlignmentMAX_OPACITY, virtualHeightemptyZones| Constructor | Description |
|---|---|
TabContainer(String name,
BaseCoordinate coordinates,
View[] containers,
SimpleButton[] tabSelectors,
Image background,
SimpleContainer container) |
Full container.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
delete() |
Delete the widget.
|
Container |
getContainer(int tab) |
|
protected void |
hideImpl() |
Implementation to set the widget invisible.
|
protected void |
highlightImpl(boolean highlightState) |
Implementation to set the widget highlight.
|
protected Element |
setPositionImpl(int newLeft,
int newTop) |
Implementation to update the widget position.
|
protected void |
setSizeImpl(int newWidth,
int newHeight) |
Implementation to set the widget size.
|
protected void |
showImpl() |
Implementation to set the widget visible.
|
addEmptyZoneImpl, detachFromParent, getParent, isContainer, setLeftFromParent, setLeftFromParent, setTopFromParent, setTopFromParent, setUnaffectedByZoom, updateSizeAfterZoomaddToLeft, addToPosition, addToTop, getBottom, getCoordinates, getHeight, getLeft, getOpacity, getRight, getTop, getWidth, hide, isVisible, multiplySize, resetVirtualHeight, setCoordinates, setHeight, setLeft, setLeft, setLeft, setLeft, setPosition, setPosition, setPosition, setSize, setSize, setTop, setTop, setTop, setTop, setVirtualHeight, setVisible, setWidth, show, updateAddPositionValueaddEmptyZone, addKeyboardListener, addMouseDoubleLeftClickListener, addMouseDragListener, addMouseLeftClickListener, addMouseMoveListener, addMouseReleaseListener, addMouseWheelListener, addOnMouseOverListener, addSpecialKeyListener, align, contains, contains, deleteKeyPressed, disableEmptyZone, enableEmptyZone, enterKeyPressed, findParent, focus, forceContainsFalse, getAbsoluteLeft, getAbsolutePosition, getAbsoluteTop, highlight, isFocusable, isMouseOver, keyPressed, mouseLeftClick, playAnimation, registerAnimation, removeAllClickListeners, setFocusable, setHighlightable, setMouseClickActive, setMouseOver, setStatic, stopAnimation, toStringupdateAddPositionValueaddToLeft, addToPosition, addToTop, getBottom, getCoordinates, getHeight, getLeft, getRight, getTop, getWidth, hide, isVisible, resetVirtualHeight, setCoordinates, setHeight, setLeft, setLeft, setLeft, setLeft, setPosition, setPosition, setPosition, setSize, setSize, setTop, setTop, setTop, setTop, setVirtualHeight, setVisible, setWidth, showclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddEmptyZone, addKeyboardListener, addMouseDoubleLeftClickListener, addMouseDragListener, addMouseLeftClickListener, addMouseMoveListener, addMouseReleaseListener, addMouseWheelListener, addOnMouseOverListener, addSpecialKeyListener, align, contains, contains, focus, getAbsoluteLeft, getAbsoluteTop, highlight, isFocusable, playAnimation, registerAnimation, removeAllClickListeners, stopAnimationpublic TabContainer(String name, BaseCoordinate coordinates, View[] containers, SimpleButton[] tabSelectors, Image background, SimpleContainer container)
name - Tab container name, must be unique.coordinates - Tab container size and position.tabSelectors - List of buttons used as tabs.container - Container holding this tab container.public void delete()
BaseElementdelete in class BaseElementprotected void highlightImpl(boolean highlightState)
BaseWidgethighlightImpl in class BaseWidgethighlightState - Highlight state.protected void showImpl()
BaseElementshowImpl in class BaseElementprotected void hideImpl()
BaseElementhideImpl in class BaseElementprotected void setSizeImpl(int newWidth,
int newHeight)
BaseElementsetSizeImpl in class BaseElementnewWidth - New width.newHeight - New height.protected Element setPositionImpl(int newLeft, int newTop)
BaseElementsetPositionImpl in class BaseElementnewLeft - New widget x position.newTop - New widget y position.public Container getContainer(int tab)
Copyright © 2014–2018. All rights reserved.