Package org.controlsfx.control.action

Examples of org.controlsfx.control.action.ActionGroup


                                guideLine.relocate(clickEvent.getX(), 0);
                            }
                        });
                    }

                }, new ActionGroup("Zoom History", new Back(controller),
                        new Forward(controller))));
                chartContextMenu.setAutoHide(true);
                chartContextMenu.show(EventDetailChart.this, clickEvent.getScreenX(), clickEvent.getScreenY());
                clickEvent.consume();
            }
View Full Code Here


    public final synchronized void setController(TimeLineController controller) {
        this.controller = controller;
        setModel(this.controller.getEventsModel());
        //we have defered creating context menu until control is available
        contextMenu = ActionUtils.createContextMenu(
                Arrays.asList(new ActionGroup("Zoom History", new Back(controller), new Forward(controller))));
        contextMenu.setAutoHide(true);
    }
View Full Code Here

                .anyMatch((data) -> data.getXValue().equals(value) && data.getYValue().intValue() > 0);
    }

    private ContextMenu getContextMenu() {

        ContextMenu chartContextMenu = ActionUtils.createContextMenu(Arrays.asList(new ActionGroup("Zoom History", new Back(controller), new Forward(controller))));
        chartContextMenu.setAutoHide(true);
        return chartContextMenu;
    }
View Full Code Here

TOP

Related Classes of org.controlsfx.control.action.ActionGroup

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.