Skip to content
skjsaurabh edited this page Jan 21, 2013 · 1 revision

Description

The object of type 'ui.page'. This object is used for drawing pages with the skjApp framework. The pages so drawn behave like separate pages/scenes/screens.

Properties

type

The type of object.

Possible types of pages:

  • ui.page
  • ui.page.multistate
  • ui.page.limitless
  • ui.page.advanced2D
  • ui.page.3D
  • ui.page.j2me.form

scrollX

Tells the framework to scroll the page by value in pixels to the right (if value is positive) or value in pixels to the left (if value is negative).

scrollY

Tells the framework to scroll the page by value in pixels to the down (if value is positive) or value in pixels to the up (if value is negative).

state

The state of the page.

states

Valid only in type : 'ui.page.multistate' and 'ui.page.advanced2D'. This helps to declare different layers for different states in a page.

layers

The layers in the page.

activeEffect

The active visual effect on the page's contents. After completing the effect the value will be put to 'undefined' by the effect.

Functions/Methods

create

The function/method which is called at the time of creation of this object just before creation.

update

The function/method which is called at the time of updation of this object. The calling frequency of this function/method will depend on the current frame rate of the application.

draw

The function/method which is called at the time of drawing of this object. The calling frequency of this function/method will depend on the current frame rate of the application.

delete

The function/method which is called at the time of deletion of this object just before deletion.

Clone this wiki locally