com.zasysdev.zamae
Class za_UI_api

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Canvas
          extended by javax.microedition.lcdui.game.GameCanvas
              extended by com.zasysdev.zamae.za_UI_api
All Implemented Interfaces:
ObjectMessenger_callbacks, StringFilter_callbacks

public abstract class za_UI_api
extends javax.microedition.lcdui.game.GameCanvas
implements ObjectMessenger_callbacks, StringFilter_callbacks


Nested Class Summary
protected  class za_UI_api.VFXTTask
           
 
Field Summary
protected  int actualForm
           
protected  int actualFormID
           
protected  int actualFormIDSafety
           
protected  int actualPage
           
protected  int backForm
           
protected  boolean bActualFormOnHideVisualFXExecuting
           
protected  boolean bActualFormOnShowVisualFXExecuting
           
protected  boolean bAfterTextBoxOKRun
           
protected  boolean bAnimationQueueInProgress
           
protected  boolean bAskNotToRepaint
           
protected  boolean bDoAllFetchActionsOnXML
           
protected  boolean bDoingVisualFX
           
protected  boolean bErrorRaisedToUI
           
protected  boolean bErrorRaisedToUIAtLeastOnce
           
protected  boolean bErrorRaisedToUIJustDismissed
           
protected  boolean bFetchingElement
           
protected  boolean bFetchingElementXML
           
 boolean bFinishedInitialisation
           
protected  boolean bFocusChanged
           
protected  boolean bFocusOnTemplate
           
protected  boolean bFormIsAllDrawn
           
protected  boolean bImageFetched
           
protected  boolean bInFetcher
           
protected  boolean bInFetcherLoop
           
protected  boolean bInFullScreenMode
           
protected  boolean bInSetNavigationDefinition
           
protected  boolean bJustFetchedNewFormOrChangedOrientation
           
 boolean bKeepRunning
           
protected  boolean bPerformingOperation
           
protected  boolean bPerformingVideoFetch
           
protected  boolean bPossibleHTTPPending
           
protected  boolean bPreventRemoteImagesFromBeingDeleted
           
protected  boolean bReloadingImages
           
protected  boolean bShowingTextBox
           
 boolean bThreadEngineIsRunning
           
protected  int defaultLanguage
           
protected  HeclTask evaltask
           
protected  javax.microedition.lcdui.Graphics g
           
 int iActualConnectionStage
           
protected  int iActualFormHeight
           
protected  int iActualFormWidth
           
protected  int iActualFormWidthWithScrollbar
           
protected  int iActualFormXCoord
           
protected  int iActualFormYCoord
           
protected  int iActualViewportXCoord
           
protected  int iActualViewportYCoord
           
protected  int iElementHeight
           
protected  int iElementWidth
           
protected  int iElementXStart
           
protected  int iElementYStart
           
protected  int iFetchedElementDefinitionIndex
           
protected  int iFocusedItemID
           
protected  int iFormIDToGoTo
           
protected  int iFormToGoTo
           
protected  int iImgXCoordOffsetForLeftAnchorEnsure
           
protected  int iItemIdToFocusOn
           
protected  int iKeyAction
           
protected  int iLastElementInQueue
           
protected  int iLastElementToFetchIdx
           
protected  int iLBSTimeout
           
protected  int iMotion
           
protected  Interp interp
           
protected  int iPossibleElementNotFoundID
           
protected  int iPossibleElementNotFoundType
           
protected  int iPreviousFocusedItemID
           
protected  int iScreenHeight
           
protected  int iScreenWidth
           
protected  int iScrollFullStringLen
           
protected  int iScrollStringLen
           
protected  int iScrollStringStartOffset
           
protected  int iStartOfAttributesForActualElementInForm
           
protected  int[] ivectElementsToFetch
           
protected  int[] ivectTasksToDoInQueue
           
static java.lang.String K_ZA_UI_ALARMTIME
           
static int K_ZA_UI_ALARMTIME_INT
           
 int K_ZA_UI_ATTR_FORMS_CACHE_LIMIT
           
static int K_ZA_UI_ATTR_TASK_BUTTON_OFFFOCUS
           
static int K_ZA_UI_ATTR_TASK_BUTTON_ONFOCUS
           
static int K_ZA_UI_ATTR_TASK_FETCHER
           
static int K_ZA_UI_ATTR_TASK_FETCHER_INNER_ELEMS
           
static int K_ZA_UI_ATTR_TASK_FORM_OFFFOCUS
           
static int K_ZA_UI_ATTR_TASK_FORM_ONFOCUS
           
static int K_ZA_UI_ATTR_TASK_FORM_REPAINT
           
static int K_ZA_UI_ATTR_TASK_FORM_SETNEWFORM
           
static int K_ZA_UI_ATTR_TASK_FORM_STOPSTARTTIMERS
           
static int K_ZA_UI_ATTR_TASK_LOCATION_GET
           
static int K_ZA_UI_ATTR_TASK_SCROLL_OFF
           
static int K_ZA_UI_ATTR_TASK_SCROLL_ON
           
static int K_ZA_UI_ATTR_TASK_TEMPLATE_OFFFOCUS
           
static int K_ZA_UI_ATTR_TASK_VIDEO_FETCH
           
static int K_ZA_UI_ATTR_TASK_VIDEO_PLAY
           
static int K_ZA_UI_ATTR_THREAD_DEAD
           
static int K_ZA_UI_ATTR_THREAD_LIMIT
           
static int K_ZA_UI_ATTR_THREAD_NULL
           
static int K_ZA_UI_ATTR_THREAD_PAUSED
           
static int K_ZA_UI_ATTR_THREAD_RUNNING
           
static java.lang.String K_ZA_UI_ATTR_VISUALFX_FADEIN
           
static int K_ZA_UI_ATTR_VISUALFX_FADEIN_INT
           
static java.lang.String K_ZA_UI_ATTR_VISUALFX_FADEOUT
           
static int K_ZA_UI_ATTR_VISUALFX_FADEOUT_INT
           
static java.lang.String K_ZA_UI_ATTR_VISUALFX_MOVESMOOTH
           
static int K_ZA_UI_ATTR_VISUALFX_MOVESMOOTH_INT
           
static java.lang.String K_ZA_UI_ATTR_VISUALFX_NONE
           
static int K_ZA_UI_ATTR_VISUALFX_NONE_INT
           
static int K_ZA_UI_ATTR_VISUALFX_OFFFOCUS
           
static int K_ZA_UI_ATTR_VISUALFX_ONFOCUS
           
static int K_ZA_UI_BORDER_THICKNESS_MARGIN_DEFAULT
           
static int K_ZA_UI_BOTTOM_MARGIN_DEFAULT
           
static int K_ZA_UI_BRIGHTNESS_OFFSET_DEFAULT
           
static java.lang.String K_ZA_UI_DEFAULTFORM
           
static int K_ZA_UI_DEFAULTFORM_INT
           
static int K_ZA_UI_KEY_GAME_DOWN
           
static int K_ZA_UI_KEY_GAME_FIRE
           
static int K_ZA_UI_KEY_GAME_LEFT
           
static int K_ZA_UI_KEY_GAME_RIGHT
           
static int K_ZA_UI_KEY_GAME_UP
           
static int K_ZA_UI_KEY_SOFTKEY_LEFT
           
static int K_ZA_UI_KEY_SOFTKEY_RIGHT
           
static int K_ZA_UI_LEFT_MARGIN_DEFAULT
           
static int K_ZA_UI_MAX_AVOID_DELETE_QTY
           
 int K_ZA_UI_MAX_BUTTON_PER_FORM_QTY
           
 int K_ZA_UI_MAX_BUTTON_PER_TPL_QTY
           
 int K_ZA_UI_MAX_COLORDEFS_QTY
           
