Package de.lessvoid.nifty.controls

Examples of de.lessvoid.nifty.controls.NextPrevHelper


    this.nifty = nifty;
    this.element = element;
    elementBackground = element.findElementByName("#background");
    elementPosition = element.findElementByName("#position");
    nextPrevHelper = new NextPrevHelper(element, screen.getFocusHandler());

    if ("verticalSlider".equals(parameter.getProperty("name"))) {
      sliderView = new SliderViewVertical(this);
    } else if ("horizontalSlider".equals(parameter.getProperty("name"))) {
      sliderView = new SliderViewHorizontal(this);
View Full Code Here


        element = newElement;
        images = createImages(nifty.getRenderEngine(), properties.getProperty("imageList"));
        currentImageIndex = 0;
        imageWidth = new SizeValue(properties.getProperty("imageWidth", "0px")).getValueAsInt(1.0f);
        imageHeight = new SizeValue(properties.getProperty("imageHeight", "0px")).getValueAsInt(1.0f);
        nextPrevHelper = new NextPrevHelper(element, screenParam.getFocusHandler());
        backButtonElement = element.findElementByName("#back-button");
        forwardButtonElement = element.findElementByName("#forward-button");
        imageElement = element.findElementByName("#image");
        imageElement2 = element.findElementByName("#image-2");
        backElement = element.findElementByName("#back");
View Full Code Here

    super.bind(element);

    this.nifty = nifty;
    this.elementBackground = element.findElementByName("#background");
    this.elementPosition = element.findElementByName("#position");
    this.nextPrevHelper = new NextPrevHelper(element, screen.getFocusHandler());

    if ("verticalScrollbar".equals(parameter.getProperty("name"))) {
      this.scrollbarView = new ScrollbarViewVertical(this, elementPosition.getHeight());
    } else if ("horizontalScrollbar".equals(parameter.getProperty("name"))) {
      this.scrollbarView = new ScrollbarViewHorizontal(this, elementPosition.getWidth());
View Full Code Here

TOP

Related Classes of de.lessvoid.nifty.controls.NextPrevHelper

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.