A module that can be used to access common properties of form elements. Serves as a base for more specialised modules modeling form elements.
An attempt to initialize this module with a base other than a button
, input
, option
, select
or textarea
will result in an
InvalidModuleBaseException.
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
ensureAtMostOneBaseElement() |
|
protected void |
initialized() |
|
boolean |
isDisabled() Allows to check if the first element of base navigator for this module is disabled based on the value of it's disabled attribute. |
|
boolean |
isEditable() Shorthand for {@code ! |
|
boolean |
isEnabled() Shorthand for {@code ! |
|
boolean |
isReadOnly() Allows to check if the first element of base navigator for this module is read-only based on the value of it's readonly attribute. |
Methods inherited from class | Name |
---|---|
class Module |
asBoolean, equals, getContentPath, getHasOwner, getInitializedNavigator, getJs, getRootContainer, getStringRepresentation, hashCode, init, init, initialized, methodMissing, propertyMissing, propertyMissing, setEventListener, toString, uninitializedException, waitFor, waitFor, waitFor, waitFor |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Allows to check if the first element of base navigator for this module is disabled based on the value of it's disabled
attribute.
Shorthand for !readOnly
.
Shorthand for !disabled
Allows to check if the first element of base navigator for this module is read-only based on the value of it's readonly
attribute.
Groovy API Documentation for Geb 3.2 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org