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

Action deleting binding. More...

Inheritance diagram for Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding:
Dragengine.Gui.Events.ActionListener

Classes

class  ActionAddBinding
 Action add binding. More...
 

Public Member Functions

Widget createRenderer (ListBox listBox)
 Create renderer. More...
 
int getIconHeight ()
 Icon height. More...
 
TranslationManager getTranslationManager ()
 
int getWidthDisplayName ()
 Width of display name in pixels. More...
 
ActionDeleteBinding new ()
 Create element renderer. More...
 
ActionDeleteBinding new (EditBindingsListModel model, EditBindingsListModelEntry entry, Binding binding)
 
void onAction (ActionEvent event)
 Run action. More...
 
void setIconHeight (int height)
 Set icon height. More...
 
void setTranslationManager (TranslationManager translationManager)
 
void setWidthDisplayName (int width)
 Set width of display name in pixels. More...
 

Public Attributes

Binding pBinding
 
EditBindingsListModelEntry pEntry
 
int pIconHeight
 
WeightLayout.LayoutSettings pLSBindings
 
WeightLayout.LayoutSettings pLSDisplayName
 
EditBindingsListModel pModel
 
int pWidthDisplayName
 

Detailed Description

Action deleting binding.

Version
1.20

Deleting the binding is delayed by one frame update to avoid problems if widget is removed while action runs.

Member Function Documentation

◆ createRenderer()

Widget Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.createRenderer ( ListBox  listBox)

Create renderer.

Renderer is a Panel containing as first element a command Label and as second element a Panel with all bindings. Bindings are Label widgets with a border.

◆ getIconHeight()

int Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.getIconHeight ( )

Icon height.

◆ getTranslationManager()

TranslationManager Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.getTranslationManager ( )
Deprecated:
Use ListBox.getTranslationManager() instead.
Version
1.16

◆ getWidthDisplayName()

int Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.getWidthDisplayName ( )

Width of display name in pixels.

◆ new() [1/2]

ActionDeleteBinding Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.new ( )

Create element renderer.

◆ new() [2/2]

ActionDeleteBinding Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.new ( EditBindingsListModel  model,
EditBindingsListModelEntry  entry,
Binding  binding 
)

◆ onAction()

void Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.onAction ( ActionEvent  event)

Run action.

Implements Dragengine.Gui.Events.ActionListener.

◆ setIconHeight()

void Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.setIconHeight ( int  height)

Set icon height.

◆ setTranslationManager()

void Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.setTranslationManager ( TranslationManager  translationManager)
Deprecated:
Use ListBox.getTranslationManager() instead.
Version
1.16

◆ setWidthDisplayName()

void Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.setWidthDisplayName ( int  width)

Set width of display name in pixels.

Member Data Documentation

◆ pBinding

Binding Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.pBinding

◆ pEntry

EditBindingsListModelEntry Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.pEntry

◆ pIconHeight

int Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.pIconHeight

◆ pLSBindings

WeightLayout.LayoutSettings Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.pLSBindings

◆ pLSDisplayName

WeightLayout.LayoutSettings Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.pLSDisplayName

◆ pModel

EditBindingsListModel Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.pModel

◆ pWidthDisplayName

int Dragengine.Gui.EditBindingsListRenderer.ActionDeleteBinding.pWidthDisplayName

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