Package com.jpokemon.util.ui.selector

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

package com.jpokemon.util.ui.selector;

import org.jpokemon.pokemon.PokemonInfo;

import com.jpokemon.util.ui.JPokemonSelector;

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

    PokemonInfo pokemonInfo;
    for (int i = 1; (pokemonInfo = PokemonInfo.get(i)) != null; i++) {
      addElementToModel(pokemonInfo);
    }
  }

  private static final long serialVersionUID = 1L;
}
TOP

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

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.