Package model.dto

Examples of model.dto.TrackTransferDto


      DropTreeNode dropNode = (DropTreeNode) dl.getPath()
          .getLastPathComponent();

      // fetch the data and bail if this fails
      TrackTransferDto data;
      try {
        data = (TrackTransferDto) support.getTransferable()
            .getTransferData(
                new DataFlavor(
                    DataFlavor.javaJVMLocalObjectMimeType
                        + ";class=\""
                        + TrackTransferDto.class
                            .getName() + "\""));
      } catch (UnsupportedFlavorException e) {
        e.printStackTrace();
        return false;
      } catch (java.io.IOException e) {
        e.printStackTrace();
        return false;
      } catch (ClassNotFoundException e) {
        e.printStackTrace();
        return false;
      }
      ((AbstractView) dropNode.getUserObject()).addTracks(data
          .getTracks());

      return false;// false, damit wieder zur urspruenglichen view
              // gesprungen wird.
    }
View Full Code Here


        if (index[i] >= 0 || index[i] < model.getRowCount()) {
          tracks[i] = model.getTrackAt(index[i]);
        }
      }

      return new TrackTransferDto(tracks);// und als Transferable-objekt
                        // ausspucken.
    }
View Full Code Here

TOP

Related Classes of model.dto.TrackTransferDto

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.