| 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.
|
com.applitools.eyes.Location |
getCurrentFrameOffset() |
com.applitools.eyes.RectangleSize |
getCurrentFrameSize() |
com.applitools.eyes.Location |
getDefaultContentScrollPosition() |
static boolean |
isSameFrameChain(FrameChain c1,
FrameChain c2)
Compares two frame chains.
|
Iterator<Frame> |
iterator() |
void |
pop()
Removes the last inserted frame element.
|
void |
push(Frame frame)
Appends a frame to the frame chain.
|
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic 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 void pop()
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()
Copyright © 2015. All rights reserved.