ButtonGroup

kitPx-ButtonGroup is a widget that provides a convenient way to bind a group of buttons to a common boolean or enum point. This widget is comprised of a standard GridPane with a Button-GroupBinding already available. The ButtonGroup properties are editable in the Px Editor properties side bar.

Figure 1. ButtonGroup Property Sheet


You access these properties by expanding KitPx palette and double-click ButtonGroup

PropertyValueDescription
Visibletrue (default) false
Sets the table to be visible in the Px page interface (true) or not (false).
Enabled (Px graphics)true or false
Determines if the table on a Px page can receive a command.

true configures the page to receive a command using a popup menu.

false renders the display visible but unable to receive a command.

Layoutadditional properties
Opens a layout window for specifying the size and location of the table in relation to its parent (X, Y coordinates, height and width).
Column CountnumberSpecifies the number of column in the button group.
HalignLeft, Center (default), Right, Fill
Selects from among horizontal alignment options: Left, Center, Right, and Fill
ValignLeft, Center (default), Right, Fill
Specifies how to vertically align the pane: Top, Center, Right, Fill
Row AlignTop, Center (default), Bottom, FillSpecifies the alignment of the row.
Column AlignTop, Center, Bottom, Fill(default)Specifies the alignment of the column.
Row GapnumberSpecifies the gap between the rows.
Column GapnumberSpecifies the gap between the columns.
Uniform Row Heighttrue false(default)When set to true sets uniform row height. When set to false does not have uniform row height.
Uniform Column Widthtrue false(default)When set to true sets uniform column width. When set to false does not have uniform column width.
Stretch RownumberAllows to stretch the row.
Stretch ColumnnumberAllows to stretch the column.
Color Rowstrue false(default)When set to true allows to color the rows. When set to false does not allows to color the rows.
Band BrushSolid, Gradient, Image ,Null(default)Specifies row fill. Solid opens the color chooser window. Gradient opens the gradient editor window. Image opens the texture window, click the browser icon to open File chooser, ord chooser to select the image file. Null indicates no row fill.
badditional propertiesConfigures additional parameters for the binding for the button group.