rlgamekit.menu.ThreePanelDialog
Interface ThreePanelDialogCallback


public interface ThreePanelDialogCallback

Callback interface to implement multi-step interactions through a ThreePanelDialog

See Also:
ThreePanelDialogDemo

Method Summary
 boolean onKeyPressed(int code, int chr, ThreePanelDialogPanel panel)
          Called if a key was pressed in the dialog.
 

Method Detail

onKeyPressed

boolean onKeyPressed(int code,
                     int chr,
                     ThreePanelDialogPanel panel)
Called if a key was pressed in the dialog.

Parameters:
code - The key code.
chr - The key character if it was a printable key.
Returns:
false if the dialog should close, true if the dialog should stay open.