Package com.xpdustry.distributor.api.gui
Interface Window
- All Known Implementing Classes:
AbstractTransformerWindowManager.SimpleWindow
public interface Window
Represents a window. A container for the pane and state of a GUI.
-
Method Summary
Modifier and TypeMethodDescription@Nullable WindowReturns the parent window of this window.getState()Returns the state of this window.mindustry.gen.PlayerReturns the viewer of this window.voidhide()Hides this window.booleanisActive()Returns whether this window is active.voidshow()Shows this window.
-
Method Details
-
getViewer
mindustry.gen.Player getViewer()Returns the viewer of this window. -
getState
MutableKeyContainer getState()Returns the state of this window. -
getParent
@Nullable Window getParent()Returns the parent window of this window. -
isActive
boolean isActive()Returns whether this window is active. -
show
void show()Shows this window. -
hide
void hide()Hides this window.
-