Module flower.widget.MsgBox

It is a class that displays the message.

Displays the next page of the message when selected.

Extends:

Info:

  • Release: V3.0.0
  • Author: Makoto

Functions

ANIM_SHOW_FUNCTION (self) Default: Show Animation function
ANIM_HIDE_FUNCTION (self) Default: Hide Animation function
MsgBox:_initInternal () Initialize a internal variables.
MsgBox:_initEventListeners () Initialize the event listeners.
MsgBox:showPopup () Show MsgBox.
MsgBox:hidePopup () Hide MsgBox.
MsgBox:nextPage () Displays the next page.
MsgBox:isPopupShowing () Return true if showing.
MsgBox:isSpooling () Return true if textLabel is busy.
MsgBox:hasNextPase () Returns true if there is a next page.
MsgBox:setSpoolingEnabled (enabled) Turns spooling ON or OFF.
MsgBox:onTouchDown (e) This event handler is called when you touch the component.

Fields

STYLE_ANIM_SHOW_FUNCTION Style: animShowFunction
STYLE_ANIM_HIDE_FUNCTION Style: animHideFunction


Functions

ANIM_SHOW_FUNCTION (self)
Default: Show Animation function

Parameters:

  • self
ANIM_HIDE_FUNCTION (self)
Default: Hide Animation function

Parameters:

  • self
MsgBox:_initInternal ()
Initialize a internal variables.
MsgBox:_initEventListeners ()
Initialize the event listeners.
MsgBox:showPopup ()
Show MsgBox.
MsgBox:hidePopup ()
Hide MsgBox.
MsgBox:nextPage ()
Displays the next page.
MsgBox:isPopupShowing ()
Return true if showing.

Returns:

    true if showing
MsgBox:isSpooling ()
Return true if textLabel is busy.
MsgBox:hasNextPase ()
Returns true if there is a next page.

Returns:

    True if there is a next page
MsgBox:setSpoolingEnabled (enabled)
Turns spooling ON or OFF. If self is currently spooling and enable is false, stop spooling and reveal entire page.

Parameters:

  • enabled Boolean for new state
MsgBox:onTouchDown (e)
This event handler is called when you touch the component.

Parameters:

  • e touch event

Fields

STYLE_ANIM_SHOW_FUNCTION
Style: animShowFunction
STYLE_ANIM_HIDE_FUNCTION
Style: animHideFunction
generated by LDoc 1.3