Package shadowrun.gui.adapter

Examples of shadowrun.gui.adapter.CharacterAdapter


    return doc.getDocumentType().equals(DocumentTypeConstant.CHARACTER);
  }

  public void addCharacter(final BeanDocument doc) {
    if (isCharacter(doc)) {
      CharacterAdapter adapter = new CharacterAdapter(doc);
      comboBox.addItem(adapter);

      if (comboBox.getItemCount() < 2) {
        comboBox.setSelectedItem(adapter);
        comboboxChange();
View Full Code Here


    }
  }

  public void removeCharacter(BeanDocument doc) {
    if (isCharacter(doc)) {
      comboBox.removeItem(new CharacterAdapter(doc));
    }
  }
View Full Code Here

TOP

Related Classes of shadowrun.gui.adapter.CharacterAdapter

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.