Constructor and Description |
---|
FrameChain(com.applitools.eyes.Logger logger)
Creates a new frame chain.
|
FrameChain(com.applitools.eyes.Logger logger,
FrameChain other)
Creates a frame chain which is a copy of the current frame.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all current frames in the frame chain.
|
FrameChain |
clone() |
Frame |
getAt(int index) |
com.applitools.eyes.RectangleSize |
getCurrentFrameInnerSize()
Gets current frame inner size.
|
com.applitools.eyes.Location |
getCurrentFrameOffset()
Gets current frame offset.
|
com.applitools.eyes.RectangleSize |
getCurrentFrameSize()
Gets current frame size.
|
com.applitools.eyes.Location |
getDefaultContentScrollPosition()
Gets default content scroll position.
|
static boolean |
isSameFrameChain(FrameChain c1,
FrameChain c2)
Compares two frame chains.
|
Iterator<Frame> |
iterator() |
Frame |
peek()
Peek frame.
|
Frame |
pop()
Removes the last inserted frame element.
|
void |
push(Frame frame)
Appends a frame to the frame chain.
|
int |
size()
Size int.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public FrameChain(com.applitools.eyes.Logger logger)
logger
- A Logger instance.public FrameChain(com.applitools.eyes.Logger logger, FrameChain other)
logger
- A Logger instance.other
- A frame chain from which the current frame chain will be created.public static boolean isSameFrameChain(FrameChain c1, FrameChain c2)
c1
- Frame chain to be compared against c2.c2
- Frame chain to be compared against c1.public int size()
public void clear()
public Frame pop()
public Frame peek()
public void push(Frame frame)
frame
- The frame to be added.public com.applitools.eyes.Location getCurrentFrameOffset()
public com.applitools.eyes.Location getDefaultContentScrollPosition()
public com.applitools.eyes.RectangleSize getCurrentFrameSize()
public com.applitools.eyes.RectangleSize getCurrentFrameInnerSize()
public Frame getAt(int index)
public FrameChain clone()
Copyright © 2021. All rights reserved.