Examples of ScrollPane


Examples of java.awt.ScrollPane

    private Frame createVncClientMainWindow(BufferedImageCanvas canvas, String title) {
        // Create AWT windows
        final Frame frame = new Frame(title + " - VNCle");

        // Use scrolling pane to support screens, which are larger than ours
        ScrollPane scroller = new ScrollPane(ScrollPane.SCROLLBARS_AS_NEEDED);
        scroller.add(canvas);
        scroller.setSize(screen.getFramebufferWidth(), screen.getFramebufferHeight());

        frame.add(scroller);
        frame.pack();
        frame.setVisible(true);
View Full Code Here

Examples of javafx.scene.control.ScrollPane

    final InnerShadow helpTextEffect = new InnerShadow();
    helpTextEffect.setRadius(10d);
    final Timeline helpTextTimeline = GuiUtil.createShadowColorIndicatorTimeline(
        helpTextEffect, ATTENTION_COLOR, Color.BLACK.brighter(),
        HELP_TEXT_COLOR_CHANGE_CYCLE_COUNT);
    helpTextPane = new ScrollPane();
    helpTextPane.getStyleClass().add("text-area-help");
    //helpTextPane.setPrefHeight(40d);
    helpTextPane.setPrefWidth(300d);
    helpTextPane.setEffect(helpTextEffect);
    helpText = new Label(RS.rbLabel(UGateUtil.HELP_TEXT_DEFAULT_KEY));
View Full Code Here

Examples of lupos.gui.operatorgraph.visualeditor.ruleeditor.util.ScrollPane

    topComp.add(this.moveRulePanel, gbc);
    gbc.gridy++;
    gbc.weighty = 1.0;
    gbc.insets = new Insets(0, 0, 0, 0);

    topComp.add(new ScrollPane(this.tree_rulePackages), gbc);

    return topComp;
  }
View Full Code Here

Examples of lupos.gui.operatorgraph.visualeditor.ruleeditor.util.ScrollPane

    bottomComp.add(new JLabel("not associated rules"), gbc);
    gbc.gridy++;
    gbc.weighty = 1.0;
    gbc.insets = new Insets(0, 0, 0, 0);

    bottomComp.add(new ScrollPane(this.tree_unassigned), gbc);

    return bottomComp;
  }
View Full Code Here

Examples of lupos.gui.operatorgraph.visualeditor.ruleeditor.util.ScrollPane

  // --- visual representation - begin ---
  private JPanel getVisualRepresentationTab(JSONObject loadObject) {
    this.editorPane = new RuleEditorPane(this.editor.getStatusBar());

    JPanel leftPanel = new JPanel(new BorderLayout());
    leftPanel.add(new ScrollPane(this.editorPane.getVisualGraphs().get(0)));

    JPanel rightPanel = new JPanel(new BorderLayout());
    rightPanel.add(new ScrollPane(this.editorPane.getVisualGraphs().get(1)));

    JSplitPane splitPane = new JSplitPane();
    splitPane.setContinuousLayout(true);
    splitPane.setOneTouchExpandable(true);
    splitPane.setResizeWeight(0.5);
View Full Code Here

Examples of lupos.gui.operatorgraph.visualeditor.ruleeditor.util.ScrollPane

    this.documentationPanel.rebuild(this.editor.getRules(), this.editor.getRulePackages());

    JPanel panel = new JPanel(new BorderLayout());
    panel.add(this.documentationPanel, BorderLayout.CENTER);

    return new ScrollPane(panel);
  }
View Full Code Here

Examples of lupos.gui.operatorgraph.visualeditor.ruleeditor.util.ScrollPane

    JPanel tmpPanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
    tmpPanel.add(this.assotiationsPanel);

    JPanel panel = new JPanel(new BorderLayout(5, 5));
    panel.add(new JLabel("Associated rule packages:"), BorderLayout.NORTH);
    panel.add(new ScrollPane(tmpPanel), BorderLayout.CENTER);

    return panel;
  }
View Full Code Here

Examples of lupos.gui.operatorgraph.visualeditor.ruleeditor.util.ScrollPane

    JPanel tmpPanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
    tmpPanel.add(this.assotiationsPanel);

    JPanel panel = new JPanel(new BorderLayout(5, 5));
    panel.add(new JLabel("Associated rules:"), BorderLayout.NORTH);
    panel.add(new ScrollPane(tmpPanel), BorderLayout.CENTER);

    return panel;
  }
View Full Code Here

Examples of lupos.gui.operatorgraph.visualeditor.ruleeditor.util.ScrollPane

    this.documentationPanel.rebuild(this.editor.getRules(), this.editor.getRulePackages());

    JPanel panel = new JPanel(new BorderLayout());
    panel.add(this.documentationPanel, BorderLayout.CENTER);

    return new ScrollPane(panel);
  }
View Full Code Here

Examples of lupos.gui.operatorgraph.visualeditor.visualrif.util.ScrollPane

    this.ruleEditorPane = new RuleEditorPane(this.visualRifEditor.getStatusBar(),this.visualRifEditor);
    this.ruleEditorPane.setVisualRifEditor(this.visualRifEditor);

    final JPanel leftPanel = new JPanel(new BorderLayout());
    // this.documentEditorPane.getVisualGraphs().get(0)
    leftPanel.add(new ScrollPane(this.ruleEditorPane.getVisualGraphs().get(
        0)));

    final JPanel rightPanel = new JPanel(new BorderLayout());
    // this.documentEditorPane.getVisualGraphs().get(1)
     rightPanel.add(new
     ScrollPane(this.ruleEditorPane.getVisualGraphs().get(1)));



    final JSplitPane splitPaneCanvas = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
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.