mirror of
				https://github.com/lacerta-doc/Lacerta.git
				synced 2025-09-09 12:09:25 +00:00 
			
		
		
		
	Dialogで使う拡張モデルを作成
This commit is contained in:
		
							parent
							
								
									1515e53484
								
							
						
					
					
						commit
						dcd10b7d2b
					
				|  | @ -0,0 +1,24 @@ | |||
| package one.nem.lacerta.component.common.model; | ||||
| 
 | ||||
| import one.nem.lacerta.model.document.tag.DocumentTag; | ||||
| 
 | ||||
| /** | ||||
|  * DocumentTagを設定するダイアログで使うための拡張モデル | ||||
|  * チェックボックスの状態を保持するように | ||||
|  */ | ||||
| public class DocumentTagApplyTagDialogExtendedModel extends DocumentTag { | ||||
| 
 | ||||
|     private boolean isChecked; | ||||
| 
 | ||||
|     public DocumentTagApplyTagDialogExtendedModel(DocumentTag documentTag) { | ||||
|         super(documentTag.getId(), documentTag.getName(), documentTag.getColor()); | ||||
|     } | ||||
| 
 | ||||
|     public boolean getIsChecked() { | ||||
|         return isChecked; | ||||
|     } | ||||
| 
 | ||||
|     public void setIsChecked(boolean checked) { | ||||
|         isChecked = checked; | ||||
|     } | ||||
| } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user