public class UserInputFields
extends java.lang.Object
Constructor and Description |
---|
UserInputFields(java.awt.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 and Description |
---|---|
boolean |
buildFieldsPanel(javax.swing.JPanel fieldsPanel,
Jets3tProperties uploaderProperties)
Builds a user input panel matching the fields specified in the uploader.properties file.
|
java.util.Properties |
getUserInputsAsProperties(boolean hashPasswords) |
boolean |
isUserInputFieldsAvailable() |
public UserInputFields(java.awt.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(javax.swing.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 java.util.Properties getUserInputsAsProperties(boolean hashPasswords)
public boolean isUserInputFieldsAvailable()