Package pi.graphics.boxes
Class FramedTextBox
java.lang.Object
pi.graphics.boxes.Box
pi.graphics.boxes.CombinedChildBox
pi.graphics.boxes.FramedBox
pi.graphics.boxes.FramedTextBox
- Since:
- 0.40.0
- Author:
- Josef Friedrich
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BoxDie Kind-Box, dieser übergeordneten Box.final TextLineBoxFields inherited from class pi.graphics.boxes.FramedBox
background, border, container, content, margin, paddingFields inherited from class pi.graphics.boxes.Box
childs, definedHeight, definedWidth, disabled, height, measureDimensionTwice, parent, supportsDefinedDimension, width, x, y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidFügt eine Kind-Box hinzu.intGibt die Anzahl an Kinder-Boxen zurück.toString()Methods inherited from class pi.graphics.boxes.CombinedChildBox
calculateAnchors, calculateDimensionMethods inherited from class pi.graphics.boxes.Box
anchor, debug, disable, disabled, enable, height, iterator, measure, measureAnchors, measureDimension, remeasure, render, toggle, toStringFormatter, width, x, yMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
textLine
-
child
Die Kind-Box, dieser übergeordneten Box.
-
-
Constructor Details
-
FramedTextBox
-
-
Method Details
-
content
-
toString
-
addChild
Fügt eine Kind-Box hinzu.Die Zellbox wird dabei als Elternbox der Kind-Box gesetzt.
- Parameters:
child- Die Kind-Box.
-
numberOfChilds
public int numberOfChilds()Description copied from class:BoxGibt die Anzahl an Kinder-Boxen zurück.- Specified by:
numberOfChildsin classBox- Returns:
- Die Anzahl an Kinder-Boxen.
-