Table of Contents

Namespace BSGameLib.UI.Builder

Classes

BuilderResults

The outcome of building a view or template: what was built, and every problem found.

UntrustedViewLimits

How much a view from somewhere other than the game -- a server's -- may hold, so that a hostile one cannot take the client down by size alone.

ViewFileValidator

Checks a .view.xml against the schema without building anything from it.

Interfaces

IBuilder

Marks the fluent builders in this namespace. Has no members.

IButtonBuilder

A button, the Button element of a view file, built in C#.

IButtonStateBuilder<TControlBuilder>

Builds the state of a button: its appearance in one state of the control.

ICheckBoxBuilder

A check box, the CheckBox element of a view file, built in C#.

ICheckableControlBuilder<TBuilder>

What a check box and a radio button share: the same attributes, and the same states.

ICheckboxStateBuilder<TControlBuilder>

Builds one state of a check box: its appearance while checked or unchecked.

IComboBoxArrowBuilder<TBuilder>

Configures the arrow of a combo box, which is either a texture or a set of colors.

IComboBoxBuilder

A drop-down list, the ComboBox element of a view file, built in C#.

IComboBoxDropDownBuilder<TBuilder>

Configures the open list of a combo box.

IComboBoxOptionBuilder<TBuilder>

Builds one option of a combo box.

IComboBoxOptionsBuilder<TBuilder>

Adds the options of a combo box.

IComboBoxPartsBuilder<TBuilder>

Configures the separate parts of a combo box.

IContainerBuilder<TBuilder>

What every layout (stack, dock, grid) takes on top of IControlBuilder<TBuilder>: the LayoutControl appearance attributes, which paint behind or around the children.

IControlBuilder<TBuilder>

The attributes every control and layout shares, from Control in view.xsd. Each takes the same values the XML attribute does: a literal, a "{Resource id}" or "{Localize key}" where the attribute reads one, or a "{Binding X}" through the Bind method where the XML accepts one.

IControlStateBuilder<TControlBuilder>

Configures the look of a control in one state: its colors, textures, border and shadow.

IControlStateSetBuilder<TBuilder>

Configures a control's look in each of its mouse states.

IControlTextBindingBuilder<TControlBuilder>

Chooses the view model property a control's text is bound to.

IDecorationBuilder

A purely visual mark pinned to a corner or edge of the view, the same as a Decoration in view.xsd. It sits outside the layout and takes no space in it.

IDockLayoutBuilder

A dock layout, the DockLayout element of a view file, built in C#.

IGradientBuilder

A Gradient resource: a linear or radial fill with its color stops.

IGridCellBuilder

Builds one cell of a grid layout: its placement and the control in it.

IGridLayoutBuilder

A grid layout, the GridLayout element of a view file, built in C#.

IHasControls

Something that holds child controls, such as a layout.

IHorizontalThreePatchTextureBuilder<TBuilder>

Builds a horizontal three-patch texture: a left cap, a stretched middle and a right cap.

IHorizontalThreePatchTextureReference<TBuilder>

Takes a horizontal three-patch texture declared in the view's resources.

IImageBuilder

An image, the Image element of a view file, built in C#.

IIndexedTextureAtlasBuilder<TBuilder>

Adds a numbered texture atlas, each texture the same size. The index to use is given where the atlas is referenced.

IIndexedTextureAtlasWithIndexBuilder<TBuilder>

Builds a numbered texture atlas, with the index to use set in the same call.

ILabelBuilder

A label, the Label element of a view file, built in C#.

INinePatchSubsectionBuilder<TBuilder>

Configures one subsection of a nine-patch texture: its place in the texture, size and color.

INinePatchTextureBuilder<TBuilder>

Builds a nine-patch texture: eight edge and corner pieces around a middle, each placed in the texture.

INinePatchTextureReference<TBuilder>

Takes a nine-patch texture declared in the view's resources.

IPasswordBoxBuilder

A password box, the PasswordBox element of a view file, built in C#.

IPasswordBoxStateBuilder<TControlBuilder>

Builds one state of a password box: its appearance in that state.

IProgressBarBuilder

A progress bar, the ProgressBar element of a view file, built in C#.

IRadioButtonBuilder

A radio button, the RadioButton element of a view file, built in C#.

IRegionTextureAtlasBuilder<TBuilder>

Builds a texture atlas file whose named regions are each placed in it.

IRepeaterBuilder

A repeater, the Repeater element of a view file, built in C#. It draws one row per item in a list.

IRepeaterItemTemplateBuilder

Holds the one layout a repeater builds per item. Calling a root method again replaces the layout from the previous call, as IViewBuilder does for its root.

ISliderBuilder

A slider, the Slider element of a view file, built in C#.

IStackLayoutBuilder

A stack layout, the StackLayout element of a view file, built in C#. It places its children in a row or column.

IStyleBuilder

A Style resource: text settings and per-state looks that controls name with Style="id".

ITemplateBuilder

Builds the resources a view or template declares: colors, strings, gradients, styles and textures.

ITemplateReferenceBuilder<T>

Takes resources from another template file.

ITextBoxBuilder

A text box, the TextBox element of a view file, built in C#.

ITextBoxStateBuilder<TControlBuilder>

Builds one state of a text box: its appearance in that state.

ITextInputBuilder<TBuilder>

What a text box and a password box share: the same attributes, and the same states.

ITextureBuilder<TBuilder>

Adds textures to a template: image files, atlases, and nine-patch and three-patch textures.

ITextureFileBuilder<TBuilder>

Adds a texture file to a template.

ITextureIndexReferenceBuilder<TBuilder>

Takes one indexed texture of an atlas.

ITexturePositionBuilder<TBuilder>

Places a texture region in its atlas.

ITextureReferenceBuilder<TBuilder>

Takes a texture declared in the view's resources, in any of its forms.

ITextureReferencesBuilder<T>

Takes the textures a template file declares, for a view to use.

ITextureRegionAtlasBuilder<TBuilder>

Adds an atlas file with one named region.

ITextureRegionBuilder<TBuilder>

Places and sizes one region of a texture atlas.

ITextureRegionReferenceBuilder<TBuilder>

Takes one named region of an atlas.

ITextureSizeBuilder<TBuilder>

Sets the size of the textures on an atlas.

IViewBuilder

Builds a view in C#. The result is the same screen a view file gives.