com.appaapps |
Class | Description |
---|---|
AppState | Thread which constructs the current state of an app |
AppState.Fact | Fact details |
AppState.FactComparator | Sort facts by swing. If it is an ordered app, sort equal entries by fact.index so that we work through the facts in the order they are listed in the App Definition file written in the App Definition Language |
AppState.FactComparator.PhotoFact | PhotoFact |
AppState.FactComparator.Possibility | Question possibilities |
AppState.FactComparator.PossibilityComparator | Sort possibilities by swing. If it is an ordered app, sort equal entries by photo.index so that we work through the photos in the order they are listed in the App Definition file written in the App Definition Language |
AppState.FactComparator.Question | Question a user with either a photo and its title or a photofact (but not both) |
AppState.FactComparator.Question.Response | Rate the user response |
AppState.FactComparator.SvgPhoto | The Svg Image element currently being used to display a photo |
AppState.Filter | Filter for a specified type of object |
AppState.Photo | Photo details |
AppState.ShowAndTell | Speech and title for a fact or a photo |
AppState.Speaker | Speaker details |
AppState.Tracker | Track the score of the user of the app: Right/wrong/heard/swing in a saveable manner |
Choices | Choices |
ColoursTransformed | Transformations of a colour |
Fourier | Fourier stream |
Fourier.Impulse | A sine wave |
Gradients | Gradients in various patterns |
Gradients.Pattern | Each gradient pattern should be derived from this class |
Gradients.Tartan | Create a tartan paint gradient |
LayoutText | Draw text to fill a fractional area of a canvas, justifying remaining space |
Log | Logging |
Maths | Various mathematical methods |
Midi | Midi sound player |
RandomChoice | Random choices |
Sound | Sounds |
Speech | Speech played from mp3 files |
Svg | Structured Vector Graphics. Svg elements occupy fractions of the canvas which is assumed to have the approximate aspect ratio specified when creating the Svg. The elements then try to fit themselves into their fractional areas as best they can. |
Svg.AFewChars | A Few chars is just like text except that the gradient is across each character not the entire drawing area |
Svg.Element | Common features of a drawn element |
Svg.Element.CenterToCenter | Animation which expands an element its center is over the centre of the canvas |
Svg.Element2 | Common features of an element drawn with two paints - this is in effect a replacement for ComposeShader which does not seem to work - it always produces a white screen |
Svg.Image | Draw a bitmap image - move it around to show it all within the space available |
Svg.Rectangle | Draw a rectangle |
Svg.Text | Draw text |
Unzip | A thread to unzip a file |
Thread which constructs the current state of an app
Returns | Method | Signature | Attributes | Line | Description |
---|---|---|---|---|---|
AppState | AppState | void | public constructor | 67 | Create the app state from the details unpacked from the zip file - the real work is done by run() when we start this thread |
void | run | void | public | 75 | Construct the current state of the app by unpacking its description |
void | finished | void | public | 115 | Override called at end of construction thread |
void | save | void | public | 118 | Save app state to a known file |
void | restore | void | public | 138 | Restore app state from a known file |
Create the app state from the details unpacked from the zip file - the real work is done by run() when we start this thread