static int K_ZA_UI_MAX_ELEMENTS_TO_FETCH_AT_ONCE_QTY
           
 int K_ZA_UI_MAX_FONT_QTY
           
 int K_ZA_UI_MAX_FORM_QTY
           
 int K_ZA_UI_MAX_IMAGEARRAY_QTY
           
 int K_ZA_UI_MAX_IMG_PER_IMAGEARRAY_QTY
           
 int K_ZA_UI_MAX_MESSAGES_PER_INBOX_QTY
           
 int K_ZA_UI_MAX_SCROLLBARDEFS_QTY
           
 int K_ZA_UI_MAX_SOFTKEYMAPPER_DEFS_QTY
           
 int K_ZA_UI_MAX_TEMPLATE_QTY
           
 int K_ZA_UI_MAX_TIMER_QTY
           
static int K_ZA_UI_MAX_USERMESSAGEDEFS_QTY
           
static int K_ZA_UI_MOTION_DOWN
           
static int K_ZA_UI_MOTION_FIRE
           
static int K_ZA_UI_MOTION_LEFT
           
static int K_ZA_UI_MOTION_NONE
           
static int K_ZA_UI_MOTION_RIGHT
           
static int K_ZA_UI_MOTION_UP
           
static int K_ZA_UI_RIGHT_MARGIN_CORRECTOR
           
static int K_ZA_UI_RIGHT_MARGIN_DEFAULT
           
 int K_ZA_UI_SCROLL_OFFSET
           
static java.lang.String K_ZA_UI_SERVERMESSAGE
           
static int K_ZA_UI_SERVERMESSAGE_INT
           
static int K_ZA_UI_SPACE_BETWEEN_ITEMS_VERT_LAYOUT_DEFAULT
           
static int K_ZA_UI_TOP_MARGIN_DEFAULT
           
static int K_ZA_UI_VIEWPORT_UID_DIV_INT
           
static java.lang.String K_ZA_UI_VIEWPORT_UID_PREFIX
           
static int K_ZA_UI_VIEWPORT_UID_PREFIX_INT
           
static java.lang.String K_ZA_UI_ZAJAGURL
           
static int K_ZA_UI_ZAJAGURL_INT
           
protected  javax.microedition.midlet.MIDlet midlet
           
protected  java.lang.String onerrorAction
           
protected  java.lang.String onerrorParam
           
 javax.microedition.lcdui.Display pantalla
           
protected  int previousForm
           
protected  int previousFormID
           
protected  int previousPage
           
protected  AppString proshAppStrings
           
protected  ProsciuttoButton proshButton
           
protected  ProsciuttoColorDef proshColorDef
           
protected  ProsciuttoFont proshFont
           
protected  ProsciuttoForm proshForm
           
protected  ProsciuttoImageArray proshImageArray
           
protected  ObjectMessenger proshMsg
           
protected  ProsciuttoPaintAny proshPainterAny
           
protected  ProsciuttoScrollbar proshScrollbar
           
protected  ProsciuttoSoftkeyMapper proshSoftkey
           
protected  ProsciuttoTemplate proshTemplate
           
protected  TemporalView proshTempView
           
protected  ProsciuttoTimer proshTimer
           
protected  ProsciuttoUserMessage proshUserMsg
           
protected  java.lang.StringBuffer strCookie
           
protected  java.lang.String strDefaultLanguage
           
protected  java.lang.String strDefaultZajagURL
           
protected  java.lang.String strFocusedText
           
protected  java.lang.String strInternalUserMessage_9ToExit
           
protected  java.lang.String strInternalUserMessage_ClickSeeMore
           
protected  java.lang.String strInternalUserMessage_CommError
           
protected  java.lang.String strInternalUserMessage_Compressing
           
protected  java.lang.String strInternalUserMessage_Connecting
           
protected  java.lang.String strInternalUserMessage_Decompressing
           
protected  java.lang.String strInternalUserMessage_Decrypting
           
protected  java.lang.String strInternalUserMessage_Disconnected
           
protected  java.lang.String strInternalUserMessage_Downloading
           
protected  java.lang.String strInternalUserMessage_ElemCorrupt
           
protected  java.lang.String strInternalUserMessage_ElemNotFound
           
protected  java.lang.String strInternalUserMessage_ElemUnknown
           
protected  java.lang.String strInternalUserMessage_EmptyElement
           
protected  java.lang.String strInternalUserMessage_Encrypting
           
protected  java.lang.String strInternalUserMessage_ErrImage
           
protected  java.lang.String strInternalUserMessage_Error
           
protected  java.lang.String strInternalUserMessage_Exception
           
protected  java.lang.String strInternalUserMessage_Finished
           
protected  java.lang.String strInternalUserMessage_Initializing
           
protected  java.lang.String strInternalUserMessage_Loading
           
protected  java.lang.String strInternalUserMessage_NotEnoughSpace
           
protected  java.lang.String strInternalUserMessage_PressFire
           
protected  java.lang.String strInternalUserMessage_ReadingGPS
           
protected  java.lang.String strScreenHeight
           
protected  java.lang.String strScreenWidth
           
protected  java.lang.StringBuffer strSession
           
protected  java.util.Timer timerScroll
           
protected  java.util.Timer timerVFX
           
protected  za_UI_api.VFXTTask ttaskUIApiVFX
           
protected  TextBox_e txtBox
           
 java.util.Vector vectTableOneRow
           
 java.util.Vector vectTableRows
           
static java.lang.String ZAJAG_ALLFETCHER
           
 
Fields inherited from class javax.microedition.lcdui.game.GameCanvas
DOWN_PRESSED, FIRE_PRESSED, GAME_A_PRESSED, GAME_B_PRESSED, GAME_C_PRESSED, GAME_D_PRESSED, LEFT_PRESSED, RIGHT_PRESSED, UP_PRESSED
 
Fields inherited from class javax.microedition.lcdui.Canvas
DOWN, FIRE, GAME_A, GAME_B, GAME_C, GAME_D, KEY_NUM0, KEY_NUM1, KEY_NUM2, KEY_NUM3, KEY_NUM4, KEY_NUM5, KEY_NUM6, KEY_NUM7, KEY_NUM8, KEY_NUM9, KEY_POUND, KEY_STAR, LEFT, RIGHT, UP
 
Constructor Summary
za_UI_api()
           
 
Method Summary
 void deleteUIElementDefinition(int a_iElementType, int a_iElementUID, boolean bForce)
           
 void exitZAMAE()
           
 java.lang.String filterString(java.lang.String a_strOriginalString, java.lang.String a_strFilterTag)
          interface to AppString's StringFilter implementation
 void gotoForm(int iFormID)
           
 void gotoFormFocusOnItem(int iForm, int iItemIDToFocus)
           
 void heclRunScript(java.lang.String s)
           
 void heclRunScriptOLD(java.lang.String s)
          The runScript method exists so that external applications (emulators, primarily) can call into Hecl and run scripts.
protected  void hideNotify()
           
 void initForm()
           
protected  void keyPressed(int keyCode)
           
protected  void keyRepeated(int keyCode)
           
 void paint(javax.microedition.lcdui.Graphics graph)
           
 void receiveMessage(int iDst_ElementType, int iDst_ElementUID, java.lang.String strMsg)
          interface to ObjectMessenger implementation
 void reinitialiseArray(int[] arrToReinit)
           
 void reinitialiseArrays(int[][] arrToReinit, boolean bForcedReinit)
           
