Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.Borders.DefaultBorder Class Reference
Inheritance diagram for Dragengine.Gui.Borders.DefaultBorder:
Dragengine.Gui.Borders.Border Dragengine.Gui.Borders.CanvasCreatorBorder Dragengine.Gui.Borders.CombinedBorder Dragengine.Gui.Borders.EmptyBorder Dragengine.Gui.Borders.ImageBorder Dragengine.Gui.Borders.LineBorder Dragengine.Gui.Borders.TwoColorBorder Dragengine.Gui.Borders.BevelBorder Dragengine.Gui.Borders.EtchedBorder Dragengine.Gui.Borders.TitledTwoColorBorder Dragengine.Gui.Borders.TitledEtchedBorder

Public Member Functions

BorderSize getBorderSize ()
 
Canvas getCanvas ()
 
CanvasView getCanvasView ()
 
Widget getWidget ()
 
void layoutContainer ()
 
DefaultBorder new ()
 
void onGuiThemeChanged ()
 
void onWidgetChanged ()
 
void onWidgetParametersChanged ()
 
void resizeCanvas (Point widgetSize)
 
void setWidget (Widget widget)
 
void updateCanvas ()
 

Public Attributes

CanvasView pCanvas
 
Widget pWidget
 

Detailed Description

Default border implementation drawing nothing at all.

Member Function Documentation

◆ getBorderSize()

◆ getCanvas()

Canvas Dragengine.Gui.Borders.DefaultBorder.getCanvas ( )

Canvas to render this border.

Implements Dragengine.Gui.Borders.Border.

◆ getCanvasView()

CanvasView Dragengine.Gui.Borders.DefaultBorder.getCanvasView ( )

Canvas to render this border.

◆ getWidget()

Widget Dragengine.Gui.Borders.DefaultBorder.getWidget ( )

Widget the border is assigned to or null if there is none.

Implements Dragengine.Gui.Borders.Border.

◆ layoutContainer()

void Dragengine.Gui.Borders.DefaultBorder.layoutContainer ( )

Layout widget parent container. Call if parameters of the border changed in a way the border size is affected.

◆ new()

◆ onGuiThemeChanged()

void Dragengine.Gui.Borders.DefaultBorder.onGuiThemeChanged ( )

Gui theme of the widget changed.

Implements Dragengine.Gui.Borders.Border.

Reimplemented in Dragengine.Gui.Borders.CombinedBorder.

◆ onWidgetChanged()

void Dragengine.Gui.Borders.DefaultBorder.onWidgetChanged ( )

Widget changed.

◆ onWidgetParametersChanged()

void Dragengine.Gui.Borders.DefaultBorder.onWidgetParametersChanged ( )

Widget parameters changed.

Implements Dragengine.Gui.Borders.Border.

Reimplemented in Dragengine.Gui.Borders.CombinedBorder.

◆ resizeCanvas()

void Dragengine.Gui.Borders.DefaultBorder.resizeCanvas ( Point  widgetSize)

Resize canvas to fit widget if widget is set.

Implements Dragengine.Gui.Borders.Border.

Reimplemented in Dragengine.Gui.Borders.CombinedBorder.

◆ setWidget()

void Dragengine.Gui.Borders.DefaultBorder.setWidget ( Widget  widget)

Set widget the border is assigned to or null if there is none.

Implements Dragengine.Gui.Borders.Border.

Reimplemented in Dragengine.Gui.Borders.CombinedBorder.

◆ updateCanvas()

Member Data Documentation

◆ pCanvas

CanvasView Dragengine.Gui.Borders.DefaultBorder.pCanvas

◆ pWidget

Widget Dragengine.Gui.Borders.DefaultBorder.pWidget

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