Package jfxtras.scene.menu

Examples of jfxtras.scene.menu.CornerMenu


  public void topLeft() {
    setLabel("topLeft");
   
    // setup
    TestUtil.runThenWaitForPaintPulse( () -> {
      cornerMenu = new CornerMenu(CornerMenu.Location.TOP_LEFT, this.stackPane, true)
        .withAnimationInterpolation(null)
        .withAutoShowAndHide(false);
      cornerMenu.getItems().addAll(facebookMenuItem, googleMenuItem, skypeMenuItem, twitterMenuItem, windowsMenuItem);
    });
View Full Code Here


  public void topRight() {
    setLabel("topRight");
   
    // setup
    TestUtil.runThenWaitForPaintPulse( () -> {
      cornerMenu = new CornerMenu(CornerMenu.Location.TOP_RIGHT, this.stackPane, true)
        .withAnimationInterpolation(null)
        .withAutoShowAndHide(false);
      cornerMenu.getItems().addAll(facebookMenuItem, googleMenuItem, skypeMenuItem, twitterMenuItem, windowsMenuItem);
    });
View Full Code Here

  public void bottomRight() {
    setLabel("bottomRight");
   
    // setup
    TestUtil.runThenWaitForPaintPulse( () -> {
      cornerMenu = new CornerMenu(CornerMenu.Location.BOTTOM_RIGHT, this.stackPane, true)
        .withAnimationInterpolation(null)
        .withAutoShowAndHide(false);
      cornerMenu.getItems().addAll(facebookMenuItem, googleMenuItem, skypeMenuItem, twitterMenuItem, windowsMenuItem);
    });
View Full Code Here

  public void bottomLeft() {
    setLabel("bottomLeft");
   
    // setup
    TestUtil.runThenWaitForPaintPulse( () -> {
      cornerMenu = new CornerMenu(CornerMenu.Location.BOTTOM_LEFT, this.stackPane, true)
        .withAnimationInterpolation(null)
        .withAutoShowAndHide(false);
      cornerMenu.getItems().addAll(facebookMenuItem, googleMenuItem, skypeMenuItem, twitterMenuItem, windowsMenuItem);
    });
View Full Code Here

  public void isClickHandled() {
    setLabel("isClickHandled");
   
    // setup
    TestUtil.runThenWaitForPaintPulse( () -> {
      cornerMenu = new CornerMenu(CornerMenu.Location.TOP_RIGHT, this.stackPane, true)
        .withAnimationInterpolation(null)
        .withAutoShowAndHide(false);
      cornerMenu.getItems().addAll(facebookMenuItem, googleMenuItem, skypeMenuItem, twitterMenuItem, windowsMenuItem);
    });
View Full Code Here

      stackPane.getChildren().add(lUnderlyingButton);
      lUnderlyingButton.setOnAction((actionEvent) -> {
        underlyingClickAtomicInteger.incrementAndGet();
      });
     
      cornerMenu = new CornerMenu(CornerMenu.Location.TOP_RIGHT, this.stackPane, true)
        .withAnimationInterpolation(null)
        .withAutoShowAndHide(false);
      cornerMenu.getItems().addAll(facebookMenuItem, googleMenuItem, skypeMenuItem, twitterMenuItem, windowsMenuItem);
    });
View Full Code Here

  public void autoShowAndHide() {
    setLabel("autoShowAndHide");
   
    // setup
    TestUtil.runThenWaitForPaintPulse( () -> {
      cornerMenu = new CornerMenu(CornerMenu.Location.TOP_LEFT, this.stackPane, false)
        .withAnimationInterpolation(null)
        .withAutoShowAndHide(true);
      cornerMenu.getItems().addAll(facebookMenuItem, googleMenuItem, skypeMenuItem, twitterMenuItem, windowsMenuItem);
    });
View Full Code Here

TOP

Related Classes of jfxtras.scene.menu.CornerMenu

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.