Skip to content

StagedTask

Adam Furman edited this page Feb 24, 2016 · 3 revisions

###StagedTask class The StagedTask class serves to create a Task that can be split up into several small operations, such as a file copy or a large download. After being added to a Controller, its method will be called repeatedly with the current iteration number as an argument.

StagedTask ( method, maxStage=10 )

Arguments

  • method The method to call repeatedly.
  • int maxStage=10 The number of iterations.

Object Variables

  • Inherited
  • int stage The current iteration. Starts at 1, goes up to and including maxStage
  • int maxStage The number if iterations.

Methods

  • Inherited
  • run () Runs the method specified with the current iteration as an argument.

Home

Getting Started

Documentation

Threads and Tasks

Applications and Notifications

The State Class and Variable

The GUI, Events, Resources, and Dialogs

The following classes are all under the GUI class, e.g. Font is actually accessed as GUI.Font.

  • Font class
  • Icons class
  • ColorPalette class
  • LongClickEvent class
  • IntermediateUpdateEvent class
  • EventQueue class
  • FunctionBar class
  • Keyboard class
  • Overlay class
  • Dialog class
    • OKDialog dialog
    • ErrorDialog dialog
    • WarningDialog dialog
    • YNDialog dialog
    • OKCancelDialog dialog
    • AskDialog dialog
    • CustomContentDialog dialog
  • NotificationMenu overlay
    • RecentAppSwitcher overlay
    • Selector overlay

GUI Components and Containers

  • Component class

The following classes are all Components, they inherit from that class.

  • Container component
  • AppContainer container
  • Button container
  • KeyboardButton container
  • TextEntryField container
  • PagedContainer container
    • GriddedPagedContainer container
    • ListedPagedContainer container
  • ButtonRow container
  • ScrollableContainer container
    • ListScrollableContainer container
    • TextScrollableContainer container
    • MultiLineTextEntryField container
  • Text component
  • MultiLineText component
  • ExpandingMultiLineText component
  • Image component
  • Slider component
  • Checkbox component
  • Switch component
  • Canvas component
  • ScrollIndicator component
Clone this wiki locally