Skip to main content

UIGridLayout

Complete API reference for UIGridLayout, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: UI

Component: yes


public class UIGridLayout extends Component

Constructors

SignatureDescription
UIGridLayout()Creates a new instance of UIGridLayout.

Virtual Attributes

NameTypeAccessDescription
autoColumnsbooleansetVirtual attribute exposed by setAutoColumns. Access it like a field to read or write the underlying value.
columnsintsetVirtual attribute exposed by setColumns. Access it like a field to read or write the underlying value.
spacingintsetVirtual attribute exposed by setSpacing. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
getSpacing()intReturns the current spacing value.
getColumns()intReturns the current columns value.
setSpacing(int)voidSets spacing.
setColumns(int)voidSets columns.
isAutoColumns()booleanReturns whether autoColumns is true.
setAutoColumns(boolean)voidSets autoColumns.