Interface IComboBoxArrowBuilder<TBuilder>
Configures the arrow of a combo box, which is either a texture or a set of colors.
public interface IComboBoxArrowBuilder<TBuilder>
Type Parameters
TBuilder
Methods
WithClickedColor(string)
Sets the arrow's color while it is pressed. Falls back to the normal color.
IComboBoxArrowBuilder<TBuilder> WithClickedColor(string colorHex)
Parameters
colorHexstring
Returns
- IComboBoxArrowBuilder<TBuilder>
WithHorizontalThreePatchTextureReference(string)
Uses a horizontal three-patch texture already declared in the view's resources.
IComboBoxArrowBuilder<TBuilder> WithHorizontalThreePatchTextureReference(string id)
Parameters
idstring
Returns
- IComboBoxArrowBuilder<TBuilder>
WithHoverColor(string)
Sets the color of the item under the pointer.
IComboBoxArrowBuilder<TBuilder> WithHoverColor(string colorHex)
Parameters
colorHexstring
Returns
- IComboBoxArrowBuilder<TBuilder>
WithNinePatchTextureReference(string)
Uses a nine-patch texture already declared in the view's resources.
IComboBoxArrowBuilder<TBuilder> WithNinePatchTextureReference(string id)
Parameters
idstring
Returns
- IComboBoxArrowBuilder<TBuilder>
WithNormalColor(string)
Sets the normal state's fill color of the open list.
IComboBoxArrowBuilder<TBuilder> WithNormalColor(string colorHex)
Parameters
colorHexstring
Returns
- IComboBoxArrowBuilder<TBuilder>
WithTexture(string, string)
Sets the arrow's texture from a file, under the id id.
IComboBoxArrowBuilder<TBuilder> WithTexture(string id, string sourceFile)
Parameters
Returns
- IComboBoxArrowBuilder<TBuilder>
WithTextureIndexAtlas(string, int, string, int, int)
Sets the arrow's texture to one indexed texture of an atlas file.
IComboBoxArrowBuilder<TBuilder> WithTextureIndexAtlas(string id, int index, string sourceFile, int eachTextureWidth, int eachTextureHeight)
Parameters
Returns
- IComboBoxArrowBuilder<TBuilder>
WithTextureIndexReference(string, int)
Uses one indexed texture of an atlas already declared in the view's resources.
IComboBoxArrowBuilder<TBuilder> WithTextureIndexReference(string id, int index)
Parameters
Returns
- IComboBoxArrowBuilder<TBuilder>
WithTextureReference(string)
Uses a texture already declared in the view's resources.
IComboBoxArrowBuilder<TBuilder> WithTextureReference(string id)
Parameters
idstring
Returns
- IComboBoxArrowBuilder<TBuilder>
WithTextureRegionAtlas(string, string, string, int, int, int, int)
Sets the arrow's texture to one named region of a texture atlas file.
IComboBoxArrowBuilder<TBuilder> WithTextureRegionAtlas(string id, string sourceFile, string regionId, int x, int y, int width, int height)
Parameters
Returns
- IComboBoxArrowBuilder<TBuilder>
WithTextureRegionReference(string, string)
Uses one named region of a texture atlas already declared in the view's resources.
IComboBoxArrowBuilder<TBuilder> WithTextureRegionReference(string id, string regionName)
Parameters
Returns
- IComboBoxArrowBuilder<TBuilder>