Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Teemu Auvinen
dtek1066-toinen-ryhmis
Commits
9855cd59
Commit
9855cd59
authored
Dec 30, 2017
by
Matti Pulkkinen
Browse files
added title field to LayerCheckBox
parent
64fc9ca5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fi/utu/dtek1066/MapDialog.java
View file @
9855cd59
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment