Changeset 6958 for extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/mainframe/ThumbnailCategoryPanel.java
- Timestamp:
- Sep 19, 2010, 1:33:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/mainframe/ThumbnailCategoryPanel.java
r6839 r6958 7 7 import javax.swing.JPanel; 8 8 9 import fr.mael.jiwigo.om.Category; 9 10 import fr.mael.jiwigo.om.Image; 10 11 import fr.mael.jiwigo.service.ImageService; … … 54 55 */ 55 56 private Integer categoryId; 57 58 private Category category; 59 60 public ThumbnailCategoryPanel(Category category) { 61 this(category.getIdentifiant()); 62 this.category = category; 63 } 56 64 57 65 /** … … 111 119 public void setCategoryId(Integer categoryId) { 112 120 this.categoryId = categoryId; 121 } 122 123 /** 124 * @return the category 125 */ 126 public Category getCategory() { 127 return category; 128 } 129 130 /** 131 * @param category the category to set 132 */ 133 public void setCategory(Category category) { 134 this.category = category; 113 135 } 114 136
Note: See TracChangeset
for help on using the changeset viewer.