Package com.jpokemon.util.ui.selector

Source Code of com.jpokemon.util.ui.selector.EventSelector

package com.jpokemon.util.ui.selector;

import org.jpokemon.trainer.Event;

import com.jpokemon.util.ui.JPokemonSelector;

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);
    }
  }

  private static final long serialVersionUID = 1L;
}
TOP

Related Classes of com.jpokemon.util.ui.selector.EventSelector

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.