Package io.jmix.masquerade.component
Class CodeEditor
java.lang.Object
- All Implemented Interfaces:
SpecificConditionHandler,ByLocator,SelenideElementWrapper<CodeEditor>
Web-element wrapper for code editor. Supports setting value,
Value, ValueContains
checking.-
Field Summary
FieldsFields inherited from class io.jmix.masquerade.component.AbstractComponent
by, wrappedElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.codeborne.selenide.CheckResultcheck(SpecificCondition condition) Checks whether the current handler matches the passedSpecificCondition.protected com.codeborne.selenide.SelenideElementprotected Stringprotected com.codeborne.selenide.SelenideElementMethods inherited from class io.jmix.masquerade.component.AbstractField
getLabelDelegateMethods inherited from class io.jmix.masquerade.component.AbstractComponent
getBy, getDelegateMethods inherited from class io.jmix.masquerade.component.AbstractSpecificConditionHandler
should, should, shouldBe, shouldBe, shouldHave, shouldHave, shouldNot, shouldNot, shouldNotBe, shouldNotBe, shouldNotHave, shouldNotHaveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.masquerade.sys.SelenideElementWrapper
disabled, displayed, enabled, exists, shouldHaveAttribute, shouldHaveAttributeValue, shouldHaveCss, shouldHaveCssValue, shouldNotHaveAttribute, shouldNotHaveAttributeValue, shouldNotHaveCss, shouldNotHaveCssValue
-
Field Details
-
TEXT_INPUT_CSS
- See Also:
-
TEXT_CONTENT_CSS
- See Also:
-
-
Constructor Details
-
CodeEditor
public CodeEditor(org.openqa.selenium.By by)
-
-
Method Details
-
check
Description copied from interface:SpecificConditionHandlerChecks whether the current handler matches the passedSpecificCondition.- Specified by:
checkin interfaceSpecificConditionHandler- Overrides:
checkin classAbstractField<CodeEditor>- Parameters:
condition- condition to check- Returns:
CheckResultthat containsCheckResult.Verdict.ACCEPTif the current handler matches the passedSpecificCondition,CheckResult.Verdict.REJECTotherwise
-
setValue
- Overrides:
setValuein classAbstractTextInput<CodeEditor>
-
getContentDelegate
protected com.codeborne.selenide.SelenideElement getContentDelegate() -
getInputDelegate
protected com.codeborne.selenide.SelenideElement getInputDelegate()- Overrides:
getInputDelegatein classAbstractField<CodeEditor>- Returns:
SelenideElementof an input web-element
-
getHostCssSelector
-