/*
 * This file is part of libbluray
 * Copyright (C) 2010  William Hahne
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library. If not, see
 * <http://www.gnu.org/licenses/>.
 */

package org.havi.ui;

import java.awt.Image;

public class HListElement {
    public HListElement(String label) {
        org.videolan.Logger.unimplemented(HListElement.class.getName(), "");
    }

    public HListElement(Image icon, String label) {
        org.videolan.Logger.unimplemented(HListElement.class.getName(), "");
    }

    public String getLabel() {
        throw new Error("Not implemented");
    }

    public Image getIcon() {
        throw new Error("Not implemented");
    }

    public void setLabel(String label) {
        throw new Error("Not implemented");
    }

    public void setIcon(Image icon) {
        throw new Error("Not implemented");
    }
}

@@ -67,16 +67,57 @@
 m Hahne%0A
+ * Copyright (C) 2016  Petri Hintukainen%0A
  *%0A * Th
@@ -913,75 +913,26 @@
     
-org.videolan.Logger.unimplemented(HListElement.class.getName(), %22%22)
+this.label = label
 ;%0A  
@@ -1000,75 +1000,52 @@
     
-org.videolan.Logger.unimplemented(HListElement.class.getName(), %22%22)
+this.label = label;%0A        this.icon = icon
 ;%0A  
@@ -1092,42 +1092,20 @@
     
-throw new Error(%22Not implemented%22)
+return label
 ;%0A  
@@ -1150,42 +1150,19 @@
     
-throw new Error(%22Not implemented%22)
+return icon
 ;%0A  
@@ -1221,40 +1221,24 @@
   th
-row new Error(%22Not implemented%22)
+is.label = label
 ;%0A  
@@ -1294,46 +1294,93 @@
   th
-row new Error(%22Not implemented%22);%0A    %7D
+is.icon = icon;%0A    %7D%0A%0A    private Image icon = null;%0A    private String label = null;
 %0A%7D%0A

Implement HListElement