Examples of JustAnExampleModelClass


Examples of de.lessvoid.nifty.examples.controls.common.JustAnExampleModelClass

    if (addDropDownItemText.getText().length() == 0) {
      return;
    }

    // add the item and make sure that the last item is shown
    JustAnExampleModelClass newItem = new JustAnExampleModelClass(addDropDownItemText.getText());
    dropDown.addItem(newItem);
    dropDown.selectItem(newItem);
  }
View Full Code Here

Examples of de.lessvoid.nifty.examples.controls.common.JustAnExampleModelClass

    this.appendButton = screen.findNiftyControl("appendButton", Button.class);
    this.removeSelectionButton = screen.findNiftyControl("removeSelectionButton", Button.class);
    this.selectedIndices = screen.findNiftyControl("selectedIndices", Label.class);

    // just add some items to the listbox
    listBox.addItem(new JustAnExampleModelClass("You can add more lines to this ListBox."));
    listBox.addItem(new JustAnExampleModelClass("Use the append button to do this."));
    multiSelectionCheckBox.uncheck();
    disableSelectionCheckBox.uncheck();
    forceSelectionCheckBox.uncheck();
    addTextField.setText("");
  }
View Full Code Here

Examples of de.lessvoid.nifty.examples.controls.common.JustAnExampleModelClass

    if (addTextField.getText().length() == 0) {
      return;
    }

    // add the item and make sure that the last item is shown
    listBox.addItem(new JustAnExampleModelClass(addTextField.getText()));
    listBox.showItemByIndex(listBox.itemCount() - 1);
  }
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.