protected  void reinitialiseForm(int[] arrFormToReinit)
           
 void reinitialiseForm(java.lang.String a_strFormID)
           
 void reinitialiseForms(int[][] arrFormsToReinit)
           
 int resetAppSafe()
           
abstract  boolean runActionExecute(int ifocusedElementID, int keyPressed, int[] ivectFormElementsDefinition, int iElementIndex, boolean bIsTimer)
           
 void setForm(int iForm)
           
 void setLanguage(int iLanguage)
           
abstract  void setNavigationDefinition(boolean bDBFlagFound, boolean bPostInit)
           
 void setNotificationListener(javax.microedition.midlet.MIDlet a_omidlet)
           
 void setOrientation(int a_iOrientation)
           
 void setPreventRemoteImagesFromBeingDeletedFlag(boolean a_bFlag)
           
 void setXMLModelFilename(java.lang.String a_strModelFilename)
           
 void setZAJAGUrl(java.lang.String a_strUrl, boolean a_bInit)
           
 void setZAMAEDescriptor(java.lang.String strAppVersionDescriptor)
           
 void setZAMAEDeviceContext(java.lang.String strDeviceContext)
           
 void setZAUIAPIFullScreenMode(boolean a_bYes)
           
protected  void showNotify()
           
protected  void sizeChanged(int w, int h)
           
 void startUI(javax.microedition.lcdui.Display disp)
           
protected  boolean supportsFileConnectionAPI()
           
 void switchOrientation()
           
 void ZA_UI_Api_Action_RethinkHeights(int a_iFormIndex)
           
 void ZA_UI_Api_Action_SetFocusOnThisElementID(int a_iElementIDToSetFocusOn)
           
protected  boolean ZA_UI_Api_ActionHandler(int[] ivectFormElementsDefinition, int iStartOfElementDefinitionIdx, int iActionIdx, int iActionParamIdx, int iKeyAction, int iElementType)
           
 void za_UI_api_alloc_safe()
           
 boolean ZA_UI_Api_Fetcher_CheckIfElementIsInFetchervector(int iElementType, int iElementID)
           
 int ZA_UI_Api_Fetcher_EnsureAllElementsAreFetched(int a_iFormIndex, boolean a_bFetchFromDB)
           
 int ZA_UI_Api_Fetcher_FetchElementsInFetcherVector()
           
 int ZA_UI_Api_Fetcher_GetAllElementsPointedByFormVector(int iFormIndex, boolean a_bFetchFromDB)
           
 int ZA_UI_Api_Fetcher_GetElementDefinition(int iElementType, int iElementIDToFetch, int iactualForm, int iElementAsking)
           
 int ZA_UI_Api_Fetcher_GetFormNewElementDefinition(int iElementType, int iElementID)
           
 int ZA_UI_Api_Fetcher_GetIndexOfFetchedElement(int iElementType)
           
 int ZA_UI_Api_Fetcher_ParseDefinition(java.lang.String a_strElementDefString, int a_iElementTypeOriginallyFetched)
           
 int ZA_UI_Api_Fetcher_ParseDefinitionOnXML(java.lang.String a_strElementDefString, int a_iElementTypeOriginallyFetched)
           
 int ZA_UI_Api_Fetcher_ParseValidateData(java.lang.String a_strElementDefString, int a_iElementTypeOriginallyFetched)
           
 int ZA_UI_Api_Fetcher_PushElementInFetcherVectorIfNotAlreadyInVector(int[] ivectIterator, int[][] ivectElementDefinition, int ivectMaxIdx, int iElementType, int iAttrIndexInFormDef)
           
 void ZA_UI_Api_GenericAction_ChangeButtonTextAndStateAndShowItsForm(int iElementID, java.lang.String a_strTextToSet, java.lang.String a_strHiddenParamToSet)
           
 void ZA_UI_Api_GenericAction_ForceRepaint()
           
 Thing ZA_UI_Api_GenericAction_GetAttribute(int iElementID, int iElementType, int iAttrIndex)
           
 Thing ZA_UI_Api_GenericAction_GetGPSCoordinates()
           
 void ZA_UI_Api_GenericAction_Goback_Once()
           
 void ZA_UI_Api_GenericAction_Goback(int a_iStackToGoBack)
           
 void ZA_UI_Api_GenericAction_Goto_Absolute(int iFormID)
           
 void ZA_UI_Api_GenericAction_Goto(int iFormID)
           
 void ZA_UI_Api_GenericAction_GotoAndShowInDropdownMode(int iFormID, int iOriginatingElemID, int iOriginatingElemType)
           
 void ZA_UI_Api_GenericAction_LBS_GetLocation_Blocker()
           
 void ZA_UI_Api_GenericAction_LBS_GetLocation_Thread()
           
 void ZA_UI_Api_GenericAction_LBS_GetLocation()
           
 void ZA_UI_Api_GenericAction_MMAPI_Play(java.lang.String a_strResourceAndMimeTypeString)
           
 void ZA_UI_Api_GenericAction_MMAPI_Stop()
           
 void ZA_UI_Api_GenericAction_OpenURL(java.lang.String a_strURL)
           
 void ZA_UI_Api_GenericAction_SetAttribute(int iElementID, int iElementType, int iAttrIndex, java.lang.String a_strAttrValueToSet)
           
 void ZA_UI_Api_GenericAction_SetCookie(java.lang.String a_strCookie)
           
 void ZA_UI_Api_GenericAction_SetDefaultForm(int a_iFormID)
           
 void ZA_UI_Api_GenericAction_SetOrientationAndRepaint(int a_iOrientation)
           
 void ZA_UI_Api_GenericAction_SwitchOrientationAndRepaint()
           
 void za_UI_api_Initialize(int a_iMaxForms, int a_iMaxButtonsPerForm, int a_iMaxTemplates, int a_iMaxButtonsPerTpl, int a_iMaxTimers, int a_iMaxFonts, int a_iMaxImageArrays, int a_iMaxImagesPerImgArray, int a_iMaxMessagesPerMsgInbox, int a_iMaxColorDefs)
           
protected  void ZA_UI_Api_Key_Button_Handler(int[] ivectFormElementsDefinition, int iStartOfButtonDefinitionIdx)
           
 void ZA_UI_Api_Paint_Button_Background_Image_Refresher()
           
protected  int ZA_UI_Api_Paint_FindBestStringLengthForContextWidth(java.lang.String a_strStringToDraw, int a_iStartOffset, int iContextWidth, int a_iAlignmentToStartFrom, boolean a_bBreakOnSpaces)
           
protected  void ZA_UI_Api_Paint_Form_CalculatePositionAndSize(int[] ivectFormElementsDefinition)
           
 void ZA_UI_Api_Repaint()
           
 void ZA_UI_Api_RepaintFocusedElement()
           
 void ZA_UI_Api_Session_CutStringFromSessionString(java.lang.String a_strElementType, java.lang.String a_strElementID)
           
 void ZA_UI_Api_Session_DeleteThisFormDataFromSessionString(int[] ivectFormElementsDefinition)
           
 void ZA_UI_Api_Session_Process_ButtonState(int[] ivectFormElementsDefinition, int iStartOfButtonDefinitionIdx)
           
 void ZA_UI_Api_Session_Process_FormState(int[] ivectFormElementsDefinition)
           
 int ZA_UI_Api_SessionFindNextStartingTokenInSessionString(int iStartOffset)
           
 int ZA_UI_Api_Status_AdvanceOneCompletenessStep()
           
 void ZA_UI_Api_Status_RestartCompleteness()
           
 void ZA_UI_Api_Status_RestartCompletenessFromPoint(int a_iStartPoint)
           
 void ZA_UI_Api_Status_SetCompletenessLooper(boolean a_bDoLoop)
           
 void ZA_UI_Api_Status_SetCompletenessSteps(int a_iCompletenessSteps)
           
 void ZA_UI_Api_Status_SetInfo(java.lang.String a_strStatus)
           
 void ZA_UI_Api_Status_SetStatus(java.lang.String a_strStatus)
           
 void ZA_UI_Api_Status_SetStatusShowUserMessage(int a_iElementType, int a_iElementID)
           
 void ZA_UI_Api_Status_SetWarning(java.lang.String a_strWarning, java.lang.String a_strAction, java.lang.String a_strIndication)
           
 void ZA_UI_Api_Status_Update()
           
