Commit 9855cd59 authored by Matti Pulkkinen's avatar Matti Pulkkinen
Browse files

added title field to LayerCheckBox

parent 64fc9ca5
......@@ -70,6 +70,7 @@ public class MapDialog extends JFrame {
private class LayerCheckBox extends JCheckBox {
private static final long serialVersionUID = 1L;
private String name = "";
private String title = "";
public LayerCheckBox(String name, String title, boolean selected) {
super(title, null, selected);
......@@ -79,7 +80,11 @@ public class MapDialog extends JFrame {
@Override
public String getName() {
return this.name;
}
} // getName()
public String getTitle() {
return this.title;
} // getTitle()
} // class LayerCheckBox
private static final long serialVersionUID = 1L;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment