Package org.joshy.gfx.node.control

Examples of org.joshy.gfx.node.control.ScrollPane


    private VectorDocContext context;
    private DoubleClickRecognizer clickRecognizer;

    public PageListPanel(final VectorDocContext context) {
        this.context = context;
        scroll = new ScrollPane();
        scroll.setHorizontalVisiblePolicy(ScrollPane.VisiblePolicy.WhenNeeded);
        scroll.setVerticalVisiblePolicy(ScrollPane.VisiblePolicy.Never);
        listview = new ListView<SketchDocument.SketchPage>();
        listview.setModel(new ListModel<SketchDocument.SketchPage>(){
            public SketchDocument.SketchPage get(int i) {
View Full Code Here


        log.setText(buf.toString());
        final Stage stage = Stage.createStage();
        stage.setContent(new VFlexBox()
                .setBoxAlign(VFlexBox.Align.Stretch)
                .add(new Label(s))
                .add(new ScrollPane(log),1)
                .add(new Button("Close").onClicked(new Callback<ActionEvent>(){
            public void call(ActionEvent actionEvent) throws Exception {
                stage.hide();
            }
        }))
View Full Code Here

TOP

Related Classes of org.joshy.gfx.node.control.ScrollPane

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.