1 package cz
.cvut
.promod
.gui
.dialogs
.simpleTextFieldDialog
;
3 import com
.jgoodies
.binding
.beans
.Model
;
6 * ProMod, master thesis project
7 * User: Petr Zverina, petr.zverina@gmail.com
8 * Date: 23:49:58, 23.10.2009
10 * A Model component for SimpleTextFieldDialog.
12 public class SimpleTextFieldDialogModel
extends Model
{
14 public static final String PROPERTY_SUBFOLDER_NAME
= "inputText";
15 private String inputText
;
17 public String
getInputText() {
21 public void setInputText(final String inputText
) {
22 final String oldSubFolderName
= this.inputText
;
23 this.inputText
= inputText
;
24 firePropertyChange(PROPERTY_SUBFOLDER_NAME
, oldSubFolderName
, inputText
);