Examples of WebScrollBar


Examples of com.alee.laf.scroll.WebScrollBar

        final WebLabel label = new WebLabel ( "Just a label", WebLookAndFeel.getIcon ( 16 ) );
        addViewComponent ( "JLabel", label, label, true );

        //

        final WebScrollBar hsb = new WebScrollBar ( WebScrollBar.HORIZONTAL, 45, 10, 0, 100 );
        addViewComponent ( "JScrollBar (horizontal)", hsb, hsb, false );

        //

        final WebScrollBar vsb = new WebScrollBar ( WebScrollBar.VERTICAL, 45, 10, 0, 100 ).setPreferredHeight ( 100 );
        addViewComponent ( "JScrollBar (vertical)", vsb, vsb, true );

        //

        final WebLabel scrollComponent = new WebLabel ();
View Full Code Here

Examples of com.alee.laf.scroll.WebScrollBar

                                    final WebScrollPane scrollPane = new WebScrollPane ( historyList, false, false );
                                    scrollPane.setOpaque ( false );
                                    scrollPane.getViewport ().setOpaque ( false );
                                    scrollPane.setShadeWidth ( 0 );

                                    final WebScrollBar vsb = scrollPane.getWebVerticalScrollBar ();
                                    vsb.setMargin ( WebComboBoxStyle.scrollBarMargin );
                                    vsb.setPaintButtons ( WebComboBoxStyle.scrollBarButtonsVisible );
                                    vsb.setPaintTrack ( WebComboBoxStyle.scrollBarTrackVisible );
                                    LafUtils.setScrollBarStyleId ( scrollPane, "combo-box" );

                                    typeChooser.add ( scrollPane );

                                    final Rectangle wb =
View Full Code Here

Examples of com.alee.laf.scroll.WebScrollBar

                final WebScrollPane scrollPane = new WebScrollPane ( historyList, false, false );
                scrollPane.setOpaque ( false );
                scrollPane.getViewport ().setOpaque ( false );
                scrollPane.setShadeWidth ( 0 );

                final WebScrollBar vsb = scrollPane.getWebVerticalScrollBar ();
                vsb.setMargin ( WebComboBoxStyle.scrollBarMargin );
                vsb.setPaintButtons ( WebComboBoxStyle.scrollBarButtonsVisible );
                vsb.setPaintTrack ( WebComboBoxStyle.scrollBarTrackVisible );

                LafUtils.setScrollBarStyleId ( scrollPane, "combo-box" );

                historyPopup.add ( scrollPane );
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.