protected  void ZA_UI_Api_ThreadQ_YieldEngine()
           
 
Methods inherited from class javax.microedition.lcdui.game.GameCanvas
flushGraphics, flushGraphics, getGraphics, getKeyStates
 
Methods inherited from class javax.microedition.lcdui.Canvas
getGameAction, getKeyCode, getKeyName, hasPointerEvents, hasPointerMotionEvents, hasRepeatEvents, isDoubleBuffered, keyReleased, pointerDragged, pointerPressed, pointerReleased, repaint, repaint, serviceRepaints, setFullScreenMode
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, getHeight, getTicker, getTitle, getWidth, isShown, removeCommand, setCommandListener, setTicker, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

K_ZA_UI_MAX_FORM_QTY

public int K_ZA_UI_MAX_FORM_QTY

K_ZA_UI_MAX_BUTTON_PER_FORM_QTY

public int K_ZA_UI_MAX_BUTTON_PER_FORM_QTY

K_ZA_UI_MAX_TEMPLATE_QTY

public int K_ZA_UI_MAX_TEMPLATE_QTY

K_ZA_UI_MAX_BUTTON_PER_TPL_QTY

public int K_ZA_UI_MAX_BUTTON_PER_TPL_QTY

K_ZA_UI_MAX_TIMER_QTY

public int K_ZA_UI_MAX_TIMER_QTY

K_ZA_UI_MAX_FONT_QTY

public int K_ZA_UI_MAX_FONT_QTY

K_ZA_UI_MAX_IMAGEARRAY_QTY

public int K_ZA_UI_MAX_IMAGEARRAY_QTY

K_ZA_UI_MAX_IMG_PER_IMAGEARRAY_QTY

public int K_ZA_UI_MAX_IMG_PER_IMAGEARRAY_QTY

K_ZA_UI_MAX_MESSAGES_PER_INBOX_QTY

public int K_ZA_UI_MAX_MESSAGES_PER_INBOX_QTY

K_ZA_UI_MAX_COLORDEFS_QTY

public int K_ZA_UI_MAX_COLORDEFS_QTY

K_ZA_UI_MAX_SCROLLBARDEFS_QTY

public int K_ZA_UI_MAX_SCROLLBARDEFS_QTY

K_ZA_UI_MAX_USERMESSAGEDEFS_QTY

public static final int K_ZA_UI_MAX_USERMESSAGEDEFS_QTY
See Also:
Constant Field Values

K_ZA_UI_MAX_SOFTKEYMAPPER_DEFS_QTY

public int K_ZA_UI_MAX_SOFTKEYMAPPER_DEFS_QTY

K_ZA_UI_MAX_AVOID_DELETE_QTY

public static final int K_ZA_UI_MAX_AVOID_DELETE_QTY
See Also:
Constant Field Values

K_ZA_UI_MAX_ELEMENTS_TO_FETCH_AT_ONCE_QTY

public static final int K_ZA_UI_MAX_ELEMENTS_TO_FETCH_AT_ONCE_QTY
See Also:
Constant Field Values

K_ZA_UI_ATTR_THREAD_LIMIT

public static final int K_ZA_UI_ATTR_THREAD_LIMIT
See Also:
Constant Field Values

K_ZA_UI_ATTR_FORMS_CACHE_LIMIT

public int K_ZA_UI_ATTR_FORMS_CACHE_LIMIT

K_ZA_UI_TOP_MARGIN_DEFAULT

public static final int K_ZA_UI_TOP_MARGIN_DEFAULT
See Also:
Constant Field Values

K_ZA_UI_BOTTOM_MARGIN_DEFAULT

public static final int K_ZA_UI_BOTTOM_MARGIN_DEFAULT
See Also:
Constant Field Values

K_ZA_UI_LEFT_MARGIN_DEFAULT

public static final int K_ZA_UI_LEFT_MARGIN_DEFAULT
See Also:
Constant Field Values

K_ZA_UI_RIGHT_MARGIN_DEFAULT

public static final int K_ZA_UI_RIGHT_MARGIN_DEFAULT
See Also:
Constant Field Values

K_ZA_UI_BORDER_THICKNESS_MARGIN_DEFAULT

public static final int K_ZA_UI_BORDER_THICKNESS_MARGIN_DEFAULT
See Also:
Constant Field Values

K_ZA_UI_RIGHT_MARGIN_CORRECTOR

public static final int K_ZA_UI_RIGHT_MARGIN_CORRECTOR
See Also:
Constant Field Values

K_ZA_UI_BRIGHTNESS_OFFSET_DEFAULT

public static final int K_ZA_UI_BRIGHTNESS_OFFSET_DEFAULT
See Also:
Constant Field Values

K_ZA_UI_SPACE_BETWEEN_ITEMS_VERT_LAYOUT_DEFAULT

public static final int K_ZA_UI_SPACE_BETWEEN_ITEMS_VERT_LAYOUT_DEFAULT
See Also:
Constant Field Values

K_ZA_UI_MOTION_UP

public static final int K_ZA_UI_MOTION_UP
See Also:
Constant Field Values

K_ZA_UI_MOTION_DOWN

public static final int K_ZA_UI_MOTION_DOWN
See Also:
Constant Field Values

K_ZA_UI_MOTION_LEFT

public static final int K_ZA_UI_MOTION_LEFT
See Also:
Constant Field Values

K_ZA_UI_MOTION_RIGHT

public static final int K_ZA_UI_MOTION_RIGHT
See Also:
Constant Field Values

K_ZA_UI_MOTION_FIRE

public static final int K_ZA_UI_MOTION_FIRE
See Also:
Constant Field Values

K_ZA_UI_MOTION_NONE

public static final int K_ZA_UI_MOTION_NONE
See Also:
Constant Field Values

K_ZA_UI_SCROLL_OFFSET

public int K_ZA_UI_SCROLL_OFFSET

K_ZA_UI_VIEWPORT_UID_PREFIX

public static final java.lang.String K_ZA_UI_VIEWPORT_UID_PREFIX
See Also:
Constant Field Values

K_ZA_UI_VIEWPORT_UID_PREFIX_INT

public static final int K_ZA_UI_VIEWPORT_UID_PREFIX_INT
See Also:
Constant Field Values

K_ZA_UI_VIEWPORT_UID_DIV_INT

public static final int K_ZA_UI_VIEWPORT_UID_DIV_INT
See Also:
Constant Field Values

K_ZA_UI_ZAJAGURL_INT

public static final int K_ZA_UI_ZAJAGURL_INT
See Also:
Constant Field Values

K_ZA_UI_ZAJAGURL

public static final java.lang.String K_ZA_UI_ZAJAGURL
See Also:
Constant Field Values

K_ZA_UI_DEFAULTFORM_INT

public static final int K_ZA_UI_DEFAULTFORM_INT
See Also:
Constant Field Values

K_ZA_UI_DEFAULTFORM

