Examples of CheckBoxItem


Examples of org.jboss.as.console.client.widgets.forms.CheckBoxItem

        };

        TextBoxItem protocol = new TextBoxItem("protocol", "Protocol");
        TextBoxItem scheme = new TextBoxItem("scheme", "Scheme");

        CheckBoxItem enabled = new CheckBoxItem("enabled", "Enabled?");

        // defaults
        protocol.setValue("HTTP/1.1");
        scheme.setValue("http");
        enabled.setValue(Boolean.TRUE);

        form.setFields(name,enabled,socket,protocol,scheme);

        final FormHelpPanel helpPanel = new FormHelpPanel(
                new FormHelpPanel.AddressCallback() {
View Full Code Here

Examples of org.jboss.as.console.client.widgets.forms.CheckBoxItem


        TextBoxItem name = new TextBoxItem("name", "Name");
        TextBoxItem jndi = new TextBoxItem("jndiName", "JNDI");

        CheckBoxItem durable = new CheckBoxItem("durable", "Durable?");
        TextBoxItem selector = new TextBoxItem("selector", "Selector")
        {
            @Override
            public boolean isRequired() {
                return false;
View Full Code Here

Examples of org.jboss.as.console.client.widgets.forms.CheckBoxItem

        form.setNumColumns(2);

        TextItem name = new TextItem("name", "Name");
        TextItem jndi = new TextItem("jndiName", "JNDI");

        CheckBoxItem durable = new CheckBoxItem("durable", "Durable?");
        TextBoxItem selector = new TextBoxItem("selector", "Selector");

        form.setFields(name, jndi, durable, selector);
        form.bind(queueTable);
View Full Code Here

Examples of org.jboss.as.console.client.widgets.forms.CheckBoxItem

        final Form<PropertyRecord> form = new Form<PropertyRecord>(PropertyRecord.class);

        TextBoxItem nameItem = new TextBoxItem("key", "Name");
        TextBoxItem valueItem = new TextBoxItem("value", "Value");
        CheckBoxItem bootItem = new CheckBoxItem("bootTime", "Boot-Time");

        if(Console.MODULES.getBootstrapContext().isStandalone())
            form.setFields(nameItem, valueItem);
        else
            form.setFields(nameItem, valueItem, bootItem);
View Full Code Here

Examples of org.jboss.as.console.client.widgets.forms.CheckBoxItem

        final Form<SecurityPattern> form = new Form<SecurityPattern>(SecurityPattern.class);
        form.setNumColumns(2);

        TextBoxItem principal = new TextBoxItem("principal", "Principal");
        TextBoxItem pattern = new TextBoxItem("pattern", "Pattern");
        CheckBoxItem send = new CheckBoxItem("send", "Send?");
        CheckBoxItem consume = new CheckBoxItem("consume", "Consume?");
        CheckBoxItem manage= new CheckBoxItem("manage", "Manage?");

        form.setFields(principal, pattern, send, consume, manage);

        layout.add(form.asWidget());
View Full Code Here

Examples of org.jboss.as.console.client.widgets.forms.CheckBoxItem

        form = new Form<SecurityPattern>(SecurityPattern.class);
        form.setNumColumns(2);
        form.bind(secTable);

        CheckBoxItem send = new CheckBoxItem("send", "Send?");
        CheckBoxItem consume = new CheckBoxItem("consume", "Consume?");
        CheckBoxItem manage= new CheckBoxItem("manage", "Manage?");

        CheckBoxItem createDQ = new CheckBoxItem("createDurableQueue", "CreateDurable?");
        CheckBoxItem deleteDQ = new CheckBoxItem("deleteDurableQueue", "DeleteDurable?");

        CheckBoxItem createNDQ = new CheckBoxItem("createNonDurableQueue", "CreateNonDurable?");
        CheckBoxItem deleteNDQ = new CheckBoxItem("deleteNonDurableQueue", "DeleteNonDurable?");


        form.setFields(send, consume, manage);
        form.setFieldsInGroup("Advanced", new DisclosureGroupRenderer(), createDQ, deleteDQ, createNDQ, deleteNDQ);
View Full Code Here

Examples of org.jboss.ballroom.client.widgets.forms.CheckBoxItem

        final TextItem nameItem = new TextItem("name", "Name");
        TextBoxItem jndiItem = new JndiNameItem("jndiName", "JNDI");
        StatusItem enabledFlagItem = new StatusItem("enabled", "Is enabled?");
        TextItem driverItem = new TextItem("driverName", "Driver");

        CheckBoxItem shareStatements = new CheckBoxItem("sharePreparedStatements", "Share Prepared Statements");
        NumberBoxItem statementCacheSize = new NumberBoxItem("prepareStatementCacheSize", "Statement Cache Size");

        form.setFields(nameItem, jndiItem, enabledFlagItem, driverItem, shareStatements, statementCacheSize);

        form.setEnabled(false); // currently not editable
View Full Code Here

Examples of org.jboss.ballroom.client.widgets.forms.CheckBoxItem

    Widget asWidget() {

        final NumberBoxItem maxCon = new NumberBoxItem("maxPoolSize", "Max Pool Size");
        final NumberBoxItem minCon = new NumberBoxItem("minPoolSize", "Min Pool Size");
        CheckBoxItem strictMin = new CheckBoxItem("poolStrictMin", "Strict Minimum");
        CheckBoxItem prefill = new CheckBoxItem("poolPrefill", "Prefill enabled");

        VerticalPanel panel = new VerticalPanel();
        panel.setStyleName("fill-layout");
        form = new Form<PoolConfig>(PoolConfig.class) {
          @Override
View Full Code Here

Examples of org.jboss.ballroom.client.widgets.forms.CheckBoxItem

        form = new Form<MailSession>(MailSession.class);
        form.setNumColumns(2);

        TextItem jndi = new TextItem("jndiName", "JNDI Name");
        CheckBoxItem debug = new CheckBoxItem("debug", "Debug Enabled?");
        TextBoxItem from = new TextBoxItem("from", "Default From");

        form.setFields(jndi, debug, from);
        form.setEnabled(false);
View Full Code Here

Examples of org.jboss.ballroom.client.widgets.forms.CheckBoxItem

        protocol.setValueMap(new String[]{"HTTP/1.1", "AJP/1.3"});

        scheme.setDefaultToFirstOption(true);
        scheme.setValueMap(new String[]{"http", "https"});

        CheckBoxItem state = new CheckBoxItem("enabled", "Enabled?");

        form.setFields(name, socketBinding, protocol, scheme, state);
        form.bind(connectorTable);

        final FormHelpPanel helpPanel = new FormHelpPanel(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.