jautil.install
Class AvatarsAccessChooser

java.lang.Object
  extended by jautil.install.AvatarsAccessChooser

public final class AvatarsAccessChooser
extends java.lang.Object

An AvatarsAccessChooser is able to present several forms of choice dialog in order to determine the user's preferences for access to avatar definition files, in particular whether remote or local definition files should be used, and in the latter case whether local files already exist or whether they should be downloaded from a remote site.


Nested Class Summary
static class AvatarsAccessChooser.AccessChoice
          Defines the choices for access to avatar definitions: local vs.
 
Constructor Summary
AvatarsAccessChooser()
          Constructs a new avatars access chooser.
 
Method Summary
 AvatarsAccessChooser.AccessChoice getAccessChoice()
          Returns the AvatarsAccessChooser.AccessChoice defining the outcome of the most recent choice dialog presentation.
 void showChoiceDialogFull()
          Presents a choice dialog offering all three options to the user -- "remote", "existing local", "install local" -- and sets this chooser's AvatarsAccessChooser.AccessChoice to reflect the outcome.
 void showChoiceDialogNoExisting()
          Presents a choice dialog offering the user just the options "remote", "install local" -- and sets this chooser's AvatarsAccessChooser.AccessChoice to reflect the outcome.
 void showChoiceDialogNoInstall()
          Presents a choice dialog offering the user just the options "remote" and "existing local", and sets this chooser's AvatarsAccessChooser.AccessChoice to reflect the outcome.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvatarsAccessChooser

public AvatarsAccessChooser()
Constructs a new avatars access chooser.

Method Detail

getAccessChoice

public AvatarsAccessChooser.AccessChoice getAccessChoice()
Returns the AvatarsAccessChooser.AccessChoice defining the outcome of the most recent choice dialog presentation.


showChoiceDialogFull

public void showChoiceDialogFull()
Presents a choice dialog offering all three options to the user -- "remote", "existing local", "install local" -- and sets this chooser's AvatarsAccessChooser.AccessChoice to reflect the outcome.


showChoiceDialogNoInstall

public void showChoiceDialogNoInstall()
Presents a choice dialog offering the user just the options "remote" and "existing local", and sets this chooser's AvatarsAccessChooser.AccessChoice to reflect the outcome.


showChoiceDialogNoExisting

public void showChoiceDialogNoExisting()
Presents a choice dialog offering the user just the options "remote", "install local" -- and sets this chooser's AvatarsAccessChooser.AccessChoice to reflect the outcome.