Exemple #1
0
 public Album(G3Viewer a_Container) {
   m_UploadControl = a_Container.getUploadControl();
   m_ID = 1;
   m_Title = "Root";
   m_Container = a_Container;
   m_View = a_Container.getView();
   m_Sort = "Unknown";
   m_DropController = new AlbumTreeDropController(this);
   m_Label = initComponents();
   refresh();
 }
Exemple #2
0
  public Album(JSONObject jsonObject, G3Viewer a_Container) {
    m_UploadControl = a_Container.getUploadControl();
    m_ID = Utils.extractId(jsonObject.get("id"));
    m_Title = ((JSONString) jsonObject.get("title")).stringValue();
    m_Sort = ((JSONString) jsonObject.get("sort")).stringValue();

    m_Container = a_Container;
    m_View = a_Container.getView();
    m_DropController = new AlbumTreeDropController(this);
    m_Label = initComponents();
  }