1015 |
/** |
/** |
1016 |
* Enables/disabled this text component's editability. |
* Enables/disabled this text component's editability. |
1017 |
* |
* |
1018 |
* @param editable true to make it editable, false otherwise. |
* @param newValue true to make it editable, false otherwise. |
1019 |
*/ |
*/ |
1020 |
public void setEditable(boolean editable) |
public void setEditable(boolean newValue) |
1021 |
{ |
{ |
1022 |
firePropertyChange("editable", this.editable, editable); |
if (editable == newValue) |
1023 |
this.editable = editable; |
return; |
1024 |
|
|
1025 |
|
boolean oldValue = editable; |
1026 |
|
editable = newValue; |
1027 |
|
firePropertyChange("editable", oldValue, newValue); |
1028 |
} |
} |
1029 |
|
|
1030 |
/** |
/** |