Class TextFieldAppendix
java.lang.Object
org.cyclops.cyclopscore.infobook.pageelement.SectionAppendix<TextFieldAppendixClient>
org.cyclops.cyclopscore.infobook.pageelement.TextFieldAppendix
Text fields that can be added to sections.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbakeElement(InfoSection infoSection) Bake this appendix, only called once before changing pages.protected voidprotected intgetLines()protected intdoublegetScale()protected intgetWidth()voidpreBakeElement(InfoSection infoSection) Methods inherited from class SectionAppendix
canEqual, equals, getFullHeight, getInfoBook, getLineStart, getPage, getSectionAppendixClient, hashCode, setLineStart, setPage, toString
-
Constructor Details
-
TextFieldAppendix
public TextFieldAppendix(IInfoBook infoBook, String text, double scale) throws InfoBookParser.InvalidAppendixException
-
-
Method Details
-
getOffsetY
protected int getOffsetY()- Specified by:
getOffsetYin classSectionAppendix<TextFieldAppendixClient>
-
getWidth
protected int getWidth()- Specified by:
getWidthin classSectionAppendix<TextFieldAppendixClient>
-
getHeight
protected int getHeight()- Specified by:
getHeightin classSectionAppendix<TextFieldAppendixClient>
-
constructSectionAppendixClient
- Specified by:
constructSectionAppendixClientin classSectionAppendix<TextFieldAppendixClient>
-
calculateLines
protected void calculateLines() -
preBakeElement
- Specified by:
preBakeElementin classSectionAppendix<TextFieldAppendixClient>
-
bakeElement
Description copied from class:SectionAppendixBake this appendix, only called once before changing pages.- Specified by:
bakeElementin classSectionAppendix<TextFieldAppendixClient>- Parameters:
infoSection- The section this appendix is part of.w
-
getLines
-
getScale
public double getScale()
-