Examples of initControls()


Examples of de.lessvoid.nifty.elements.Element.initControls()

    elementType.connectParentControls(parent);
    Element element = elementType.create(parent, this, screen, layoutPart);
    if (screen.isBound()) {
      screen.layoutLayers();
      element.bindControls(screen);
      element.initControls();
      element.startEffect(EffectEventId.onStartScreen);
      element.startEffect(EffectEventId.onActive);
      element.onStartScreen();
    }
    return element;
View Full Code Here

Examples of de.lessvoid.nifty.elements.Element.initControls()

    // that the onStartScreen Event has been called already before) we have to call
    // onStartScreen on the newControl here manually. It won't be called by the screen
    // anymore.
    if (screen.isBound()) {
      layerElement.bindControls(screen);
      layerElement.initControls();
    }
    if (screen.isRunning()) {
      layerElement.startEffect(EffectEventId.onStartScreen);
      layerElement.startEffect(EffectEventId.onActive);
      layerElement.onStartScreen();
View Full Code Here

Examples of net.geco.Geco.initControls()

  @Test
  public void gecoInitialization(){
    StageBuilder mockStageBuilder = mock(StageBuilder.class);
    when(mockBuilder.createStageBuilder()).thenReturn(mockStageBuilder);
    Geco geco = new Geco();
    geco.initControls(mockBuilder, mock(GecoControl.class));
    verify(mockBuilder, times(1)).buildControls(any(GecoControl.class));
  }

  @Test
  public void gecoWindowInitialization(){
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.