PageManager

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

public void init (@Nonnull final PlayerRef playerRef, @Nonnull final WindowManager windowManager)

Method init.

Parameters:
@Nonnull final PlayerRef playerRef
@Nonnull final WindowManager windowManager

clearCustomPageAcknowledgements

public void clearCustomPageAcknowledgements ()

Method clearCustomPageAcknowledgements.

getCustomPage

public CustomUIPage getCustomPage ()

Method getCustomPage.

setPage

public void setPage (@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final Page page)

Method setPage.

Parameters:
@Nonnull final Ref ref
@Nonnull final Store store
@Nonnull final Page page

SetPage

public new SetPage (page, canCloseThroughInteraction)

Method SetPage.

Parameters:
page page
canCloseThroughInteraction canCloseThroughInteraction

openCustomPage

public void openCustomPage (@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final CustomUIPage page)

Method openCustomPage.

Parameters:
@Nonnull final Ref ref
@Nonnull final Store store
@Nonnull final CustomUIPage page

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 Ref ref
@Nonnull final Store store
@Nonnull final Page page
final boolean canCloseThroughInteraction
@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 Ref ref
@Nonnull final Store store
@Nonnull final CustomUIPage page
@Nonnull final Window... windows

updateCustomPage

public void updateCustomPage (@Nonnull final CustomPage page)

Method updateCustomPage.

Parameters:
@Nonnull final CustomPage page

handleEvent

public void handleEvent (@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final CustomPageEvent event)

Method handleEvent.

Parameters:
@Nonnull final Ref ref
@Nonnull final Store store
@Nonnull final CustomPageEvent event