public abstract class CanvasSoftkeys extends CanvasThreading
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
back_softkey_string
The strings set to be displayed for the two softkeys (null means no softkey is to be displayed)
|
static java.lang.String |
fwrd_softkey_string
The strings set to be displayed for the two softkeys (null means no softkey is to be displayed)
|
static boolean |
NEED_TO_RENDER_SOFTKEYS |
static java.lang.String |
softkey_add_back
Set values on these to have substrings appended/prepended to your softkey labels (eg "(*) Back" - "Select (#)")
|
static java.lang.String |
softkey_add_fwrd
Set values on these to have substrings appended/prepended to your softkey labels (eg "(*) Back" - "Select (#)")
|
app_state, APPSTATEFLAG_LOADING, last_fixed_update_time_ms, last_variable_update_time_ms, main_thread, MS_PER_UPDATE, previous_app_state
internal_key_mappings
CURRENT_SCREEN_HEIGHT, CURRENT_SCREEN_PPI, CURRENT_SCREEN_WIDTH, UPDATE_SCREEN_DIMENSIONS
Constructor and Description |
---|
CanvasSoftkeys() |
Modifier and Type | Method and Description |
---|---|
void |
setSoftkeys(java.lang.String new_back_string,
java.lang.String new_fwrd_string)
Sets the string to display for the two softkeys (or null for either that isn't used any more)
|
run, runOnce, startLoading, startMainThread, stopMainThread
findKeyBitflag, initKeysAndTouch, keyAction, keyPressed, keyReleased, pointerAction, pointerPressed, pointerReleased
initInterrupts
updateScreenDimensions
paint, render, sizeChanged, syncPaint
flushGraphics, flushGraphics, getKeyStates
getGameAction, getHeight, getKeyCode, getKeyName, getWidth, hasPointerEvents, hasPointerMotionEvents, hasRepeatEvents, isDoubleBuffered, repaint, repaint, serviceRepaints, setFullScreenMode
public static final boolean NEED_TO_RENDER_SOFTKEYS
public static java.lang.String back_softkey_string
public static java.lang.String fwrd_softkey_string
public static java.lang.String softkey_add_back
public static java.lang.String softkey_add_fwrd