Package org.jdesktop.swingx

Examples of org.jdesktop.swingx.VerticalLayout


       
        imageView = new JXImageView();
        imageView.setName("imageView");
        add(imageView);
       
        JPanel sidebar = new JPanel(new VerticalLayout());
        openButton = new JButton();
        openButton.setName("openButton");
        sidebar.add(openButton);
       
        saveButton = new JButton();
View Full Code Here


                return SwingConstants.VERTICAL == orientation ? visibleRect.height :
                    visibleRect.width;
            }
           
        };
        container.setLayout(new VerticalLayout(0));
        container.setBorder(BorderFactory.createEmptyBorder());
        for (Demo demo : demoSet) {
            String category = demo.getCategory();
            JXTaskPane taskPane = getTaskPane(category);
            if (taskPane == null) {
View Full Code Here

        label.getBusyPainter().setHighlightColor(new Color(44, 61, 146).darker());
        label.getBusyPainter().setBaseColor(new Color(168, 204, 241).brighter());
        label.setBusy(true);
        add(label, BorderLayout.NORTH);
       
        JPanel control = new JPanel(new VerticalLayout());
        control.setName("controlPanel");
       
        speedSlider = new JSlider();
        speedSlider.setName("speedSlider");
        Dictionary<Integer, JComponent> labels = new Hashtable<Integer, JComponent>();
View Full Code Here

  private Map<String, Metric> metrics = new HashMap<String, Metric>();
  private Map<String, MetricsSection> sections = new HashMap<String, MetricsSection>();

  public MetricsPanel()
  {
    super( new VerticalLayout() );
    setBackground( Color.WHITE );
  }
View Full Code Here

            }
        });
    }
   
    public TitledSeparatorDemo() {
        setLayout(new VerticalLayout(3));
       
        createTitledSeparatorDemo();
       
        Application.getInstance().getContext().getResourceMap(getClass()).injectComponents(this);
       
View Full Code Here

       
        loginLauncher = new JButton();
        loginLauncher.setName("launcher");
        add(loginLauncher, BorderLayout.NORTH);
       
        JPanel p = new JPanel(new VerticalLayout());
        add(p);
       
        allowLogin = new JToggleButton();
        allowLogin.setName("allowLogin");
        p.add(allowLogin);
View Full Code Here

        }
       
        private JPanel getPanelMenu() {
          if (panelMenus == null) {
            panelMenus = new JPanel();
            panelMenus.setLayout(new VerticalLayout());
            panelMenus.setBackground(UIManager.getColor("MenuItem.background"));
            panelMenus.setBorder(BorderFactory.createEmptyBorder());
          }
          return panelMenus;
        }
View Full Code Here

   *
   * @return the layout
   */
  @NotNull
  protected VerticalLayout createLayout() {
    return new VerticalLayout( UIConstants.ONE_SPACE );
  }
View Full Code Here

  private JPanel createProvidersPanel( @NotNull List<? extends ComponentProvider> providers ) {
    if ( providers.isEmpty() ) {
      throw new IllegalArgumentException( "Need at least one provider" );
    }

    JPanel panel = getComponentFactory().createPanel( new VerticalLayout( UIConstants.ONE_SPACE ) );

    for ( ComponentProvider provider : providers ) {
      panel.add( provider.createComponent() );
    }
    return panel;
View Full Code Here

    CommandsBarButtonConfigurer commandsBarButtonConfigurer = new CommandsBarButtonConfigurer();


    //Now create the button panel
    //    JPanel buttonPanel = getComponentFactory().createPanel( new VerticalLayout( UIConstants.ONE_SPACE ) );
    JPanel buttonPanel = getComponentFactory().createPanel( new VerticalLayout() );
    for ( Iterator<Collection<? extends ActionCommand>> it = commands.iterator(); it.hasNext(); ) {
      Collection<? extends ActionCommand> commandsCollection = it.next();
      for ( ActionCommand command : commandsCollection ) {
        commandConfigurer.configure( command );
View Full Code Here

TOP

Related Classes of org.jdesktop.swingx.VerticalLayout

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.