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 TypeMethodDescriptionvoid
bakeElement
(InfoSection infoSection) Bake this appendix, only called once before changing pages.protected void
protected int
getLines()
protected int
double
getScale()
protected int
getWidth()
void
preBakeElement
(InfoSection infoSection) Methods inherited from class org.cyclops.cyclopscore.infobook.pageelement.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:
getOffsetY
in classSectionAppendix<TextFieldAppendixClient>
-
getWidth
protected int getWidth()- Specified by:
getWidth
in classSectionAppendix<TextFieldAppendixClient>
-
getHeight
protected int getHeight()- Specified by:
getHeight
in classSectionAppendix<TextFieldAppendixClient>
-
constructSectionAppendixClient
- Specified by:
constructSectionAppendixClient
in classSectionAppendix<TextFieldAppendixClient>
-
calculateLines
protected void calculateLines() -
preBakeElement
- Specified by:
preBakeElement
in classSectionAppendix<TextFieldAppendixClient>
-
bakeElement
Description copied from class:SectionAppendix
Bake this appendix, only called once before changing pages.- Specified by:
bakeElement
in classSectionAppendix<TextFieldAppendixClient>
- Parameters:
infoSection
- The section this appendix is part of.w
-
getLines
-
getScale
public double getScale()
-