Package pi.graphics.boxes
Class TextBlockAlignBox
java.lang.Object
pi.graphics.boxes.Box
pi.graphics.boxes.CombinedChildBox
pi.graphics.boxes.TextBlockAlignBox
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BoxDie Kind-Box, dieser übergeordneten Box.final CellBoxfinal TextBlockBoxFields inherited from class pi.graphics.boxes.Box
childs, definedHeight, definedWidth, disabled, height, measureDimensionTwice, parent, supportsDefinedDimension, width, x, y -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class pi.graphics.boxes.CombinedChildBox
calculateAnchors, calculateDimensionMethods inherited from class pi.graphics.boxes.Box
anchor, debug, disable, disabled, enable, hasDefiniedDimension, hasOnlyDefiniedHeight, hasOnlyDefiniedWidth, height, heightMeter, iterator, measure, measureAnchors, measureDimension, remeasure, render, round, toggle, toString, toStringFormatter, width, widthMeter, x, x, x, y, y, 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
-
container
-
text
-
child
Die Kind-Box, dieser übergeordneten Box.
-
-
Constructor Details
-
TextBlockAlignBox
public TextBlockAlignBox() -
TextBlockAlignBox
-
-
Method Details
-
innerWidth
public int innerWidth() -
innerHeight
public int innerHeight() -
width
Description copied from class:BoxSetzt die Breite der Box in Pixel. -
height
Description copied from class:BoxSetzt die Höhe der Box in Pixel. -
hAlign
-
vAlign
-
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.
-