public class UserInputFields
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private HyperlinkActivatedListener |
hyperlinkListener |
private java.awt.Insets |
insetsDefault |
private java.awt.Insets |
insetsNone |
private static org.apache.commons.logging.Log |
log |
private SkinsFactory |
skinsFactory |
private java.util.Map |
userInputComponentsMap |
| 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() |
private static final org.apache.commons.logging.Log log
private java.awt.Insets insetsDefault
private HyperlinkActivatedListener hyperlinkListener
private SkinsFactory skinsFactory
private java.awt.Insets insetsNone
private java.util.Map userInputComponentsMap
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()