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

List element renderer for ListBoxEditBindings. More...

Inheritance diagram for Dragengine.Gui.EditBindingsListRenderer:
Dragengine.Gui.DefaultListElementRenderer Dragengine.Gui.ListElementRenderer

Classes

class  ActionDeleteBinding
 Action deleting binding. More...
 

Additional Inherited Members

- Public Member Functions inherited from Dragengine.Gui.DefaultListElementRenderer
Widget createRenderer (ListBox listBox)
 Create renderer. More...
 
Point getDefaultMinimumSize ()
 Minimum size to use unless default element is larger. More...
 
Object getDefaultObject ()
 Object used to measure default size with. More...
 
Point getDefaultSize (ListBox listBox)
 Default size of list element. More...
 
String getDesignerSelector ()
 Dsigner selector. More...
 
DefaultListElementRenderer new ()
 Create default list element renderer. More...
 
DefaultListElementRenderer new (Object defaultObject)
 Create default list element renderer. More...
 
void setDefaultMinimumSize (Point size)
 Set minimum size to use unless default element is larger. More...
 
void setDefaultObject (Object object)
 Object used to measure default size with. More...
 
void setDesignerSelector (String selector)
 Set designer selector. More...
 
void updateRenderer (ListBox listBox, Widget renderer, Object element, bool selected, bool focused)
 Update renderer with object state. More...
 

Detailed Description

List element renderer for ListBoxEditBindings.

Base designer selector is used to derive the designer selectors for all child elements. The default base designer selector is 'EditBindingsEntry'. These are the derived selectors:

  • Root panel (deselected): 'Panel.' + base-selector
  • Root panel (selected): 'Panel.' + base-selector + '.Selected'
  • Name label (deselected): 'Label.' + base-selector + '.Name'
  • Name label (selected): 'Label.' + base-selector + '.Name.Selected'
  • Binding label (deselected): 'Label.' + base-selector + '.Binding'
  • Binding label (selected): 'Label.' + base-selector + '.Binding.Selected'

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