public final class AvatarsAccessChooser
extends java.lang.Object
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.Modifier and Type | Class and Description |
---|---|
static class |
AvatarsAccessChooser.AccessChoice
Defines the choices for access to avatar definitions:
local vs.
|
Constructor and Description |
---|
AvatarsAccessChooser()
Constructs a new avatars access chooser.
|
Modifier and Type | Method and Description |
---|---|
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. |
public AvatarsAccessChooser()
public AvatarsAccessChooser.AccessChoice getAccessChoice()
AvatarsAccessChooser.AccessChoice
defining the outcome of
the most recent choice dialog presentation.public void showChoiceDialogFull()
AvatarsAccessChooser.AccessChoice
to reflect the outcome.public void showChoiceDialogNoInstall()
AvatarsAccessChooser.AccessChoice
to reflect the outcome.public void showChoiceDialogNoExisting()
AvatarsAccessChooser.AccessChoice
to reflect the outcome.