ValidatedPair

constructor(defaultValue: ValidatedPair.Tuple<A, B>, leftHandler: Entry<A, *>, rightHandler: Entry<B, *>, layoutStyle: ValidatedPair.LayoutStyle = LayoutStyle.SIDE_BY_SIDE)

Parameters

A

stored type of the left side of the tuple

B

stored type of the right side of the tuple

defaultValue

Tuple default pair of values

leftHandler

Entry<A> handler for left side of the tuple

rightHandler

Entry<B> handler for right side of the tuple

layoutStyle

LayoutStyle, optional. Whether the two handlers' widgets are laid-out side by side with half the space for each, or stacked like two "normal" settings on top of each other. Default is side-by-side.