|
Classes
All the platform abstraction classes of the library.
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. ActionA command or always available menu item or button which can be added to any or many Screen objects. AudioResponsible for all audio processing and IO. CompilerA 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. EditorA String editing Screen. ErrorThe java error class. OutOfMemoryErrorExceptionThe jarvar exception class. ScriptLanguage (the macro language) has many exceptions, but the jarvar framework does not. It only supports ArithmeticExceptionArrayIndexOutOfBoundsExceptionClassCastExceptionNullPointerExceptionGraphicsA bit mapped full colour display Screen. It can also remain un-displayed and be draw upon, or used to draw with. KeysThis does all key input and all command input. Menus also fall into this class ListerA selection from options menu style Screen. MainThis class is for building an application with. It supports starting and stopping the application. MovieA 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. ObjectThe object class. It supports no method calls. RemoteA class to provide remote access to data and another Jarvar instance. ScreenA primary character based screen display. SoundA playable sound or music from a URL. StorageAll local, cloud and virtual storage is controlled by this class. StringA 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. SyncA threading mechanism that runs after a set interval, with possible non re-entrant repeating to allow threading. The set interval can be zero. VideoAll graphics and video media control is within this class. WordListerA subclass of Lister to allow for listing word sequences. | |