public interface HasReadOnly
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadOnly()
Determines whether or not the widget is read-only.
|
void |
setReadOnly(boolean readOnly)
Turns read-only mode on or off.
|
boolean isReadOnly()
true if the widget is currently read-only,
false if the widget is currently editablevoid setReadOnly(boolean readOnly)
readOnly - if true, the widget becomes read-only; if
false the widget becomes editableCopyright © 2017. All rights reserved.