public static final java.lang.String K_ZA_UI_DEFAULTFORM
See Also:
Constant Field Values

K_ZA_UI_SERVERMESSAGE_INT

public static final int K_ZA_UI_SERVERMESSAGE_INT
See Also:
Constant Field Values

K_ZA_UI_SERVERMESSAGE

public static final java.lang.String K_ZA_UI_SERVERMESSAGE
See Also:
Constant Field Values

K_ZA_UI_ALARMTIME_INT

public static final int K_ZA_UI_ALARMTIME_INT
See Also:
Constant Field Values

K_ZA_UI_ALARMTIME

public static final java.lang.String K_ZA_UI_ALARMTIME
See Also:
Constant Field Values

K_ZA_UI_ATTR_VISUALFX_ONFOCUS

public static final int K_ZA_UI_ATTR_VISUALFX_ONFOCUS
See Also:
Constant Field Values

K_ZA_UI_ATTR_VISUALFX_OFFFOCUS

public static final int K_ZA_UI_ATTR_VISUALFX_OFFFOCUS
See Also:
Constant Field Values

K_ZA_UI_ATTR_VISUALFX_FADEOUT

public static final java.lang.String K_ZA_UI_ATTR_VISUALFX_FADEOUT
See Also:
Constant Field Values

K_ZA_UI_ATTR_VISUALFX_FADEIN

public static final java.lang.String K_ZA_UI_ATTR_VISUALFX_FADEIN
See Also:
Constant Field Values

K_ZA_UI_ATTR_VISUALFX_MOVESMOOTH

public static final java.lang.String K_ZA_UI_ATTR_VISUALFX_MOVESMOOTH
See Also:
Constant Field Values

K_ZA_UI_ATTR_VISUALFX_NONE

public static final java.lang.String K_ZA_UI_ATTR_VISUALFX_NONE
See Also:
Constant Field Values

K_ZA_UI_ATTR_VISUALFX_FADEOUT_INT

public static final int K_ZA_UI_ATTR_VISUALFX_FADEOUT_INT
See Also:
Constant Field Values

K_ZA_UI_ATTR_VISUALFX_FADEIN_INT

public static final int K_ZA_UI_ATTR_VISUALFX_FADEIN_INT
See Also:
Constant Field Values

K_ZA_UI_ATTR_VISUALFX_MOVESMOOTH_INT

public static final int K_ZA_UI_ATTR_VISUALFX_MOVESMOOTH_INT
See Also:
Constant Field Values

K_ZA_UI_ATTR_VISUALFX_NONE_INT

public static final int K_ZA_UI_ATTR_VISUALFX_NONE_INT
See Also:
Constant Field Values

K_ZA_UI_ATTR_THREAD_RUNNING

public static final int K_ZA_UI_ATTR_THREAD_RUNNING
See Also:
Constant Field Values

K_ZA_UI_ATTR_THREAD_PAUSED

public static final int K_ZA_UI_ATTR_THREAD_PAUSED
See Also:
Constant Field Values

K_ZA_UI_ATTR_THREAD_DEAD

public static final int K_ZA_UI_ATTR_THREAD_DEAD
See Also:
Constant Field Values

K_ZA_UI_ATTR_THREAD_NULL

public static final int K_ZA_UI_ATTR_THREAD_NULL
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_FORM_OFFFOCUS

public static final int K_ZA_UI_ATTR_TASK_FORM_OFFFOCUS
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_FORM_STOPSTARTTIMERS

public static final int K_ZA_UI_ATTR_TASK_FORM_STOPSTARTTIMERS
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_FORM_SETNEWFORM

public static final int K_ZA_UI_ATTR_TASK_FORM_SETNEWFORM
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_FORM_ONFOCUS

public static final int K_ZA_UI_ATTR_TASK_FORM_ONFOCUS
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_FORM_REPAINT

public static final int K_ZA_UI_ATTR_TASK_FORM_REPAINT
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_TEMPLATE_OFFFOCUS

public static final int K_ZA_UI_ATTR_TASK_TEMPLATE_OFFFOCUS
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_BUTTON_OFFFOCUS

public static final int K_ZA_UI_ATTR_TASK_BUTTON_OFFFOCUS
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_BUTTON_ONFOCUS

public static final int K_ZA_UI_ATTR_TASK_BUTTON_ONFOCUS
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_FETCHER

public static final int K_ZA_UI_ATTR_TASK_FETCHER
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_FETCHER_INNER_ELEMS

public static final int K_ZA_UI_ATTR_TASK_FETCHER_INNER_ELEMS
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_SCROLL_ON

public static final int K_ZA_UI_ATTR_TASK_SCROLL_ON
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_SCROLL_OFF

public static final int K_ZA_UI_ATTR_TASK_SCROLL_OFF
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_LOCATION_GET

public static final int K_ZA_UI_ATTR_TASK_LOCATION_GET
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_VIDEO_FETCH

public static final int K_ZA_UI_ATTR_TASK_VIDEO_FETCH
See Also:
Constant Field Values

K_ZA_UI_ATTR_TASK_VIDEO_PLAY

public static final int K_ZA_UI_ATTR_TASK_VIDEO_PLAY
See Also:
Constant Field Values

K_ZA_UI_KEY_GAME_UP

public static final int K_ZA_UI_KEY_GAME_UP
See Also:
Constant Field Values

K_ZA_UI_KEY_GAME_DOWN

public static final int K_ZA_UI_KEY_GAME_DOWN
See Also:
Constant Field Values

K_ZA_UI_KEY_GAME_LEFT

public static final int K_ZA_UI_KEY_GAME_LEFT
See Also:
Constant Field Values

K_ZA_UI_KEY_GAME_RIGHT

public static final int K_ZA_UI_KEY_GAME_RIGHT
See Also:
Constant Field Values

K_ZA_UI_KEY_GAME_FIRE

public static final int K_ZA_UI_KEY_GAME_FIRE
See Also:
Constant Field Values

K_ZA_UI_KEY_SOFTKEY_LEFT

public static final int K_ZA_UI_KEY_SOFTKEY_LEFT
See Also:
Constant Field Values

K_ZA_UI_KEY_SOFTKEY_RIGHT

public static final int K_ZA_UI_KEY_SOFTKEY_RIGHT
See Also:
Constant Field Values

pantalla

public javax.microedition.lcdui.Display pantalla

backForm

protected int backForm

actualForm

protected int actualForm

previousForm

protected int previousForm

previousFormID

protected int previousFormID

actualFormID

protected int actualFormID

actualFormIDSafety

protected int actualFormIDSafety

actualPage

protected int actualPage

previousPage

protected int previousPage

proshMsg

protected ObjectMessenger proshMsg

proshForm

protected ProsciuttoForm proshForm

proshButton

protected ProsciuttoButton proshButton

proshPainterAny

protected ProsciuttoPaintAny proshPainterAny

proshTemplate

protected ProsciuttoTemplate proshTemplate

proshTimer

protected ProsciuttoTimer proshTimer

proshColorDef

protected ProsciuttoColorDef proshColorDef

proshScrollbar

protected ProsciuttoScrollbar proshScrollbar

proshImageArray

protected ProsciuttoImageArray proshImageArray

proshFont

protected ProsciuttoFont proshFont

proshSoftkey

protected ProsciuttoSoftkeyMapper proshSoftkey

proshUserMsg

protected ProsciuttoUserMessage proshUserMsg

proshTempView

protected TemporalView proshTempView

proshAppStrings

protected AppString proshAppStrings

bInSetNavigationDefinition

protected boolean bInSetNavigationDefinition

onerrorAction

protected java.lang.String onerrorAction

onerrorParam

protected java.lang.String onerrorParam

