public class WindowManager
Class WindowManager. Provides windowmanager functionality for the Hytale server.
java.lang.Object > WindowManager
Field Summary
playerRef
private
PlayerRef
playerRef
Field playerRef.
id
final
int
id
Field id.
oldWindow
final
Window
oldWindow
Field oldWindow.
packets
final
ObjectList
packets
Field packets.
packet
final
OpenWindow
packet
Field packet.
itemContainer
final
ItemContainer
itemContainer
Field itemContainer.
window
final
Window
window
Field window.
iterator
final
Iterator
iterator
Field iterator.
Method Detail
WindowManager
public
public
WindowManager
()
Method WindowManager.
IllegalArgumentException
public
new
IllegalArgumentException
("Client opened window must be registered in Window.CLIENT_REQUESTABLE_WINDOW_TYPES but got: " + String.valueOf(window.getType()
Method IllegalArgumentException.
- Parameters:
"Client opened window must be registered in Window.CLIENT_REQUESTABLE_WINDOW_TYPES but got: " +String.valueOf(window.getType(
UpdateWindow
public
new
UpdateWindow
(0, window.getData()
Method UpdateWindow.
- Parameters:
00window.getData(window.getData(
OpenWindow
public
new
OpenWindow
(id, window.getType()
Method OpenWindow.
- Parameters:
ididwindow.getType(window.getType(
openWindows
public
List
openWindows
(@Nonnull final Window... windows)
Method openWindows.
- Parameters:
@Nonnull final Window...windows
getWindows
public
List
getWindows
()
Method getWindows.
CloseWindow
public
new
CloseWindow
(id)
Method CloseWindow.
- Parameters:
idid
closeAllWindows
public
void
closeAllWindows
()
Method closeAllWindows.
markWindowChanged
public
void
markWindowChanged
(final int id)
Method markWindowChanged.
- Parameters:
final intid
updateWindows
public
void
updateWindows
()
Method updateWindows.
validateWindows
public
void
validateWindows
()
Method validateWindows.
closeAndRemoveAll
static
void
closeAndRemoveAll
(@Nonnull final Map windows)
Method closeAndRemoveAll.
- Parameters:
@Nonnull final Mapwindows
toString
public
String
toString
()
Method toString.