Package com.prineside.tdi2.ui.components
Class Window
java.lang.Object
com.prineside.tdi2.ui.components.Window
- All Implemented Interfaces:
Disposable
- Direct Known Subclasses:
ListenerGroupViewer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionWindow(String name, UiManager.MainUiLayer mainUiLayer) Will be automatically brought to front in current MainUiLayer when shown -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoiddispose()Releases all resources of this object.getBox()getTitle()voidhide()booleanbooleanvoidsetAnimated(boolean animated) voidsetListener(Window.WindowListener listener) voidsetTitle(CharSequence str) voidshow(float x, float y, int align)
-
Field Details
-
uiLayer
-
window
-
headerLayout
-
title
-
main
-
-
Constructor Details
-
Window
Will be automatically brought to front in current MainUiLayer when shown
-
-
Method Details
-
bringToFront
public void bringToFront() -
getBox
-
setListener
-
getListener
-
setTitle
-
getTitle
-
setAnimated
public void setAnimated(boolean animated) -
isAnimated
public boolean isAnimated() -
show
public void show(float x, float y, int align) -
hide
public void hide() -
isVisible
public boolean isVisible() -
clampWindowPosition
public void clampWindowPosition() -
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.DisposableReleases all resources of this object.- Specified by:
disposein interfaceDisposable
-