com.threerings.getdown.data
Class Application.UpdateInterface

java.lang.Object
  extended by com.threerings.getdown.data.Application.UpdateInterface
Enclosing class:
Application

public static class Application.UpdateInterface
extends Object

Used to communicate information about the UI displayed when updating the application.


Nested Class Summary
static class Application.UpdateInterface.Step
          The major steps involved in updating, along with some arbitrary percentages assigned to them, to mark global progress.
 
Field Summary
 Color background
          A background color, just in case.
 String backgroundImage
          The path (relative to the appdir) to a single background image.
 String errorBackground
          The error background image for RotatingBackgrounds.
 String[] iconImages
          The paths (relative to the appdir) of images for the window icon.
 String installError
          Where to point the user for help with install errors.
 String name
          The human readable name of this application.
 Rectangle patchNotes
          The dimensions of the patch notes button.
 String patchNotesUrl
          The patch notes URL.
 Rectangle playAgain
          The dimensions of the play again button.
 String playAgainImage
          The path (relative to the appdir) to a single play again image.
 Rectangle progress
          The dimensions of the progress bar.
 Color progressBar
          The color of the progress bar.
 String progressImage
          The path (relative to the appdir) to the progress bar image.
 Color progressText
          The color of the progress text.
 String[] rotatingBackgrounds
          Background image specifiers for RotatingBackgrounds.
 Rectangle status
          The dimensions of the status display.
 Color statusText
          The color of the status text.
 Map<Application.UpdateInterface.Step,List<Integer>> stepPercentages
          The global percentages for each step.
 Color textShadow
          The color of the text shadow.
 
Constructor Summary
Application.UpdateInterface()
           
 
Method Summary
 String toString()
          Generates a string representation of this instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name
The human readable name of this application.


background

public Color background
A background color, just in case.


rotatingBackgrounds

public String[] rotatingBackgrounds
Background image specifiers for RotatingBackgrounds.


errorBackground

public String errorBackground
The error background image for RotatingBackgrounds.


iconImages

public String[] iconImages
The paths (relative to the appdir) of images for the window icon.


backgroundImage

public String backgroundImage
The path (relative to the appdir) to a single background image.


progressImage

public String progressImage
The path (relative to the appdir) to the progress bar image.


progress

public Rectangle progress
The dimensions of the progress bar.


progressText

public Color progressText
The color of the progress text.


progressBar

public Color progressBar
The color of the progress bar.


status

public Rectangle status
The dimensions of the status display.


statusText

public Color statusText
The color of the status text.


textShadow

public Color textShadow
The color of the text shadow.


installError

public String installError
Where to point the user for help with install errors.


patchNotes

public Rectangle patchNotes
The dimensions of the patch notes button.


patchNotesUrl

public String patchNotesUrl
The patch notes URL.


playAgain

public Rectangle playAgain
The dimensions of the play again button.


playAgainImage

public String playAgainImage
The path (relative to the appdir) to a single play again image.


stepPercentages

public Map<Application.UpdateInterface.Step,List<Integer>> stepPercentages
The global percentages for each step. A step may have more than one, and the lowest reasonable one is used if a step is revisited.

Constructor Detail

Application.UpdateInterface

public Application.UpdateInterface()
Method Detail

toString

public String toString()
Generates a string representation of this instance.

Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.