-
- All Implemented Interfaces:
-
io.github.kakaocup.kakao.check.CheckableAssertions,io.github.kakaocup.kakao.common.actions.BaseActions,io.github.kakaocup.kakao.common.assertions.BaseAssertions,io.github.kakaocup.kakao.intercept.Interceptable,io.github.kakaocup.kakao.switch.SwitchableActions,io.github.kakaocup.kakao.text.TextViewAssertions
public final class KSwitch extends KBaseView<KSwitch> implements SwitchableActions, TextViewAssertions, CheckableAssertions
View with SwitchableActions, CheckableAssertions and TextViewAssertions
-
-
Field Summary
Fields Modifier and Type Field Description private final ViewInteractionDelegateviewprivate Matcher<Root>root
-
Constructor Summary
Constructors Constructor Description KSwitch(Function1<ViewBuilder, Unit> function)KSwitch(Matcher<View> parent, Function1<ViewBuilder, Unit> function)KSwitch(DataInteraction parent, Function1<ViewBuilder, Unit> function)
-
Method Summary
Modifier and Type Method Description final ViewInteractionDelegategetView()Matcher<Root>getRoot()UnitsetRoot(Matcher<Root> root)-
Methods inherited from class io.github.kakaocup.kakao.common.views.KBaseView
act, assert, click, doesNotExist, doubleClick, hasAnyTag, hasBackgroundColor, hasBackgroundColor, hasDescendant, hasNotDescendant, hasNotSibling, hasSibling, hasTag, inRoot, intercept, invoke, isActivated, isAutoHandwritingEnabled, isClickable, isCompletelyAbove, isCompletelyBelow, isCompletelyDisplayed, isCompletelyLeftOf, isCompletelyRightOf, isDirty, isDisabled, isDisplayed, isEnabled, isFocusable, isFocused, isForceDarkAllowed, isGone, isHapticFeedbackEnabled, isHovered, isInvisible, isNotClickable, isNotCompletelyDisplayed, isNotDisplayed, isNotFocusable, isNotFocused, isNotSelected, isSelected, isVisible, longClick, matches, notMatches, onFailure, perform, pressImeAction, repeatUntil, reset, scrollTo -
Methods inherited from class io.github.kakaocup.kakao.switch.KSwitch
containsText, hasAnyText, hasCompoundDrawable, hasContentDescription, hasDrawableSpan, hasDrawableSpan, hasDrawableSpan, hasDrawableSpan, hasDrawableSpanWithTint, hasDrawableSpanWithTint, hasDrawableSpanWithTint, hasDrawableSpanWithTint, hasEmptyText, hasGravity, hasHint, hasHint, hasNoText, hasNoText, hasText, hasText, hasText, hasTextColor, hasTextSize, hasTypeface, isBold, isChecked, isItalic, isNotBold, isNotChecked, isNotItalic, startsWithText, swipeSwitchThumb -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
KSwitch
KSwitch(Function1<ViewBuilder, Unit> function)
-
KSwitch
KSwitch(Matcher<View> parent, Function1<ViewBuilder, Unit> function)
-
KSwitch
KSwitch(DataInteraction parent, Function1<ViewBuilder, Unit> function)
-
-
-
-