defaultLanguage

protected int defaultLanguage

strDefaultLanguage

protected java.lang.String strDefaultLanguage

strInternalUserMessage_Connecting

protected java.lang.String strInternalUserMessage_Connecting

strInternalUserMessage_Initializing

protected java.lang.String strInternalUserMessage_Initializing

strInternalUserMessage_Loading

protected java.lang.String strInternalUserMessage_Loading

strInternalUserMessage_Disconnected

protected java.lang.String strInternalUserMessage_Disconnected

strInternalUserMessage_Compressing

protected java.lang.String strInternalUserMessage_Compressing

strInternalUserMessage_Decompressing

protected java.lang.String strInternalUserMessage_Decompressing

strInternalUserMessage_Encrypting

protected java.lang.String strInternalUserMessage_Encrypting

strInternalUserMessage_Decrypting

protected java.lang.String strInternalUserMessage_Decrypting

strInternalUserMessage_Exception

protected java.lang.String strInternalUserMessage_Exception

strInternalUserMessage_PressFire

protected java.lang.String strInternalUserMessage_PressFire

strInternalUserMessage_9ToExit

protected java.lang.String strInternalUserMessage_9ToExit

strInternalUserMessage_CommError

protected java.lang.String strInternalUserMessage_CommError

strInternalUserMessage_ElemCorrupt

protected java.lang.String strInternalUserMessage_ElemCorrupt

strInternalUserMessage_NotEnoughSpace

protected java.lang.String strInternalUserMessage_NotEnoughSpace

strInternalUserMessage_EmptyElement

protected java.lang.String strInternalUserMessage_EmptyElement

strInternalUserMessage_ElemUnknown

protected java.lang.String strInternalUserMessage_ElemUnknown

strInternalUserMessage_ErrImage

protected java.lang.String strInternalUserMessage_ErrImage

strInternalUserMessage_ElemNotFound

protected java.lang.String strInternalUserMessage_ElemNotFound

strInternalUserMessage_Error

protected java.lang.String strInternalUserMessage_Error

strInternalUserMessage_Finished

protected java.lang.String strInternalUserMessage_Finished

strInternalUserMessage_ClickSeeMore

protected java.lang.String strInternalUserMessage_ClickSeeMore

strInternalUserMessage_ReadingGPS

protected java.lang.String strInternalUserMessage_ReadingGPS

strInternalUserMessage_Downloading

protected java.lang.String strInternalUserMessage_Downloading

strDefaultZajagURL

protected java.lang.String strDefaultZajagURL

bPreventRemoteImagesFromBeingDeleted

protected boolean bPreventRemoteImagesFromBeingDeleted

timerVFX

protected java.util.Timer timerVFX

timerScroll

protected java.util.Timer timerScroll

ttaskUIApiVFX

protected za_UI_api.VFXTTask ttaskUIApiVFX

iLBSTimeout

protected int iLBSTimeout

bPerformingVideoFetch

protected boolean bPerformingVideoFetch

interp

protected Interp interp

evaltask

protected HeclTask evaltask

ivectTasksToDoInQueue

protected int[] ivectTasksToDoInQueue

iLastElementInQueue

protected int iLastElementInQueue

bThreadEngineIsRunning

public boolean bThreadEngineIsRunning

bKeepRunning

public boolean bKeepRunning

bShowingTextBox

protected boolean bShowingTextBox

bAskNotToRepaint

protected boolean bAskNotToRepaint

bDoingVisualFX

protected boolean bDoingVisualFX

bActualFormOnShowVisualFXExecuting

protected boolean bActualFormOnShowVisualFXExecuting

bActualFormOnHideVisualFXExecuting

protected boolean bActualFormOnHideVisualFXExecuting

bAnimationQueueInProgress

protected boolean bAnimationQueueInProgress

bFinishedInitialisation

public boolean bFinishedInitialisation

bInFetcherLoop

protected boolean bInFetcherLoop

bFetchingElement

protected boolean bFetchingElement

bPossibleHTTPPending

protected boolean bPossibleHTTPPending

bFetchingElementXML

protected boolean bFetchingElementXML

bDoAllFetchActionsOnXML

protected boolean bDoAllFetchActionsOnXML

bJustFetchedNewFormOrChangedOrientation

protected boolean bJustFetchedNewFormOrChangedOrientation

bFocusChanged

protected boolean bFocusChanged

bReloadingImages

protected boolean bReloadingImages

bPerformingOperation

protected boolean bPerformingOperation

iFormToGoTo

protected int iFormToGoTo

iFormIDToGoTo

protected int iFormIDToGoTo

bImageFetched

protected boolean bImageFetched

iItemIdToFocusOn

protected int iItemIdToFocusOn

iMotion

protected int iMotion

iScreenHeight

protected int iScreenHeight

iScreenWidth

protected int iScreenWidth

bInFullScreenMode

protected boolean bInFullScreenMode

strScreenHeight

protected java.lang.String strScreenHeight

strScreenWidth

protected java.lang.String strScreenWidth

iActualFormHeight

protected int iActualFormHeight

iActualFormWidth

protected int iActualFormWidth

iActualFormWidthWithScrollbar

protected int iActualFormWidthWithScrollbar

iActualFormXCoord

protected int iActualFormXCoord

iActualFormYCoord

protected int iActualFormYCoord

iActualViewportXCoord

protected int iActualViewportXCoord

iActualViewportYCoord

protected int iActualViewportYCoord

bFormIsAllDrawn

protected boolean bFormIsAllDrawn

iElementXStart

protected int iElementXStart

iElementYStart

protected int iElementYStart

iElementHeight

protected int iElementHeight

iElementWidth

protected int iElementWidth

g

protected javax.microedition.lcdui.Graphics g

iScrollStringStartOffset

protected int iScrollStringStartOffset

iScrollStringLen

protected int iScrollStringLen

iScrollFullStringLen

protected int iScrollFullStringLen

iImgXCoordOffsetForLeftAnchorEnsure

protected int iImgXCoordOffsetForLeftAnchorEnsure

iKeyAction

protected int iKeyAction

iStartOfAttributesForActualElementInForm

protected int iStartOfAttributesForActualElementInForm

strFocusedText

protected java.lang.String strFocusedText

bFocusOnTemplate

protected boolean bFocusOnTemplate

iFocusedItemID

protected int iFocusedItemID

iPreviousFocusedItemID

protected int iPreviousFocusedItemID

txtBox

protected TextBox_e txtBox

bAfterTextBoxOKRun

protected boolean bAfterTextBoxOKRun

vectTableRows

public java.util.Vector vectTableRows

vectTableOneRow

public java.util.Vector vectTableOneRow

ivectElementsToFetch

protected int[] ivectElementsToFetch

iLastElementToFetchIdx

protected int iLastElementToFetchIdx

iPossibleElementNotFoundType

protected int iPossibleElementNotFoundType

iPossibleElementNotFoundID

protected int iPossibleElementNotFoundID

strSession

protected java.lang.StringBuffer strSession

strCookie

protected java.lang.StringBuffer strCookie

bErrorRaisedToUI

protected boolean bErrorRaisedToUI

bErrorRaisedToUIJustDismissed

protected boolean bErrorRaisedToUIJustDismissed

bErrorRaisedToUIAtLeastOnce

protected boolean bErrorRaisedToUIAtLeastOnce

iFetchedElementDefinitionIndex

protected int iFetchedElementDefinitionIndex

iActualConnectionStage

public int iActualConnectionStage

ZAJAG_ALLFETCHER

public static final java.lang.String ZAJAG_ALLFETCHER
See Also:
Constant Field Values

