jautil.install
Class AvatarsFolderDialog

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

public final class AvatarsFolderDialog
extends java.lang.Object

A wrapper for a JFileChooser, used to determine a local avatar definitions folder.


Constructor Summary
AvatarsFolderDialog()
          Constructs a new avatar folders dialog.
 
Method Summary
 java.io.File getExistingFolder()
          Prestents a dialog asking the user to select an existing avatar definitions folder, and returns the folder selected by the user, or null if the user did not select one.
 java.io.File getInstallFolder()
          Presents a dialog asking the user to select the parent folder for a new avatar definitions folder, and returns the the parent folder selected by the user, or null if the user did not select one.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvatarsFolderDialog

public AvatarsFolderDialog()
Constructs a new avatar folders dialog.

Method Detail

getInstallFolder

public java.io.File getInstallFolder()
Presents a dialog asking the user to select the parent folder for a new avatar definitions folder, and returns the the parent folder selected by the user, or null if the user did not select one.


getExistingFolder

public java.io.File getExistingFolder()
Prestents a dialog asking the user to select an existing avatar definitions folder, and returns the folder selected by the user, or null if the user did not select one.