Examples of revalidate()


Examples of TimeTable.JTableRuler.revalidate()

        scaler.setMinHourHeight(val);
        for(int i=0; i<planPlacement.getComponentCount(); i++) {
            Component c = planPlacement.getComponent(i);
            if(c instanceof JTableRuler) {
                JTableRuler ruler = (JTableRuler) c;
                ruler.revalidate();
            }
        }
        for(int i=0; i<realPlacement.getComponentCount(); i++) {
            Component c = realPlacement.getComponent(i);
            if(c instanceof JTableRuler) {
View Full Code Here

Examples of classes.SyberiadaMenu.revalidate()

        });
        intro.whenDisappearDone(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                menu.init();
                menu.revalidate();
                menu.repaint();
            }
        });
        this.add(sPanel);
        this.validate();
View Full Code Here

Examples of classes.SyberiadaPanel.revalidate()

        intro.appear(1f, 5000, 1500); //5000 1000
        intro.whenAppearDone(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                sPanel.add(sPanel2);
                sPanel2.revalidate();
                sPanel.add(background);
                intro.disappear(0f, 1000, 3000); //1000 3000
            }
        });
        intro.whenDisappearDone(new ActionListener() {
View Full Code Here

Examples of com.alee.laf.panel.WebPanel.revalidate()

            public void propertyChange ( final PropertyChangeEvent evt )
            {
                approveButton.setPreferredSize ( null );
                cancelButton.setPreferredSize ( null );
                SwingUtils.equalizeComponentsSize ( approveButton, cancelButton );
                buttonsPanel.revalidate ();
            }
        };
        approveButton.addPropertyChangeListener ( AbstractButton.TEXT_CHANGED_PROPERTY, pcl );
        cancelButton.addPropertyChangeListener ( AbstractButton.TEXT_CHANGED_PROPERTY, pcl );
View Full Code Here

Examples of com.alee.laf.scroll.WebScrollPane.revalidate()

                    final Dimension ps = scrollPane.getLayout ().preferredLayoutSize ( scrollPane );
                    final Dimension newPs = new Dimension ( startDim.width + ( ltr ? p.x - start.x : start.x - p.x ),
                            startDim.height + ( p.y - start.y ) * 2 );

                    scrollPane.setPreferredSize ( SwingUtils.max ( ps, newPs ) );
                    scrollPane.revalidate ();
                    scrollPane.repaint ();
                }
            }

            @Override
View Full Code Here

Examples of com.alee.managers.popup.PopupLayer.revalidate()

        {
            final PopupLayer popupLayer = entry.getValue ();
            if ( !layers.contains ( popupLayer ) )
            {
                layers.add ( popupLayer );
                popupLayer.revalidate ();
            }
        }

        // Updating window notifications layout
        screenLayout.layoutScreen ();
View Full Code Here

Examples of com.codename1.ui.Container.revalidate()

   */
  public void onDisposeLogin(final Form backForm, final WebBrowser webBrowser) {
    webBrowser.stop();
    Container parent = webBrowser.getParent();
    parent.removeComponent(webBrowser);
    parent.revalidate();
    if (backForm != null) {
      backForm.showBack();
    }
  }

View Full Code Here

Examples of com.mxgraph.swing.mxGraphOutline.revalidate()

         */
        public void actionPerformed(ActionEvent e)
        {
          final mxGraphOutline outline = editor.getGraphOutline();
          outline.setVisible(!outline.isVisible());
          outline.revalidate();

          SwingUtilities.invokeLater(new Runnable()
          {
            /*
             * (non-Javadoc)
 
View Full Code Here

Examples of com.mxgraph.view.mxGraphView.revalidate()

      mxGraphics2DCanvas canvas = createCanvas();
      canvas.setGraphics((Graphics2D) g);
      canvas.setScale(1 / pageScale);

      view.revalidate();

      mxRectangle graphBounds = graph.getGraphBounds();
      Dimension pSize = new Dimension((int) Math.ceil(graphBounds.getX()
          + graphBounds.getWidth()) + 1, (int) Math.ceil(graphBounds
          .getY() + graphBounds.getHeight()) + 1);
View Full Code Here

Examples of com.volantis.shared.dependency.Dependency.revalidate()

        Freshness aggregate = Freshness.FRESH;
        for (int i = 0; i < dependencies.length &&
                aggregate != Freshness.STALE; i++) {

            Dependency dependency = dependencies[i];
            Freshness freshness = dependency.revalidate(context);
            aggregate = aggregate.combine(freshness);
        }

        return aggregate;
    }
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.