Package com.teamten.typeset.element
Class Footnote
java.lang.Object
com.teamten.typeset.element.Element
com.teamten.typeset.element.NonDiscardableElement
com.teamten.typeset.element.Box
com.teamten.typeset.element.VBox
com.teamten.typeset.element.Footnote
- All Implemented Interfaces:
Dimensions
Represents a footnote that will be displayed at the bottom of the page.
-
Field Summary
FieldsFields inherited from class com.teamten.typeset.element.Element
DRAW_DEBUG
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Footnote
create
(HBox mark, Block block, Config config, FontManager fontManager, Bookmarks bookmarks, Sections sections, HyphenDictionary hyphenDictionary) long
Get the distance between baselines in this footnote.long
Get the height of the first HBox in this footnote.long
Get the depth of the last HBox in this footnote.Methods inherited from class com.teamten.typeset.element.VBox
fixed, getElements, layOut, layOutHorizontally, layOutVertically, println, visit
Methods inherited from class com.teamten.typeset.element.Box
drawDebugRectangle, getDepth, getDimensionString, getHeight, getShift, getWidth, toString
Methods inherited from class com.teamten.typeset.element.Element
getVerticalSize, println, shouldSkipElementAtStart, toTextString, toTextString
-
Field Details
-
FOOTNOTE_FONT_SCALE
public static final double FOOTNOTE_FONT_SCALE- See Also:
-
-
Method Details
-
getBaselineSkip
public long getBaselineSkip()Get the distance between baselines in this footnote. -
getFirstHBoxHeight
public long getFirstHBoxHeight()Get the height of the first HBox in this footnote. -
getLastHBoxDepth
public long getLastHBoxDepth()Get the depth of the last HBox in this footnote. -
create
@NotNull public static @NotNull Footnote create(HBox mark, Block block, Config config, FontManager fontManager, Bookmarks bookmarks, Sections sections, HyphenDictionary hyphenDictionary) throws IOException - Throws:
IOException
-