Package com.alee.extended.breadcrumb

Examples of com.alee.extended.breadcrumb.WebBreadcrumbPanel


    }

    public static void fillBreadcrumb ( final WebBreadcrumb b )
    {
        // Radio buttons panel
        final WebBreadcrumbPanel panel1 = new WebBreadcrumbPanel ( new HorizontalFlowLayout ( 4 ) );
        panel1.add ( new WebRadioButton ( "1" ) );
        panel1.add ( new WebRadioButton ( "2" ) );
        panel1.add ( new WebRadioButton ( "3" ) );
        SwingUtils.groupButtons ( panel1 );
        b.add ( panel1 );

        // Label and text field panel
        final WebBreadcrumbPanel panel2 = new WebBreadcrumbPanel ( new HorizontalFlowLayout () );
        panel2.add ( new WebLabel ( "Field:" ) );
        final WebTextField textField = new WebTextField ( 5 );
        SwingUtils.setFontSize ( textField, 8 );
        panel2.add ( textField );
        b.add ( panel2 );

        // Check box panel
        b.add ( new WebBreadcrumbPanel ( new WebCheckBox ( "Check box" ) ) );
    }
View Full Code Here


                    updateDelay = 0;
                }
            }
        } );
        final WebLabel msLabel = new WebLabel ( "ms" ).setMargin ( 4 );
        final WebBreadcrumbPanel panel = new WebBreadcrumbPanel ();
        panel.setLayout ( new HorizontalFlowLayout ( 4, false ) );
        panel.add ( delayLabel, new CenterPanel ( delayField, false, true ), msLabel );
        updateBreadcrumb.add ( panel );

        statusMessage = new WebBreadcrumbLabel ( "Edit XML at the right side and see UI changes at the left side!", info );
        statusMessage.setStyleId ( "status-message-label" );
        updateBreadcrumb.add ( statusMessage );
View Full Code Here

TOP

Related Classes of com.alee.extended.breadcrumb.WebBreadcrumbPanel

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.