| Constructor and Description |
|---|
FrameChain(Logger logger)
Creates a new frame chain.
|
FrameChain(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() |
RectangleSize |
getCurrentFrameInnerSize() |
Location |
getCurrentFrameOffset() |
RectangleSize |
getCurrentFrameSize() |
Location |
getDefaultContentScrollPosition() |
static boolean |
isSameFrameChain(FrameChain c1,
FrameChain c2)
Compares two frame chains.
|
Iterator<Frame> |
iterator() |
Frame |
peek() |
Frame |
pop()
Removes the last inserted frame element.
|
void |
push(Frame frame)
Appends a frame to the frame chain.
|
int |
size() |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic FrameChain(Logger logger)
logger - A Logger instance.public FrameChain(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 Location getCurrentFrameOffset()
public Location getDefaultContentScrollPosition()
public RectangleSize getCurrentFrameSize()
public RectangleSize getCurrentFrameInnerSize()
public FrameChain clone()
Copyright © 2019. All rights reserved.