Package com.teamten.typeset.element
Class SectionBookmark
java.lang.Object
com.teamten.typeset.element.Element
com.teamten.typeset.element.NonDiscardableElement
com.teamten.typeset.element.Bookmark
com.teamten.typeset.element.SectionBookmark
- All Implemented Interfaces:
Dimensions
A bookmark for a section, such as a part or chapter.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.teamten.typeset.element.Element
DRAW_DEBUG
-
Constructor Summary
ConstructorsConstructorDescriptionSectionBookmark
(SectionBookmark.Type type, String name) SectionBookmark
(SectionBookmark.Type type, String name, String shortenedName, @Nullable SectionName sectionName) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
@Nullable SectionName
getType()
int
hashCode()
toString()
Methods inherited from class com.teamten.typeset.element.Bookmark
getDepth, getHeight, getWidth, layOutHorizontally, layOutVertically
Methods inherited from class com.teamten.typeset.element.Element
getVerticalSize, println, println, shouldSkipElementAtStart, toTextString, toTextString, visit
-
Constructor Details
-
SectionBookmark
-
SectionBookmark
public SectionBookmark(SectionBookmark.Type type, String name, String shortenedName, @Nullable @Nullable SectionName sectionName)
-
-
Method Details