My favorites | Sign in
Project Home Downloads Wiki Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Classes  
All the platform abstraction classes of the library.
Updated Apr 14, 2012 by jackokring

The following classes are enough for a foundation API and completes the foundation class index of package uk.co.peopleandroid.jarvar. Most classes on this page extend Virtual, notable exceptions being String and Exception, which allows use of them within the ScriptLanguage, and also means java.lang.Object is never referenced directly in the API. If in doubt, extend the class Blank or Object.

Scripting covers the classes to support evaluation of scripts. It is important to note that the class Class is not available for use while using the API.

Action

A command or always available menu item or button which can be added to any or many Screen objects.

Audio

Responsible for all audio processing and IO.

Compiler

A class to provide Compiler services. This ensures that no bit fiddling within ScriptLanguage source can lead to an indeterminate or partially performed switch of Compiler state. The Compiler for ScriptLanguage is not written in itself, although some of it is, as this is an essential stability consideration. If you do not intend to extend ScriptLanguage by the use of Virtual extension, then the Scripting classes need not be learned, as the foundation API allows access to ScriptLanguage.

Editor

A String editing Screen.

Error

The java error class.

OutOfMemoryError

Exception

The jarvar exception class. ScriptLanguage (the macro language) has many exceptions, but the jarvar framework does not. It only supports

ArithmeticException

ArrayIndexOutOfBoundsException

ClassCastException

NullPointerException

Graphics

A bit mapped full colour display Screen. It can also remain un-displayed and be draw upon, or used to draw with.

Keys

This does all key input and all command input. Menus also fall into this class

Lister

A selection from options menu style Screen.

Main

This class is for building an application with. It supports starting and stopping the application.

Movie

A playable video or still. Due to platform limitations a Movie is not a Screen, but renders like one immediately when played. It may even render in an external player.

Object

The object class. It supports no method calls.

Remote

A class to provide remote access to data and another Jarvar instance.

Screen

A primary character based screen display.

Sound

A playable sound or music from a URL.

Storage

All local, cloud and virtual storage is controlled by this class.

String

A String class. Not all Java SE methods are available. This requires a slight botch on the emitted class file when java.lang.String is implicitly generated. In point of fact the simplest solution is to use a limited java.lang.String package name, although the consistency of this may irk some Java people. Only ever use the String method subset. In the tradition of a bug is just something waiting to be called a feature, String is in java.lang as respect for the introduction of Unicode and UTF-8.

Sync

A threading mechanism that runs after a set interval, with possible non re-entrant repeating to allow threading. The set interval can be zero.

Video

All graphics and video media control is within this class.

WordLister

A subclass of Lister to allow for listing word sequences.

Powered by Google Project Hosting