Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.ModManagement.MMAuthProviderListRenderer Class Reference

List element renderer lists with ListEntry instances. More...

Inheritance diagram for Dragengine.Gui.ModManagement.MMAuthProviderListRenderer:
Dragengine.Gui.ListElementRenderer

Classes

class  ListEntry
 Wraps authentication provider list entry. More...
 
class  ProviderWidget
 Widget representing authentication provider. More...
 

Public Member Functions

Widget createRenderer (ListBox listBox)
 Create widget representing authentication provider in list box. More...
 
Point getDefaultMinimumSize ()
 Minimum size to use unless default element is larger. More...
 
ListEntry getDefaultProvider ()
 Default authentication provider used to measure default size. More...
 
Point getDefaultSize (ListBox listBox)
 Default size of widget in list box. More...
 
String getDesignerSelector ()
 Designer selector. More...
 
MMAuthProviderListRenderer new ()
 Create authentication provider list model renderer. More...
 
MMAuthProviderListRenderer new (String designerSelector)
 Create authentication provider list model renderer. More...
 
void setDefaultMinimumSize (Point size)
 Set minimum size to use unless default element is larger. More...
 
void updateRenderer (ListBox listBox, Widget renderer, Object element, bool selected, bool focused)
 Update widget representing authentication provider in list box. More...
 

Public Attributes

Point pDefaultMinimumSize
 
ListEntry pDefaultProvider
 
String pDesignerSelector
 

Detailed Description

List element renderer lists with ListEntry instances.

Version
1.23

For use in authentication provider list box.

Member Function Documentation

◆ createRenderer()

Widget Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.createRenderer ( ListBox  listBox)

Create widget representing authentication provider in list box.

Creates instance of #ProviderWidget.

Implements Dragengine.Gui.ListElementRenderer.

◆ getDefaultMinimumSize()

Point Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.getDefaultMinimumSize ( )

Minimum size to use unless default element is larger.

◆ getDefaultProvider()

ListEntry Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.getDefaultProvider ( )

Default authentication provider used to measure default size.

◆ getDefaultSize()

Point Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.getDefaultSize ( ListBox  listBox)

Default size of widget in list box.

Implements Dragengine.Gui.ListElementRenderer.

◆ getDesignerSelector()

String Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.getDesignerSelector ( )

Designer selector.

◆ new() [1/2]

MMAuthProviderListRenderer Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.new ( )

Create authentication provider list model renderer.

Uses base designer selector "ListRenderer.MMAuthProviderListRenderer".

◆ new() [2/2]

MMAuthProviderListRenderer Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.new ( String  designerSelector)

Create authentication provider list model renderer.

◆ setDefaultMinimumSize()

void Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.setDefaultMinimumSize ( Point  size)

Set minimum size to use unless default element is larger.

◆ updateRenderer()

void Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.updateRenderer ( ListBox  listBox,
Widget  renderer,
Object  element,
bool  selected,
bool  focused 
)

Update widget representing authentication provider in list box.

Implements Dragengine.Gui.ListElementRenderer.

Member Data Documentation

◆ pDefaultMinimumSize

Point Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.pDefaultMinimumSize

◆ pDefaultProvider

ListEntry Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.pDefaultProvider

◆ pDesignerSelector

String Dragengine.Gui.ModManagement.MMAuthProviderListRenderer.pDesignerSelector

The documentation for this class was generated from the following file: