/[schmitzm]/branches/2.3.x/src/skrueger/swing/checkboxtree/CheckBoxNode.java
ViewVC logotype

Contents of /branches/2.3.x/src/skrueger/swing/checkboxtree/CheckBoxNode.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1240 - (show annotations)
Fri Nov 5 13:02:30 2010 UTC (14 years, 3 months ago) by alfonx
File MIME type: text/plain
File size: 570 byte(s)
Branch 2.3.x angelegt

1 package skrueger.swing.checkboxtree;
2
3 public class CheckBoxNode {
4 String text;
5
6 boolean selected;
7
8 public CheckBoxNode(String text, boolean selected) {
9 this.text = text;
10 this.selected = selected;
11 }
12
13 public boolean isSelected() {
14 return selected;
15 }
16
17 public void setSelected(boolean newValue) {
18 selected = newValue;
19 }
20
21 public String getText() {
22 return text;
23 }
24
25 public void setText(String newValue) {
26 text = newValue;
27 }
28
29 public String toString() {
30 return getClass().getName() + "[" + text + "/" + selected + "]";
31 }
32
33 }

Properties

Name Value
svn:eol-style native
svn:keywords Id URL
svn:mime-type text/plain

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26