Package de.lessvoid.nifty.controls.slider.builder

Examples of de.lessvoid.nifty.controls.slider.builder.SliderBuilder


      controller(new SliderAndScrollbarDialogController());
      control(new ControlBuilder(DialogPanelControlDefinition.NAME) {{
        panel(new PanelBuilder() {{
          childLayoutHorizontal();
          control(builders.createLabel("Alpha:"));
          control(new SliderBuilder("sliderA", false) {{
            width("*");
          }});
        }});
        panel(builders.vspacer());
        panel(new PanelBuilder() {{
          childLayoutHorizontal();
          control(builders.createLabel("Color:"));
          height("35%");
          panel(new PanelBuilder() {{
            childLayoutVertical();
            width("23px");
            control(new SliderBuilder("sliderR", true));
            control(new LabelBuilder() {{
              alignCenter();
              text("R");
              width("100%");
            }});
          }});
          panel(builders.hspacer("5px"));
          panel(new PanelBuilder() {{
            childLayoutVertical();
            control(new SliderBuilder("sliderG", true));
            width("23px");
            control(new LabelBuilder() {{
              alignCenter();
              text("G");
              width("100%");
            }});
          }});
          panel(builders.hspacer("5px"));
          panel(new PanelBuilder() {{
            childLayoutVertical();
            control(new SliderBuilder("sliderB", true));
            width("23px");
            control(new LabelBuilder() {{
              alignCenter();
              text("B");
              width("100%");
View Full Code Here

TOP

Related Classes of de.lessvoid.nifty.controls.slider.builder.SliderBuilder

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.