CustomUIPage

abstract class CustomUIPage

Class CustomUIPage. Provides customuipage functionality for the Hytale server.

java.lang.Object > CustomUIPage

Field Summary

lifetime

protected CustomPageLifetime lifetime

Field lifetime.

ref

final Ref ref

Field ref.

store

final Store store

Field store.

playerComponent

final Player playerComponent

Field playerComponent.

commandBuilder

final UICommandBuilder commandBuilder

Field commandBuilder.

eventBuilder

final UIEventBuilder eventBuilder

Field eventBuilder.

Method Detail

CustomUIPage

public public CustomUIPage (@Nonnull final PlayerRef playerRef, @Nonnull final CustomPageLifetime lifetime)

Method CustomUIPage.

Parameters:
@Nonnull final PlayerRef playerRef
@Nonnull final CustomPageLifetime lifetime

setLifetime

public void setLifetime (@Nonnull final CustomPageLifetime lifetime)

Method setLifetime.

Parameters:
@Nonnull final CustomPageLifetime lifetime

getLifetime

public CustomPageLifetime getLifetime ()

Method getLifetime.

handleDataEvent

public void handleDataEvent (@Nonnull final Ref ref, @Nonnull final Store store, final String rawData)

Method handleDataEvent.

Parameters:
@Nonnull final Ref ref
@Nonnull final Store store
final String rawData

UnsupportedOperationException

public new UnsupportedOperationException ("CustomUIPage doesn't support events! " + String.valueOf(this)

Method UnsupportedOperationException.

Parameters:
"CustomUIPage doesn't support events! " + String.valueOf(this

rebuild

protected void rebuild ()

Method rebuild.

CustomPage

public new CustomPage (this.getClass()

Method CustomPage.

Parameters:
this.getClass( this.getClass(

sendUpdate

protected void sendUpdate ()

Method sendUpdate.

close

protected void close ()

Method close.

onDismiss

public void onDismiss (@Nonnull final Ref ref, @Nonnull final Store store)

Method onDismiss.

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