equal
deleted
inserted
replaced
|
1 package pkg; |
|
2 |
|
3 import java.util.List; |
|
4 |
|
5 //import javafx.beans.property.*; |
|
6 |
|
7 /** |
|
8 * Test program for javadoc properties. |
|
9 */ |
|
10 public class MyClassT<T> { |
|
11 |
|
12 private SimpleObjectProperty<List<T>> list |
|
13 = new SimpleObjectProperty<List<T>>(); |
|
14 |
|
15 /** |
|
16 * This is an Object property where the Object is a single {@code List<T>}. |
|
17 * |
|
18 * @return the list |
|
19 */ |
|
20 public final ObjectProperty<List<T>> listProperty() { |
|
21 return list; |
|
22 } |
|
23 |
|
24 public final void setList(List<T> list) { |
|
25 } |
|
26 |
|
27 public final List<T> getList() { |
|
28 return list.get(); |
|
29 } |
|
30 |
|
31 |
|
32 } |