Class FxGridRow

    • Constructor Detail

      • FxGridRow

        public FxGridRow​(FxGridPanel grid)
        The constructor.
        Parameters:
        grid - the owning FxGridPanel.
    • Method Detail

      • addChild

        public void addChild​(UiRegularWidget child,
                             int index,
                             int colspan,
                             int rowspan)
        Description copied from interface: UiGridRow
        Inserts the given child at the given index.
        Specified by:
        addChild in interface UiGridRow
        Parameters:
        child - is the UiWidget to insert as child at the given index.
        index - is the index of the new child. It has to be in the range from 0 to UiComposite.getChildCount().
        colspan - the number of columns the given child widget should span. The default is 1 for a single column/cell. Use a higher number to join multiple cells to the right.
        rowspan - the number of rows the given child widget should span. The default is 1 for a single row/cell. Use a higher number to join multiple cells downwards.
      • setVisibleNative

        protected void setVisibleNative​(boolean visible)
        Overrides:
        setVisibleNative in class FxWidgetNode<javafx.scene.Group>
        Parameters:
        visible - true to show this widget (in case its parent is also visible), false to hide this widget.