Package org.jpokemon.trainer

Examples of org.jpokemon.trainer.Event


public class EventSelector extends JPokemonSelector<Event> {
  @Override
  protected void reloadItems() {
    removeAllItems();

    Event event;
    for (int i = 1; (event = Event.get(i)) != null; i++) {
      addElementToModel(event);
    }
  }
View Full Code Here


  }

  private void onDescriptionFieldEnter() {
    if (!readyToEdit) return;

    Event event = eventSelector.getCurrentElement();
    String description = descriptionField.getText();

    event.setDescription(description);
    event.commit();
    getEditor();
  }
View Full Code Here

TOP

Related Classes of org.jpokemon.trainer.Event

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.