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

Annotation of /branches/2.3.KECK/src/skrueger/swing/checkboxtree/CheckBoxNode.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1102 - (hide annotations)
Thu Oct 14 09:44:10 2010 UTC (14 years, 4 months ago) by alfonx
Original Path: branches/2.3-KECK/src/skrueger/swing/checkboxtree/CheckBoxNode.java
File MIME type: text/plain
File size: 570 byte(s)
Ein Branch fuer KECK

1 alfonx 714 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