Package de.lessvoid.nifty.controls.dragndrop.builder

Examples of de.lessvoid.nifty.controls.dragndrop.builder.DraggableBuilder


            width("101px");
            height("171px");
            onActiveEffect(new EffectBuilder("border") {{
              effectParameter("color", "#0003");
            }});
            control(new DraggableBuilder("key") {{
              childLayoutCenter();
              image(new ImageBuilder() {{
                filename("dragndrop/Key.png");
              }});
            }});
View Full Code Here


    resetButton.disable();
    screen.findNiftyControl("dragAndDropDescription", Label.class).setText("Well Done!");
    dragAndDropDescription.setText("Drop the Key on the Chest to open it.");
    chestOpenElement.show();
    chestOpenElement.stopEffect(EffectEventId.onCustom);
    new DraggableBuilder("key") {{
      childLayoutCenter();
      image(new ImageBuilder() {{
        filename("dragndrop/Key.png");
      }});
    }}.build(nifty, screen, screen.findElementByName("key-initial#droppableContent"));
View Full Code Here

TOP

Related Classes of de.lessvoid.nifty.controls.dragndrop.builder.DraggableBuilder

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.