Package jtrackbase.db

Examples of jtrackbase.db.Genre


    public void actionPerformed(ActionEvent e) {
      log.finest("Starting for genre");
      InputDialog<Genre> ip = new InputDialog<Genre>(TrackbaseFrame.this,
          new GenrePanel());
      ip.setVisible(true);
      Genre g = ip.getData();
      log.finest("Persisting: " + g);
      if (g == null) {
        return;
      }
      EntityManager em = DBController.getEntityManager();
View Full Code Here


    return columnIndex==0?"Name":null;
  }

  @Override
  public Object getValueAt(int rowIndex, int columnIndex) {
    Genre a=get(rowIndex);
    if (a==null) {
      return null;
    }
    switch (columnIndex) {
    case 0:{
      return a.getName();
    }
    }
    return null;
  }
View Full Code Here

import jtrackbase.Constants;
import jtrackbase.db.Genre;

public class GenrePanel extends DataInputPanel<Genre> {
  public GenrePanel() {
    this(new Genre());
  }
View Full Code Here

TOP

Related Classes of jtrackbase.db.Genre

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.