public class PageManager
Class PageManager. Provides pagemanager functionality for the Hytale server.
java.lang.Object > PageManager
Field Summary
windowManager
private
WindowManager
windowManager
Field windowManager.
playerRef
private
PlayerRef
playerRef
Field playerRef.
customPage
private
CustomUIPage
customPage
Field customPage.
commandBuilder
final
UICommandBuilder
commandBuilder
Field commandBuilder.
eventBuilder
final
UIEventBuilder
eventBuilder
Field eventBuilder.
windowPackets
final
List
windowPackets
Field windowPackets.
Method Detail
PageManager
public
public
PageManager
()
Method PageManager.
init
Method init.
- Parameters:
@Nonnull final PlayerRefplayerRef@Nonnull final WindowManagerwindowManager
clearCustomPageAcknowledgements
public
void
clearCustomPageAcknowledgements
()
Method clearCustomPageAcknowledgements.
setPage
Method setPage.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final Pagepage
SetPage
public
new
SetPage
(page, canCloseThroughInteraction)
Method SetPage.
- Parameters:
pagepagecanCloseThroughInteractioncanCloseThroughInteraction
openCustomPage
public
void
openCustomPage
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final CustomUIPage page)
Method openCustomPage.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final CustomUIPagepage
CustomPage
public
new
CustomPage
(page.getClass()
Method CustomPage.
- Parameters:
page.getClass(page.getClass(
setPageWithWindows
public
boolean
setPageWithWindows
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final Page page, final boolean canCloseThroughInteraction, @Nonnull final Window... windows)
Method setPageWithWindows.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final Pagepagefinal booleancanCloseThroughInteraction@Nonnull final Window...windows
openCustomPageWithWindows
public
boolean
openCustomPageWithWindows
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final CustomUIPage page, @Nonnull final Window... windows)
Method openCustomPageWithWindows.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final CustomUIPagepage@Nonnull final Window...windows
handleEvent
public
void
handleEvent
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final CustomPageEvent event)
Method handleEvent.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final CustomPageEventevent