Package org.jboss.as.console.client.widgets.forms

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


        TextBoxItem pattern = new TextBoxItem("pattern", "Pattern");

        TextBoxItem dlQ = new TextBoxItem("deadLetterQueue", "Dead Letter Queue");
        TextBoxItem expQ= new TextBoxItem("expiryQueue", "Expiry Queue");
        NumberBoxItem redelivery = new NumberBoxItem("redeliveryDelay", "Redelivery Delay");

        form.setFields(pattern, dlQ, expQ, redelivery);

        // defaults
        AddressingPattern defaultPattern = findDefaultPattern();
        if(defaultPattern!=null) {
            dlQ.setValue(defaultPattern.getDeadLetterQueue());
            expQ.setValue(defaultPattern.getExpiryQueue());
            redelivery.setValue(defaultPattern.getRedeliveryDelay());
        }
        layout.add(form.asWidget());

        DialogueOptions options = new DialogueOptions(
                new ClickHandler() {
View Full Code Here


        // TODO: https://issues.jboss.org/browse/AS7-661
        TextItem groupItem = new TextItem("group", Console.CONSTANTS.common_label_serverGroup());

        // ------------------------------------------------------

        final NumberBoxItem portOffset = new NumberBoxItem("portOffset", Console.CONSTANTS.common_label_portOffset());

        socketItem = new ComboBoxItem("socketBinding", Console.CONSTANTS.common_label_socketBinding())
        {
            @Override
            public boolean validate(String value) {
View Full Code Here

        CheckBoxItem startedItem = new CheckBoxItem("autoStart", Console.CONSTANTS.common_label_autoStart());

        // 'socket-binding-group' inherited from group
        // 'jvm' inherited from group

        NumberBoxItem portOffset = new NumberBoxItem("portOffset", Console.CONSTANTS.common_label_portOffset());

        List<String> groups = new ArrayList<String>(serverGroups.size());
        for(ServerGroupRecord rec : serverGroups)
            groups.add(rec.getGroupName());
View Full Code Here

        layout.setStyleName("window-content");

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

        TextBoxItem nameItem = new TextBoxItem("name", "Name");
        NumberBoxItem portItem = new NumberBoxItem("port", "Port");
        final ComboBoxItem groupItem = new ComboBoxItem("group", "Binding Group");

        groupItem.setValueMap(bindingGroups);

View Full Code Here

        StatusItem development= new StatusItem("development", "Development?");

        StatusItem keepGenerated= new StatusItem("keepGenerated", "Keep Generated?");

        NumberBoxItem checkInterval = new NumberBoxItem("checkInterval", "Check Interval");

        StatusItem sourceFragment= new StatusItem("displaySource", "Display Source?");


        form.setFields(disabled, development);
View Full Code Here

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

        TextItem nameItem = new TextItem("name", "Name");
        NumberBoxItem portItem = new NumberBoxItem("port", "Port");
        TextItem interfaceItem = new TextItem("interface", "Interface");
        TextItem multicastItem = new TextItem("multiCastAddress", "Multicast Address");
        NumberBoxItem multicastPortItem = new NumberBoxItem("multiCastPort", "Multicast Port");

        form.setFields(nameItem, portItem, interfaceItem, multicastItem, multicastPortItem);
        form.bind(socketTable.getCellTable());

        Widget formWidget = form.asWidget();
View Full Code Here

        form.setNumColumns(2);
        form.bind(addrTable);

        TextBoxItem dlQ = new TextBoxItem("deadLetterQueue", "Dead Letter Queue");
        TextBoxItem expQ= new TextBoxItem("expiryQueue", "Expiry Queue");
        NumberBoxItem redelivery = new NumberBoxItem("redeliveryDelay", "Redelivery Delay");

        form.setFields(dlQ, expQ, redelivery);

        StaticHelpPanel helpPanel = new StaticHelpPanel(MessagingDescription.getAddressingDescription());
        layout.add(helpPanel.asWidget());
View Full Code Here

        groupItem = new ComboBoxItem("group", "Server Group");

        // ------------------------------------------------------

        socketItem = new ComboBoxItem("socketBinding", "Socket Binding");
        NumberBoxItem portOffset = new NumberBoxItem("portOffset", "Port Offset");

        jvmItem = new ComboBoxItem("jvm", "Virtual Machine");

        form.setFields(nameItem, startedItem, groupItem);
        form.setFieldsInGroup(
View Full Code Here

                return "Not empty, no whitespace";
            }
        };

        CheckBoxItem startedItem = new CheckBoxItem("autoStart", "Start Instances?");
        NumberBoxItem portOffset = new NumberBoxItem("portOffset", "Port Offset");


        List<String> groups = new ArrayList<String>(serverGroups.size());
        for(ServerGroupRecord rec : serverGroups)
            groups.add(rec.getGroupName());
View Full Code Here

TOP

Related Classes of org.jboss.as.console.client.widgets.forms.NumberBoxItem

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.