Package freenet.config

Examples of freenet.config.EnumerableOptionCallback


    addSecurityTableCell(tableHeader, tableRow, "None", helper, incognito);

    HTMLNode languageForm = helper.addFormChild(contentNode, ".", "languageForm");
    //Add option dropdown for languages
    Option<?> language = config.get("node").getOption("l10n");
    EnumerableOptionCallback l10nCallback = (EnumerableOptionCallback)language.getCallback();
    HTMLNode dropDown = ConfigToadlet.addComboBox(language.getValueDisplayString(), l10nCallback, language.getName(), false);
    //Submit automatically upon selection if Javascript.
    dropDown.addAttribute("onchange", "this.form.submit()");
    languageForm.addChild(dropDown);
    //Otherwise fall back to submit button if no Javascript
View Full Code Here

TOP

Related Classes of freenet.config.EnumerableOptionCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.