Examples of repaint()


Examples of org.apache.pivot.wtk.Container.repaint()

            x = (int)((x * scaleX) + component.getX() + tx);
            y = (int)((y * scaleY) + component.getY() + ty);
            width = (int)Math.ceil(width * scaleX);
            height = (int)Math.ceil(height * scaleY);

            parent.repaint(x, y, width, height);
        }
    }

    @Override
    public Bounds getBounds(Component component) {
View Full Code Here

Examples of org.apache.pivot.wtk.Display.repaint()

            }

            Display display = sheet.getDisplay();
            if (display != null) {
                Bounds decoratedBounds = sheet.getDecoratedBounds();
                display.repaint(decoratedBounds.x, decoratedBounds.y,
                    decoratedBounds.width, decoratedBounds.height + dy);

                Dimensions size = sheet.getPreferredSize();
                dy = -(int)(size.height * scale);
                translationDecorator.setY(dy);
View Full Code Here

Examples of org.apache.pivot.wtk.ScrollPane.repaint()

                scrollPane.setConsumeRepaint(false);
            }

            boolean repaintAllViewport = scrollPane.isRepaintAllViewport();
            if (!repaintAllViewport) {
                scrollPane.repaint(blitX, (columnHeaderHeight + (deltaScrollTop > 0 ? blitHeight : 0)),
                    blitWidth, Math.abs(deltaScrollTop), true);
            } else {
                Bounds viewportBounds = getViewportBounds();
                scrollPane.repaint(viewportBounds.x, viewportBounds.y,
                    viewportBounds.width, viewportBounds.height, true);
View Full Code Here

Examples of org.apache.pivot.wtk.TextArea.repaint()

        public void run() {
            caretOn = !caretOn;

            if (selection == null) {
                TextArea textArea = (TextArea)getComponent();
                textArea.repaint(caret.x, caret.y, caret.width, caret.height, true);
            }
        }
    }

    private class ScrollSelectionCallback implements Runnable {
View Full Code Here

Examples of org.apache.pivot.wtk.TextInput.repaint()

        public void run() {
            caretOn = !caretOn;

            if (caret != null) {
                TextInput textInput = (TextInput)getComponent();
                textInput.repaint(caret.x, caret.y, caret.width, caret.height, true);
            }
        }
    }

    private class ScrollSelectionCallback implements Runnable {
View Full Code Here

Examples of org.apache.pivot.wtk.TextPane.repaint()

        public void run() {
            caretOn = !caretOn;

            if (selection == null) {
                TextPane textPane = (TextPane)getComponent();
                textPane.repaint(caret.x, caret.y, caret.width, caret.height);
            }
        }
    }

    private class ScrollSelectionCallback implements Runnable {
View Full Code Here

Examples of org.dyno.visual.swing.designer.VisualDesigner.repaint()

    } catch (ExecutionException e) {
      VisualSwingPlugin.getLogger().error(e);
    }
    designer.invalidate();
    designer.doLayout();
    designer.repaint();
  }

  @Override
  public ActionFactory getActionFactory() {
    return ActionFactory.DELETE;
View Full Code Here

Examples of org.eclipse.draw2d.IFigure.repaint()

    }

    public void refresh() {
        IFigure figure = (IFigure) getAdapter(IFigure.class);
        figure.revalidate();
        figure.repaint();
        figure.invalidateTree();
    }

    public ProcessDefinition getDefinition() {
        return definition;
View Full Code Here

Examples of org.eobjects.datacleaner.windows.DetailsResultWindow.repaint()

    for (AnalyzerResult analyzerResult : results) {
      JComponent renderedResult = new DateGapAnalyzerResultSwingRenderer()
          .render((DateGapAnalyzerResult) analyzerResult);
      window.addRenderedResult(renderedResult);
    }
    window.repaint();

    window.setPreferredSize(new Dimension(800, 600));

    window.setVisible(true);
  }
View Full Code Here

Examples of org.fife.ui.rtextarea.Gutter.repaint()

        // Must also revalidate container so gutter components, such
        // as line numbers, get updated for this line's new height
        Gutter gutter = RSyntaxUtilities.getGutter(textArea);
        if (gutter!=null) {
          gutter.revalidate();
          gutter.repaint();
        }
      }
      else if (a != null) {
        Component c = getContainer();
        Rectangle alloc = (Rectangle) a;
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.