Module component.Button

Functions

Button:display () This method is invoked by Context whenever it needs to be redrawn.
Button:init (frame) Initializes the button objext
Button:load (lib) Loads the Button class, automatically called when it's required by LoveUI
Button:update (dt) This method is invoked by Context whenever it needs to be updated.


Functions

Button:display ()
This method is invoked by Context whenever it needs to be redrawn. It uses the ButtonCell's display method to do the drawing.
Button:init (frame)
Initializes the button objext

Parameters

  • frame: table

Return value:

Button
Button:load (lib)
Loads the Button class, automatically called when it's required by LoveUI

Parameters

  • lib: table

Return value:

class
Button:update (dt)
This method is invoked by Context whenever it needs to be updated. It uses the ButtonCell's update method to do the updating.

Parameters

  • dt:

Valid XHTML 1.0!