private void initComponents(boolean bbsAllowed, ValueModel triggerChannel)
{
initRadioButtons(bbsAllowed, triggerChannel);
tfDeliciousUser = new JTextField();
tfDeliciousUser.setDocument(new DocumentAdapter(new BufferedValueModel(
new PropertyAdapter(this.userPrefs, UserPreferences.PROP_TAGS_DELICIOUS_USER),
triggerChannel)));
tfDeliciousPassword = new JPasswordField();
tfDeliciousPassword.setDocument(new DocumentAdapter(new BufferedValueModel(
new PropertyAdapter(this.userPrefs, UserPreferences.PROP_TAGS_DELICIOUS_PASSWORD),
triggerChannel)));
ValueModel autoFetchModel = new BufferedValueModel(
new PropertyAdapter(userPrefs, UserPreferences.PROP_TAGS_AUTOFETCH),
triggerChannel);
chAutoFetch = ComponentsFactory.createCheckBox(
Strings.message("userprefs.tab.tags.autofetch"),
new ToggleButtonAdapter(autoFetchModel));
lbBBSWording = ComponentsFactory.createWrappedMultilineLabel(
Strings.message("userprefs.tab.tags.wording.bbservice"));
lbDIUWording = ComponentsFactory.createWrappedMultilineLabel(
Strings.message("userprefs.tab.tags.wording.delicious"));
chPinTagging = ComponentsFactory.createCheckBox(
"Tag pins with",
new ToggleButtonAdapter(new BufferedValueModel(
new PropertyAdapter(userPrefs, UserPreferences.PROP_PIN_TAGGING),
triggerChannel)));
tfPinTags = new JTextField();
tfPinTags.setDocument(new DocumentAdapter(new BufferedValueModel(
new PropertyAdapter(userPrefs, UserPreferences.PROP_PIN_TAGS),
triggerChannel)));
}