Package com.jpokemon.util.ui.button

Examples of com.jpokemon.util.ui.button.JPokemonButton.addActionListener()


      }
    });
    northPanel.add(npcSelector);

    JButton newNPC = new JPokemonButton("New");
    newNPC.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent arg0) {
        NPCEditor.this.onClickNewNPC();
      }
    });
    northPanel.add(newNPC);
View Full Code Here


public class EventEditor implements MapEditComponent {
  public static final String BUTTON_NAME = "Events";

  public EventEditor() {
    JButton newEvent = new JPokemonButton("New");
    newEvent.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent arg0) {
        onClickNewEvent();
      }
    });
    editorPanel.add(newEvent);
View Full Code Here

    JPanel buttonPanel = new JPanel();
    buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.X_AXIS));
    southPanel.add(buttonPanel);

    JButton addRow = new JPokemonButton("Add Row");
    addRow.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent arg0) {
        onSelectAddRow();
      }
    });
    buttonPanel.add(addRow);
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.