bInFetcher

protected boolean bInFetcher

midlet

protected javax.microedition.midlet.MIDlet midlet
Constructor Detail

za_UI_api

public za_UI_api()
Method Detail

runActionExecute

public abstract boolean runActionExecute(int ifocusedElementID,
                                         int keyPressed,
                                         int[] ivectFormElementsDefinition,
                                         int iElementIndex,
                                         boolean bIsTimer)

setNavigationDefinition

public abstract void setNavigationDefinition(boolean bDBFlagFound,
                                             boolean bPostInit)

za_UI_api_Initialize

public void za_UI_api_Initialize(int a_iMaxForms,
                                 int a_iMaxButtonsPerForm,
                                 int a_iMaxTemplates,
                                 int a_iMaxButtonsPerTpl,
                                 int a_iMaxTimers,
                                 int a_iMaxFonts,
                                 int a_iMaxImageArrays,
                                 int a_iMaxImagesPerImgArray,
                                 int a_iMaxMessagesPerMsgInbox,
                                 int a_iMaxColorDefs)

za_UI_api_alloc_safe

public void za_UI_api_alloc_safe()

heclRunScriptOLD

public void heclRunScriptOLD(java.lang.String s)
The runScript method exists so that external applications (emulators, primarily) can call into Hecl and run scripts.

Parameters:
s - a String value

heclRunScript

public void heclRunScript(java.lang.String s)

setZAJAGUrl

public void setZAJAGUrl(java.lang.String a_strUrl,
                        boolean a_bInit)

setPreventRemoteImagesFromBeingDeletedFlag

public void setPreventRemoteImagesFromBeingDeletedFlag(boolean a_bFlag)

exitZAMAE

public void exitZAMAE()

switchOrientation

public void switchOrientation()

setOrientation

public void setOrientation(int a_iOrientation)

setLanguage

public void setLanguage(int iLanguage)

setZAMAEDescriptor

public void setZAMAEDescriptor(java.lang.String strAppVersionDescriptor)

setZAMAEDeviceContext

public void setZAMAEDeviceContext(java.lang.String strDeviceContext)

setNotificationListener

public void setNotificationListener(javax.microedition.midlet.MIDlet a_omidlet)

reinitialiseArrays

public void reinitialiseArrays(int[][] arrToReinit,
                               boolean bForcedReinit)

reinitialiseForms

public void reinitialiseForms(int[][] arrFormsToReinit)

reinitialiseForm

public void reinitialiseForm(java.lang.String a_strFormID)

reinitialiseForm

protected void reinitialiseForm(int[] arrFormToReinit)

reinitialiseArray

public void reinitialiseArray(int[] arrToReinit)

setXMLModelFilename

public void setXMLModelFilename(java.lang.String a_strModelFilename)

startUI

public void startUI(javax.microedition.lcdui.Display disp)

resetAppSafe

public int resetAppSafe()

initForm

public void initForm()

setForm

public void setForm(int iForm)

gotoForm

public void gotoForm(int iFormID)

gotoFormFocusOnItem

public void gotoFormFocusOnItem(int iForm,
                                int iItemIDToFocus)

deleteUIElementDefinition

public void deleteUIElementDefinition(int a_iElementType,
                                      int a_iElementUID,
                                      boolean bForce)

ZA_UI_Api_Session_Process_ButtonState

public void ZA_UI_Api_Session_Process_ButtonState(int[] ivectFormElementsDefinition,
                                                  int iStartOfButtonDefinitionIdx)

ZA_UI_Api_Session_Process_FormState

public void ZA_UI_Api_Session_Process_FormState(int[] ivectFormElementsDefinition)

ZA_UI_Api_SessionFindNextStartingTokenInSessionString

public int ZA_UI_Api_SessionFindNextStartingTokenInSessionString(int iStartOffset)

ZA_UI_Api_Session_CutStringFromSessionString

public void ZA_UI_Api_Session_CutStringFromSessionString(java.lang.String a_strElementType,
                                                         java.lang.String a_strElementID)

ZA_UI_Api_Session_DeleteThisFormDataFromSessionString

public void ZA_UI_Api_Session_DeleteThisFormDataFromSessionString(int[] ivectFormElementsDefinition)

ZA_UI_Api_ThreadQ_YieldEngine

protected void ZA_UI_Api_ThreadQ_YieldEngine()

ZA_UI_Api_Repaint

public void ZA_UI_Api_Repaint()

ZA_UI_Api_RepaintFocusedElement

public void ZA_UI_Api_RepaintFocusedElement()

ZA_UI_Api_Paint_Button_Background_Image_Refresher

public void ZA_UI_Api_Paint_Button_Background_Image_Refresher()

ZA_UI_Api_Paint_FindBestStringLengthForContextWidth

protected int ZA_UI_Api_Paint_FindBestStringLengthForContextWidth(java.lang.String a_strStringToDraw,
                                                                  int a_iStartOffset,
                                                                  int iContextWidth,
                                                                  int a_iAlignmentToStartFrom,
                                                                  boolean a_bBreakOnSpaces)

ZA_UI_Api_Paint_Form_CalculatePositionAndSize

protected void ZA_UI_Api_Paint_Form_CalculatePositionAndSize(int[] ivectFormElementsDefinition)

ZA_UI_Api_GenericAction_Goto

public void ZA_UI_Api_GenericAction_Goto(int iFormID)

ZA_UI_Api_GenericAction_Goto_Absolute

public void ZA_UI_Api_GenericAction_Goto_Absolute(int iFormID)

ZA_UI_Api_GenericAction_SetDefaultForm

public void ZA_UI_Api_GenericAction_SetDefaultForm(int a_iFormID)

ZA_UI_Api_GenericAction_SetOrientationAndRepaint

public void ZA_UI_Api_GenericAction_SetOrientationAndRepaint(int a_iOrientation)

ZA_UI_Api_GenericAction_SwitchOrientationAndRepaint

public void ZA_UI_Api_GenericAction_SwitchOrientationAndRepaint()

ZA_UI_Api_GenericAction_ForceRepaint

public void ZA_UI_Api_GenericAction_ForceRepaint()

ZA_UI_Api_GenericAction_MMAPI_Play

public void ZA_UI_Api_GenericAction_MMAPI_Play(java.lang.String a_strResourceAndMimeTypeString)

ZA_UI_Api_GenericAction_MMAPI_Stop

public void ZA_UI_Api_GenericAction_MMAPI_Stop()

ZA_UI_Api_GenericAction_LBS_GetLocation

public void ZA_UI_Api_GenericAction_LBS_GetLocation()

ZA_UI_Api_GenericAction_LBS_GetLocation_Thread

public void ZA_UI_Api_GenericAction_LBS_GetLocation_Thread()

ZA_UI_Api_GenericAction_LBS_GetLocation_Blocker

public void ZA_UI_Api_GenericAction_LBS_GetLocation_Blocker()

ZA_UI_Api_GenericAction_OpenURL

public void ZA_UI_Api_GenericAction_OpenURL(java.lang.String a_strURL)

ZA_UI_Api_GenericAction_Goback

public void ZA_UI_Api_GenericAction_Goback(int a_iStackToGoBack)

ZA_UI_Api_GenericAction_Goback_Once

public void ZA_UI_Api_GenericAction_Goback_Once()

ZA_UI_Api_GenericAction_ChangeButtonTextAndStateAndShowItsForm

public void ZA_UI_Api_GenericAction_ChangeButtonTextAndStateAndShowItsForm(int iElementID,
                                                                           java.lang.String a_strTextToSet,
                                                                           java.lang.String a_strHiddenParamToSet)

