public class UserInputFields extends Object
| Constructor | Description |
|---|---|
UserInputFields(Insets defaultInsets,
HyperlinkActivatedListener hyperlinkListener,
SkinsFactory skinsFactory) |
Constructs the object ready to generate GUI elements to represent the configured
user input fields.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
buildFieldsPanel(JPanel fieldsPanel,
Jets3tProperties uploaderProperties) |
Builds a user input panel matching the fields specified in the uploader.properties file.
|
Properties |
getUserInputsAsProperties(boolean hashPasswords) |
|
boolean |
isUserInputFieldsAvailable() |
public UserInputFields(Insets defaultInsets, HyperlinkActivatedListener hyperlinkListener, SkinsFactory skinsFactory)
defaultInsets - the default insets to use when displaying the GUI elements.hyperlinkListener - a class to listen for hyperlink click events that may be generated by JHtmlLabel.
This class may be null, in which case these events will be ignored.skinsFactory - the skin factory used to create GUI elements.public boolean buildFieldsPanel(JPanel fieldsPanel, Jets3tProperties uploaderProperties)
fieldsPanel - the panel component to add prompt and user input components to.uploaderProperties - properties specific to the Uploader application that includes the field.* settings
necessary to build the User Inputs screen.public Properties getUserInputsAsProperties(boolean hashPasswords)
public boolean isUserInputFieldsAvailable()