Package com.gwtext.client.widgets.form

Examples of com.gwtext.client.widgets.form.Checkbox


    this.detailsFormPanel.setLabelAlign(Position.RIGHT);
    this.detailsFormPanel.setLabelWidth(110);
    this.detailsFormPanel.setButtonAlign(Position.RIGHT);
    this.detailsFormPanel.setAutoHeight(true);

    Checkbox standardCheckbox = new Checkbox(TextProvider.get().identities_panel_label_standard(), "standard");
    standardCheckbox.setDisabled(true);
    this.detailsFormPanel.add(standardCheckbox);

    TextField textfield = null;
    KeyListener keyListener = new KeyListener() {
View Full Code Here


    this.priorityCombo.setValueField( "code" );
    this.priorityCombo.setDisplayField( "text" );
    this.priorityCombo.setEditable( false );
    multiField.addToRow( this.priorityCombo, 170 );

    this.htmlCheck = new Checkbox();
    this.htmlCheck.addListener( new HtmlCheckboxListener() );
    this.htmlCheck.setHideLabel( true );
    this.htmlCheck.setWidth( 20 );
    multiField.addToRow( this.htmlCheck, 30 );
    multiField.addToRow( new Label( "HTML" ), 40 );

    this.acknowledgementCheck = new Checkbox();
    this.acknowledgementCheck.setHideLabel( true );
    this.acknowledgementCheck.setWidth( 20 );
    multiField.addToRow( this.acknowledgementCheck, 30 );
    multiField.addToRow( new Label( TextProvider.get().window_compose_message_label_acknowledgement() ),
        new ColumnLayoutData( 1.0 ) );
View Full Code Here

    this.timezoneCombo.setTpl( COMBO_TEMPLATE );

    commonFieldset.add( this.timezoneCombo, new AnchorLayoutData( "90%" ) );
    commonFieldset.add( new TextField( TextProvider.get().preferences_panel_label_items(), "pageCount" ),
        new AnchorLayoutData( "40%" ) );
    commonFieldset.add( new Checkbox( TextProvider.get().preferences_panel_label_short_tieme_format(),
        "shortTimeFormat" ) );
    commonFieldset.add( new Checkbox( TextProvider.get().preferences_panel_label_show_html(), "showHtml" ) );
    commonFieldset.add( new Checkbox( TextProvider.get().preferences_panel_label_compose_html(), "createHtmlMsgs" ) );
    this.preferencesFormPanel.add( commonFieldset );

    FieldSet viewFieldset = new FieldSet();
    viewFieldset.setCheckboxToggle( false );
    viewFieldset.setFrame( true );
    viewFieldset.setTitle( TextProvider.get().preferences_panel_label_display() );

    this.readingPanePositionCombo = new ComboBox( TextProvider.get().preferences_panel_label_reading_pane() );
    this.readingPanePositionCombo.setName( "readingPane" );
    this.readingPanePositionCombo.setForceSelection( true );
    this.readingPanePositionCombo.setStore( StoreProvider.get().getReadingPanePostitionsStore() );
    this.readingPanePositionCombo.setDisplayField( "text" );
    this.readingPanePositionCombo.setValueField( "value" );
    this.readingPanePositionCombo.setEditable( false );
    viewFieldset.add( this.readingPanePositionCombo );

    this.reloadPeriodCombo = new ComboBox( TextProvider.get().preferences_panel_label_reload_period() );
    this.reloadPeriodCombo.setName( "messagesReloadPeriod" );
    this.reloadPeriodCombo.setForceSelection( true );
    this.reloadPeriodCombo.setStore( StoreProvider.get().getReloadPeriodStore() );
    this.reloadPeriodCombo.setDisplayField( "text" );
    this.reloadPeriodCombo.setValueField( "value" );
    this.reloadPeriodCombo.setEditable( false );
    viewFieldset.add( this.reloadPeriodCombo );

    this.themeCombo = new ComboBox( TextProvider.get().preferences_panel_label_theme(), "theme" );
    this.themeCombo.setForceSelection( true );
    this.themeCombo.setStore( StoreProvider.get().getThemeStore() );
    this.themeCombo.setDisplayField( "text" );
    this.themeCombo.setValueField( "value" );
    this.themeCombo.setEditable( false );
    this.themeCombo.setTypeAhead( true );
    this.themeCombo.setSelectOnFocus( true );

    viewFieldset.add( this.themeCombo );

    this.preferencesFormPanel.add( viewFieldset );

    FieldSet serverFieldset = new FieldSet();
    serverFieldset.setCheckboxToggle( false );
    serverFieldset.setFrame( true );
    serverFieldset.setTitle( TextProvider.get().preferences_panel_label_mail_server() );

    serverFieldset.add( new Checkbox( TextProvider.get().preferences_panel_label_mark_as_deleted(),
        "markAsDeletedWithoutTrash" ) );
    serverFieldset.add( new Checkbox( TextProvider.get().preferences_panel_label_empty_trash(),
        "emptyTrashAfterLogout" ) );
    this.preferencesFormPanel.add( serverFieldset );

    this.timezoneCombo.getStore().addStoreListener( new StoreListenerAdapter() {
View Full Code Here

        tabPanel.add(createGeneralConfigPanel());
        return tabPanel;
    }

    protected Panel createGeneralConfigPanel() {
        final Checkbox isControllingPortletCheckbox = new Checkbox("Set as controlling portlet (the controlling portlet sets the selection for the entire tab)");
        isControllingPortletCheckbox.setChecked(isControllingPortlet());

        Panel generalPanel = new AbstractValidatableTab() {
            @Override
            public void onSave() {
                if (isControllingPortletCheckbox.getValue()) { //true - is checked
                    setAsControllingPortlet();
                }
                else {
                    if (isControllingPortlet()) {
                        AbstractTab tab = getTab();
View Full Code Here

        add(explanationHtml);

        retiredClassesField = new ClassSelectionField(projectId, "Class(es) to retire");
        add(retiredClassesField, new AnchorLayoutData("100% - 53"));

        retireChildrenCheckbox = new Checkbox("Retire also all children of the selected class(es).");
        add(retireChildrenCheckbox, new AnchorLayoutData("100% - 53"));
        retireChildrenCheckbox.addListener(new CheckboxListenerAdapter() {
            @Override
            public void onCheck(Checkbox field, boolean checked) {
                newParentField.setDisabled(checked);
View Full Code Here

TOP

Related Classes of com.gwtext.client.widgets.form.Checkbox

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.