Changeset 26736 for other-projects/GlamED
- Timestamp:
- 2013-01-16T20:10:32+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/GlamED/trunk/src/org/honours/collection/NoteLayer.java
r26588 r26736 1 1 package org.honours.collection; 2 2 3 import java.util.ArrayList; 4 import java.util.List; 5 3 6 import org.expeditee.gui.Frame; 7 import org.expeditee.items.Text; 4 8 5 9 /** … … 12 16 private CollectionItem _associatedItem; 13 17 14 public NoteLayer(){} 18 private List<Text> _notes; 19 20 public NoteLayer(){ 21 _notes = new ArrayList<Text>(); 22 } 15 23 16 24 public NoteLayer(Frame frame, CollectionItem associatedItem){ 17 25 _frame = frame; 18 26 _associatedItem = associatedItem; 27 _notes = new ArrayList<Text>(); 19 28 } 20 29 … … 35 44 } 36 45 46 /** 47 * TODO: Would need to account for edited or deleted notes. 48 * @param note 49 */ 50 public void addNote(Text note){ 51 _notes.add(note); 52 } 53 54 public List<Text> getNotes(){ 55 return _notes; 56 } 57 37 58 }
Note:
See TracChangeset
for help on using the changeset viewer.