Class UITableLayout
java.lang.Object
io.github.thecsdev.tcdcommons.api.client.gui.layout.UILayout
io.github.thecsdev.tcdcommons.api.client.gui.layout.UITableLayout
-
Field Summary
Fields inherited from class io.github.thecsdev.tcdcommons.api.client.gui.layout.UILayout
defaultPsp
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(TParentElement parent) Applies thisUILayout
to a givenTParentElement
.final int
getCellColumnSize
(TParentElement parent) Calculates and returns the "current" size a table cell's column should be.Methods inherited from class io.github.thecsdev.tcdcommons.api.client.gui.layout.UILayout
getDefaultPSP, getElementScrollPadding, setDefaultPSP
-
Field Details
-
columnCount
protected int columnCount -
cellPadding
protected int cellPadding
-
-
Constructor Details
-
UITableLayout
public UITableLayout(int columns) -
UITableLayout
public UITableLayout(int columns, int padding)
-
-
Method Details
-
apply
Description copied from class:UILayout
Applies thisUILayout
to a givenTParentElement
. -
getCellColumnSize
Calculates and returns the "current" size a table cell's column should be.
-