Package com.alee.extended.panel

Examples of com.alee.extended.panel.GroupPanel


        // Editable list
        WebList editableList = new WebList ( createSampleData () );
        editableList.setVisibleRowCount ( 4 );
        editableList.setSelectedIndex ( 0 );
        editableList.setEditable ( true );
        return new GroupPanel ( new WebScrollPane ( editableList ) );
    }
View Full Code Here


        // Non-editable password field
        WebPasswordField pf2 = new WebPasswordField ( "password", 15 );
        pf2.setEditable ( false );

        return new GroupPanel ( false, pf1, pf2 );
    }
View Full Code Here

        // Simple pane with left title position
        final WebCollapsiblePane leftPane = new WebCollapsiblePane ( icon, "Left pane", createCustomVerContent () );
        leftPane.setTitlePanePostion ( SwingConstants.LEFT );

        return new GroupPanel ( 4, new GroupPanel ( 4, false, topPane, bottomPane ), leftPane );
    }
View Full Code Here

    public Component getPreview ( WebLookAndFeelDemo owner )
    {
        // Simple date field
        WebDateField dateField = new WebDateField ( new Date () );
        dateField.setHorizontalAlignment ( SwingConstants.CENTER );
        return new GroupPanel ( dateField );
    }
View Full Code Here

        // You can show any kind of content inside the tooltip
        final WebLabel tip = new WebLabel ( "Custom content tooltip", loadIcon ( "web.png" ) );
        TooltipManager.setTooltip ( tip, new WheelImage (), TooltipWay.trailing, 0 ).setLeftRightSpacing ( 0 );
        tip.setMargin ( 4 );

        return new GroupPanel ( tip );
    }
View Full Code Here

        radioButtonS.setAnimated ( false );

        // Grouping buttons with custom button group that allows deselection
        UnselectableButtonGroup.group ( radioButtonA, radioButtonS );

        return new GroupPanel ( 4, false, radioButtonA, radioButtonS );
    }
View Full Code Here

    @Override
    public Component getPreview ( final WebLookAndFeelDemo owner )
    {
        // Text-based hotkeys
        final GroupPanel panel1 = new GroupPanel ( 4, new WebHotkeyLabel ( "Shift" ), new WebHotkeyLabel ( "Escape" ),
                new WebHotkeyLabel ( "Shift+Escape" ) );

        // Disabled KeyEvent-based hotkeys
        final GroupPanel panel2 = new GroupPanel ( 4, new WebHotkeyLabel ( KeyEvent.VK_SPACE ),
                new WebHotkeyLabel ( KeyEvent.VK_SPACE, KeyEvent.CTRL_MASK ) );

        // HotkeyData-based hotkeys
        final GroupPanel panel3 = new GroupPanel ( 4, new WebHotkeyLabel ( Hotkey.ALT ), new WebHotkeyLabel ( Hotkey.F4 ),
                new WebHotkeyLabel ( Hotkey.ALT_F4 ) );

        return new GroupPanel ( 4, false, panel1, panel2, panel3 );
    }
View Full Code Here

        memoryBar3.setShowMaximumMemory ( false );
        memoryBar3.setDrawBorder ( false );
        memoryBar3.setFillBackground ( false );
        memoryBar3.setPreferredWidth ( memoryBar3.getPreferredSize ().width + 20 );

        return new GroupPanel ( 4, false, memoryBar1, memoryBar2, memoryBar3 );
    }
View Full Code Here

    public Component getPreview ( final WebLookAndFeelDemo owner )
    {
        // Simple color chooser panel
        WebColorChooserPanel colorChooserPanel = new WebColorChooserPanel ();
        colorChooserPanel.setWebOnlyColors ( false );
        return new GroupPanel ( colorChooserPanel );
    }
View Full Code Here

        // Date field input prompt
        final WebDateField dateField = new WebDateField ();
        dateField.setInputPrompt ( "Enter date..." );
        dateField.setInputPromptPosition ( SwingConstants.CENTER );

        return new GroupPanel ( false, textField, passwordField, dateField );
    }
View Full Code Here

TOP

Related Classes of com.alee.extended.panel.GroupPanel

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.