ZA_UI_Api_GenericAction_SetAttribute

public void ZA_UI_Api_GenericAction_SetAttribute(int iElementID,
                                                 int iElementType,
                                                 int iAttrIndex,
                                                 java.lang.String a_strAttrValueToSet)

ZA_UI_Api_GenericAction_GetAttribute

public Thing ZA_UI_Api_GenericAction_GetAttribute(int iElementID,
                                                  int iElementType,
                                                  int iAttrIndex)

ZA_UI_Api_GenericAction_SetCookie

public void ZA_UI_Api_GenericAction_SetCookie(java.lang.String a_strCookie)

ZA_UI_Api_GenericAction_GetGPSCoordinates

public Thing ZA_UI_Api_GenericAction_GetGPSCoordinates()

ZA_UI_Api_GenericAction_GotoAndShowInDropdownMode

public void ZA_UI_Api_GenericAction_GotoAndShowInDropdownMode(int iFormID,
                                                              int iOriginatingElemID,
                                                              int iOriginatingElemType)

ZA_UI_Api_Action_RethinkHeights

public void ZA_UI_Api_Action_RethinkHeights(int a_iFormIndex)

ZA_UI_Api_Action_SetFocusOnThisElementID

public void ZA_UI_Api_Action_SetFocusOnThisElementID(int a_iElementIDToSetFocusOn)

ZA_UI_Api_ActionHandler

protected boolean ZA_UI_Api_ActionHandler(int[] ivectFormElementsDefinition,
                                          int iStartOfElementDefinitionIdx,
                                          int iActionIdx,
                                          int iActionParamIdx,
                                          int iKeyAction,
                                          int iElementType)

ZA_UI_Api_Key_Button_Handler

protected void ZA_UI_Api_Key_Button_Handler(int[] ivectFormElementsDefinition,
                                            int iStartOfButtonDefinitionIdx)

keyRepeated

protected void keyRepeated(int keyCode)
Overrides:
keyRepeated in class javax.microedition.lcdui.Canvas

supportsFileConnectionAPI

protected boolean supportsFileConnectionAPI()

keyPressed

protected void keyPressed(int keyCode)
Overrides:
keyPressed in class javax.microedition.lcdui.Canvas

paint

public void paint(javax.microedition.lcdui.Graphics graph)
Overrides:
paint in class javax.microedition.lcdui.game.GameCanvas

sizeChanged

protected void sizeChanged(int w,
                           int h)
Overrides:
sizeChanged in class javax.microedition.lcdui.Canvas

setZAUIAPIFullScreenMode

public void setZAUIAPIFullScreenMode(boolean a_bYes)

showNotify

protected void showNotify()
Overrides:
showNotify in class javax.microedition.lcdui.Canvas

hideNotify

protected void hideNotify()
Overrides:
hideNotify in class javax.microedition.lcdui.Canvas

ZA_UI_Api_Fetcher_ParseValidateData

public int ZA_UI_Api_Fetcher_ParseValidateData(java.lang.String a_strElementDefString,
                                               int a_iElementTypeOriginallyFetched)

ZA_UI_Api_Fetcher_ParseDefinitionOnXML

public int ZA_UI_Api_Fetcher_ParseDefinitionOnXML(java.lang.String a_strElementDefString,
                                                  int a_iElementTypeOriginallyFetched)

ZA_UI_Api_Fetcher_ParseDefinition

public int ZA_UI_Api_Fetcher_ParseDefinition(java.lang.String a_strElementDefString,
                                             int a_iElementTypeOriginallyFetched)

ZA_UI_Api_Fetcher_PushElementInFetcherVectorIfNotAlreadyInVector

public int ZA_UI_Api_Fetcher_PushElementInFetcherVectorIfNotAlreadyInVector(int[] ivectIterator,
                                                                            int[][] ivectElementDefinition,
                                                                            int ivectMaxIdx,
                                                                            int iElementType,
                                                                            int iAttrIndexInFormDef)

ZA_UI_Api_Fetcher_CheckIfElementIsInFetchervector

public boolean ZA_UI_Api_Fetcher_CheckIfElementIsInFetchervector(int iElementType,
                                                                 int iElementID)

ZA_UI_Api_Fetcher_FetchElementsInFetcherVector

public int ZA_UI_Api_Fetcher_FetchElementsInFetcherVector()

ZA_UI_Api_Fetcher_GetAllElementsPointedByFormVector

public int ZA_UI_Api_Fetcher_GetAllElementsPointedByFormVector(int iFormIndex,
                                                               boolean a_bFetchFromDB)

ZA_UI_Api_Fetcher_GetIndexOfFetchedElement

public int ZA_UI_Api_Fetcher_GetIndexOfFetchedElement(int iElementType)

ZA_UI_Api_Fetcher_GetFormNewElementDefinition

public int ZA_UI_Api_Fetcher_GetFormNewElementDefinition(int iElementType,
                                                         int iElementID)

ZA_UI_Api_Fetcher_EnsureAllElementsAreFetched

public int ZA_UI_Api_Fetcher_EnsureAllElementsAreFetched(int a_iFormIndex,
                                                         boolean a_bFetchFromDB)

ZA_UI_Api_Fetcher_GetElementDefinition

public int ZA_UI_Api_Fetcher_GetElementDefinition(int iElementType,
                                                  int iElementIDToFetch,
                                                  int iactualForm,
                                                  int iElementAsking)

ZA_UI_Api_Status_SetStatus

public void ZA_UI_Api_Status_SetStatus(java.lang.String a_strStatus)

ZA_UI_Api_Status_SetStatusShowUserMessage

public void ZA_UI_Api_Status_SetStatusShowUserMessage(int a_iElementType,
                                                      int a_iElementID)

ZA_UI_Api_Status_SetWarning

public void ZA_UI_Api_Status_SetWarning(java.lang.String a_strWarning,
                                        java.lang.String a_strAction,
                                        java.lang.String a_strIndication)

ZA_UI_Api_Status_SetInfo

public void ZA_UI_Api_Status_SetInfo(java.lang.String a_strStatus)

ZA_UI_Api_Status_SetCompletenessSteps

public void ZA_UI_Api_Status_SetCompletenessSteps(int a_iCompletenessSteps)

ZA_UI_Api_Status_SetCompletenessLooper

public void ZA_UI_Api_Status_SetCompletenessLooper(boolean a_bDoLoop)

ZA_UI_Api_Status_AdvanceOneCompletenessStep

public int ZA_UI_Api_Status_AdvanceOneCompletenessStep()

ZA_UI_Api_Status_RestartCompleteness

public void ZA_UI_Api_Status_RestartCompleteness()

ZA_UI_Api_Status_RestartCompletenessFromPoint

public void ZA_UI_Api_Status_RestartCompletenessFromPoint(int a_iStartPoint)

ZA_UI_Api_Status_Update

public void ZA_UI_Api_Status_Update()

filterString

public java.lang.String filterString(java.lang.String a_strOriginalString,
                                     java.lang.String a_strFilterTag)
interface to AppString's StringFilter implementation

Specified by:
filterString in interface StringFilter_callbacks
Parameters:
a_strOriginalString - the original string to be asked for replacement
Returns:
String: the replacement for the original string
See Also:
AppString

receiveMessage

public void receiveMessage(int iDst_ElementType,
                           int iDst_ElementUID,
                           java.lang.String strMsg)
interface to ObjectMessenger implementation

Specified by:
receiveMessage in interface ObjectMessenger_callbacks
Parameters:
iDst_ElementType - destination element type for the received message
iDst_ElementUID - destination element UID for the received message
strMsg - The message itself
See Also:
ObjectMessenger