Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.Widget Class Reference
Inheritance diagram for Dragengine.Gui.Widget:
Dragengine.Gui.Container Dragengine.Gui.DisplayCanvas Dragengine.Gui.DisplayImage Dragengine.Gui.DisplayStyledText Dragengine.Gui.DisplayVideo Dragengine.Gui.Label Dragengine.Gui.MenuItemSeparator Dragengine.Gui.ProgressBar Dragengine.Gui.ShoutConsole Dragengine.Gui.TextWidget Dragengine.Gui.WorldRenderer

Classes

class  RepeatKeyEventTimer
 Repeat key event timer. More...
 

Public Member Functions

void addDragListener (DragListener listener)
 
void addFocusListener (FocusListener listener)
 Add focus listener. More...
 
void addGamepadListener (GamepadListener listener)
 Add gamepad listener. More...
 
void addKeyListener (KeyListener listener)
 
void addMouseListener (MouseListener listener)
 
void addStateChangeListener (StateChangeListener listener)
 Add state change listener. More...
 
void addWidgetListener (WidgetListener listener)
 Add widget listener. More...
 
bool canGrabFullFocus ()
 
void captureMouse ()
 
void design ()
 Design widget using WidgetDesigner. More...
 
void dispose ()
 
Widget findFocusableWidget ()
 
Widget findLastFocusableWidget ()
 
CanvasCreator getBackgroundCanvasCreator ()
 Background canvas creator or null to use background color. More...
 
bool getBlockLayoutParent ()
 Block layoutParent calls. More...
 
Border getBorder ()
 
BorderSize getBorderSize ()
 
RectArea getBoundary ()
 Rectangulare boundary of the widget. More...
 
RectArea getBoundaryWithBorder ()
 Rectangulare boundary of the widget including border. More...
 
bool getCanFocus ()
 
CanvasView getCanvasBackground ()
 
CanvasView getCanvasContent ()
 
CanvasView getCanvasWidget ()
 
Clipboard getClipboard ()
 Clipboard or null to use parent clipboard. More...
 
ColorMatrix getColorTransformation ()
 Color transformation. More...
 
WidgetDesigner getDesigner ()
 Designer. More...
 
String getDesignerSelector ()
 Designer selector. More...
 
Desktop getDesktop ()
 
Point getDesktopPosition ()
 Widget position in desktop coordinates. More...
 
bool getEnabled ()
 
MousePointerFactory getFirstMousePointer ()
 First assigned mouse pointer. More...
 
Font getFont ()
 
bool getHasBlockedLayoutParent ()
 layoutParent calls happened during runWhileBlockingLayoutParent. More...
 
bool getHasFocus ()
 
int getHeight ()
 Height of widget. More...
 
RangeModel getHorizontalRangeModel ()
 Horizontal range model for viewports to synchronize the horizontal scrollbar. More...
 
Widget getHoverWidget ()
 Widget the mouse hovers above or null. More...
 
Point getLocalMouseLocation ()
 Parent desktop mouse location in widget coordinates. More...
 
Point getMinimumSize ()
 
Point getMinimumSizeForHeight (int height)
 Minimum size of widget using reference widget height and variable width. More...
 
Point getMinimumSizeForWidth (int width)
 Minimum size of widget using reference widget width and variable height. More...
 
Point getMinimumSizeWithBorder ()
 
Point getMinimumSizeWithBorderForHeight (int height)
 Minimum size of widget with border using reference height. More...
 
Point getMinimumSizeWithBorderForWidth (int width)
 Minimum size of widget with border for reference width. More...
 
MousePointerFactory getMousePointer ()
 Mouse pointer to use. More...
 
BorderSize getPadding ()
 Padding. More...
 
Container getParent ()
 
Point getPosition ()
 Position of the widget. More...
 
bool getProtectBackgroundCanvasCreator ()
 Protect custom set background canvas creator. More...
 
bool getProtectBorder ()
 Protect custom set border. More...
 
bool getProtectFont ()
 Protect custom set font. More...
 
bool getProtectMinimumSize ()
 Protect custom set minimumsize. More...
 
bool getProtectMousePointer ()
 Protect custom set mouse pointer. More...
 
bool getProtectPadding ()
 Protect custom set padding. More...
 
bool getProtectTextColor ()
 Protect custom set text color. More...
 
Point getRelativePosition (Container parent)
 Widget position in parent widget coordinates. More...
 
Point getScreenPosition ()
 Widget position in screen coordinates. More...
 
RectArea getScreenRectArea ()
 
Point getSetMinimumSize ()
 
Point getSize ()
 Size of the widget. More...
 
Color getTextColor ()
 Text color. More...
 
String getTitle ()
 Widget title. More...
 
Object getToolTip ()
 Tooltip or null. More...
 
float getTotalTransparency ()
 
TexMatrix2 getTransformation ()
 
float getTransparency ()
 
RangeModel getVerticalRangeModel ()
 Vertical range model for viewports to synchronize the vertical scrollbar. More...
 
bool getVisible ()
 
Widget getWidgetAt (Point position)
 Widget at coordinates or null if not found. More...
 
int getWidth ()
 Width of widget. More...
 
Window getWindow ()
 
Point getWindowPosition ()
 Widget position in window coordinates. More...
 
int getX ()
 X position of widget. More...
 
int getY ()
 Y position of widget. More...
 
void grabFocus ()
 
bool hasParent (Container container)
 
bool isDesignerSet ()
 Custom designer is set. More...
 
bool isFullEnabled ()
 Widget and all parent widgets are enabled. More...
 
bool isMinimumSizeSet ()
 
bool isMouseInside ()
 Mouse is hovering over this widget. More...
 
bool isPointInside (Point position)
 
bool isTransformationSet ()
 
void layoutParent ()
 
void layoutParentIfBlocked ()
 Calls layoutParent if getHasBlockedLayoutParent() is true. More...
 
Widget new ()
 Create widget. More...
 
Widget new (int x, int y, int width, int height)
 Create widget with initial location and size. More...
 
Widget new (Point position, Point size)
 Create widget with initial location and size. More...
 
Widget nextFocusWidget ()
 Find next widget in the focus cycle that can grab the focus. More...
 
void notifyBorderParametersChanged ()
 
void onDesignerChanged ()
 Designer changed. More...
 
void onDesignerSelectorChanged ()
 Designer selector changed. More...
 
void onDispose (WidgetEvent event)
 Window is disposing. More...
 
void onFocusLost (FocusEvent event)
 Widget lost focus. More...
 
void onFocusReceived (FocusEvent event)
 Widget received focus. More...
 
void onFrameUpdate (float elapsed)
 Do frame update. More...
 
void onGamepadButtonPressed (GamepadEvent event)
 Gamepad button has been pressed. More...
 
void onGamepadButtonReleased (GamepadEvent event)
 Gamepad button has been released. More...
 
void onGuiThemeChanged ()
 
void onHidden (WidgetEvent event)
 Widget has been hidden. More...
 
void onPaddingChanged ()
 Padding changed. More...
 
void onParentStateChanged ()
 Parent state changed. More...
 
void onParentStateChanged (bool force)
 Parent state changed. More...
 
void onReposition (WidgetEvent event)
 Position changed. More...
 
void onResize (WidgetEvent event)
 Size changed. More...
 
void onSetFont ()
 
void onSetTextColor ()
 Text color changed. More...
 
void onShown (WidgetEvent event)
 Widget has been shown. More...
 
void onStateChanged (StateChangeEvent event)
 State changed. More...
 
void onTranslationChanged ()
 Translation manager or active language pack changed. More...
 
void popdownVirtualKeyboard ()
 Popdown virtual keyboard if Desktop has one assigned. More...
 
void popupVirtualKeyboard ()
 Popup virtual keyboard if Desktop has one assigned. More...
 
Widget prevFocusWidget ()
 Find previous widget in the focus cycle that can grab the focus. More...
 
void processEvent (Event event)
 
void releaseMouse ()
 
void removeDragListener (DragListener listener)
 
void removeFocusListener (FocusListener listener)
 Remove focus listener. More...
 
void removeGamepadListener (GamepadListener listener)
 Remove gamepad listener. More...
 
void removeKeyListener (KeyListener listener)
 
void removeMouseListener (MouseListener listener)
 
void removeStateChangeListener (StateChangeListener listener)
 Remove state change listener. More...
 
void removeWidgetListener (WidgetListener listener)
 Remove widget listener. More...
 
void requestGrabFocus (Widget widget)
 
void runWhileBlockingLayoutParent (Block ablock)
 Run block while layouting is blocked. More...
 
void safeDispose ()
 Safely dispose of widget. More...
 
void sendEvent (Event event)
 
void sendEventToListeners (Event event, bool sendToParent)
 Send event to all appropriate listeners for events of its kind. More...
 
void setBackgroundCanvasCreator (CanvasCreator creator)
 Set background canvas creator or null to use background color. More...
 
void setBlockLayoutParent (bool blockLayoutParent)
 Set block layoutParent calls. More...
 
void setBorder (Border border)
 
void setCanFocus (bool canFocus)
 
void setClipboard (Clipboard clipboard)
 Set clipboard or null to use parent clipboard. More...
 
void setColorTransformation (ColorMatrix transformation)
 Set color transformation. More...
 
void setDesigner (WidgetDesigner designer)
 Set designer. More...
 
void setDesignerSelector (String selector)
 Set designer selector. More...
 
void setEnabled (bool enabled)
 
void setFont (Font font)
 
void setHasBlockedLayoutParent (bool hasBlockedLayoutParent)
 Set if layoutParent calls happened during runWhileBlockingLayoutParent. More...
 
void setHasFocus (bool hasFocus)
 
void setHeight (int height)
 Set height of widget. More...
 
void setMinimumSize (Point size)
 
void setMousePointer (MousePointerFactory mousePointer)
 Set mouse pointer to use. More...
 
void setPadding (BorderSize padding)
 Set padding. More...
 
void setParent (Container parent)
 
void setPosition (Point position)
 Set position of widget. More...
 
void setProtectBackgroundCanvasCreator (bool protect)
 Set protect custom set background canvas creator. More...
 
void setProtectBorder (bool protect)
 Set protect custom set border. More...
 
void setProtectFont (bool protect)
 Set protect custom set font. More...
 
void setProtectMinimumSize (bool protect)
 Set protect custom set minimumsize. More...
 
void setProtectMousePointer (bool protect)
 Set protect custom set mouse pointer. More...
 
void setProtectPadding (bool protect)
 Set protect custom set padding. More...
 
void setProtectTextColor (bool protect)
 Set protect custom set text color. More...
 
void setSize (Point size)
 Set size of widget. More...
 
void setTextColor (Color color)
 Set text color. More...
 
void setTitle (String title)
 Set widget title. More...
 
void setToolTip (Object toolTip)
 Set tooltip or null. More...
 
void setTransformation (TexMatrix2 transformation)
 
void setTransparency (float transparency)
 
void setVisible (bool visible)
 
void setWidth (int width)
 Set width of widget. More...
 
void setX (int x)
 Set X position of widget. More...
 
void setY (int y)
 Set Y Position of widget. More...
 
void startFrameUpdater ()
 Start frame updater if not running. More...
 
void stopFrameUpdater ()
 Stop frame updater if running. More...
 

Public Attributes

CanvasCreator pBackgroundCanvasCreator
 
bool pBlockLayoutParent
 
Border pBorder
 
bool pCanFocus
 
CanvasView pCanvasBackground
 
CanvasView pCanvasContent
 
CanvasView pCanvasWidget
 
Clipboard pClipboard
 
WidgetDesigner pDesigner
 
String pDesignerSelector
 
Array pDragListeners
 
bool pEnabled
 
Array pFocusListeners
 
Font pFont
 
FrameUpdater pFrameUpdater
 
Array pGamepadListeners
 
bool pHasBlockedLayoutParent
 
bool pHasFocus
 
bool pIsDesignerSet
 
Array pKeyListeners
 
Point pMinSize
 
Array pMouseListeners
 
MousePointerFactory pMousePointer
 
BorderSize pPadding
 
Container pParent
 
Point pPosition
 
bool pProtectBackgroundCanvasCreator
 
bool pProtectBorder
 
bool pProtectFont
 
bool pProtectMinimumSize
 
bool pProtectMousePointer
 
bool pProtectPadding
 
bool pProtectTextColor
 
RepeatKeyEventTimer pRepeatEventTimer
 
Point pSize
 
Array pStateChangeListeners
 
Color pTextColor
 
GuiTheme pTheme
 
String pThemeSelector
 
String pTitle
 
Object pToolTip
 
TexMatrix2 pTransformation
 
TranslationManager pTranslationManager
 
float pTransparency
 
bool pVisible
 
Array pWidgetListeners
 

Protected Member Functions

WidgetDesigner getDesignerFromTheme ()
 Get designer from gui theme. More...
 
void updateCanvasBackground ()
 Update background canvas content. More...
 
void updateCanvasGeometry ()
 Update canvas position and size. More...
 

Detailed Description

Widget base class. Represents a graphical screen component.

Member Function Documentation

◆ addDragListener()

void Dragengine.Gui.Widget.addDragListener ( DragListener  listener)

Add drag listener.

◆ addFocusListener()

void Dragengine.Gui.Widget.addFocusListener ( FocusListener  listener)

Add focus listener.

◆ addGamepadListener()

void Dragengine.Gui.Widget.addGamepadListener ( GamepadListener  listener)

Add gamepad listener.

◆ addKeyListener()

void Dragengine.Gui.Widget.addKeyListener ( KeyListener  listener)

Add key listener.

◆ addMouseListener()

void Dragengine.Gui.Widget.addMouseListener ( MouseListener  listener)

Add mouse listener.

◆ addStateChangeListener()

void Dragengine.Gui.Widget.addStateChangeListener ( StateChangeListener  listener)

Add state change listener.

◆ addWidgetListener()

void Dragengine.Gui.Widget.addWidgetListener ( WidgetListener  listener)

Add widget listener.

◆ canGrabFullFocus()

bool Dragengine.Gui.Widget.canGrabFullFocus ( )

Determines if a widget can grab the full focus. Full focus means that all parents above the widget are visible and enabled

◆ captureMouse()

void Dragengine.Gui.Widget.captureMouse ( )

Captures the mouse if not already captured by another widget.

Reimplemented in Dragengine.Gui.MenuPopup.

◆ design()

void Dragengine.Gui.Widget.design ( )

Design widget using WidgetDesigner.

◆ dispose()

void Dragengine.Gui.Widget.dispose ( )

Disposes of the widget cleaning references.

Warning
This does not remove the widget from the parent container if present. Calling this method while a widget is still inside a parent container will cause exceptions. Use safeDispose() to safely dispose of a widget.

Reimplemented in Dragengine.Gui.MainMenus.Interactive.InteractiveMainMenu, Dragengine.Gui.MainMenus.Interactive.IMMTextDisplay, Dragengine.Gui.WindowModal, Dragengine.Gui.WindowLogo, Dragengine.Gui.WindowLoading, Dragengine.Gui.WindowGameWorld, Dragengine.Gui.WindowDialog, Dragengine.Gui.WindowConsole, Dragengine.Gui.Window, Dragengine.Gui.ToggleButton, Dragengine.Gui.TextWidget, Dragengine.Gui.TextArea, Dragengine.Gui.SwitchPanel, Dragengine.Gui.SubTitleBoxTextBorder, Dragengine.Gui.SpinButton, Dragengine.Gui.ShoutConsole, Dragengine.Gui.ScrollPanel, Dragengine.Gui.ProgressBar, Dragengine.Gui.PanelPlayerChoice, Dragengine.Gui.OptionBox, Dragengine.Gui.ModManagement.MMImageGalleryPreviewImage, Dragengine.Gui.MenuPopup, Dragengine.Gui.MenuItemSubMenu, Dragengine.Gui.MenuItemCommand, Dragengine.Gui.MenuItem, Dragengine.Gui.MenuBarItem, Dragengine.Gui.MenuBar, Dragengine.Gui.ListBox, Dragengine.Gui.Label, Dragengine.Gui.PanelInteractPromptController, Dragengine.Gui.PanelInteractPrompt, Dragengine.Gui.GameRoot, Dragengine.Gui.EditModuleParametersPanel, Dragengine.Gui.WindowCaptureBinding, Dragengine.Gui.DisplayVideo, Dragengine.Gui.DisplayFPSRate, Dragengine.Gui.Desktop, Dragengine.Gui.DefaultComboBoxEditor, Dragengine.Gui.ConsoleInputField, Dragengine.Gui.ComboBox, Dragengine.Gui.ComboBox.ComboPopup, Dragengine.Gui.CheckBox, Dragengine.Gui.Button, and Dragengine.Gui.BgButton.

◆ findFocusableWidget()

Widget Dragengine.Gui.Widget.findFocusableWidget ( )

Find first widget that can grab the focus or null if none exists.

Reimplemented in Dragengine.Gui.ListBox, and Dragengine.Gui.Container.

◆ findLastFocusableWidget()

Widget Dragengine.Gui.Widget.findLastFocusableWidget ( )

Find last widget that can grab the focus or null if none exists.

Reimplemented in Dragengine.Gui.ListBox, and Dragengine.Gui.Container.

◆ getBackgroundCanvasCreator()

CanvasCreator Dragengine.Gui.Widget.getBackgroundCanvasCreator ( )

Background canvas creator or null to use background color.

◆ getBlockLayoutParent()

bool Dragengine.Gui.Widget.getBlockLayoutParent ( )

Block layoutParent calls.

Version
1.23

Used to prevent deadloops and performance problems with layoutParent/doLayout calls. Be careful to disable blocking even in case of exceptions. Also make sure to restore the block layout call in place before changing it by yourself to not break chains.

◆ getBorder()

Border Dragengine.Gui.Widget.getBorder ( )

Retrieves the border or null if not set.

◆ getBorderSize()

BorderSize Dragengine.Gui.Widget.getBorderSize ( )

Get border size. If no border is set an empty border size is returned.

◆ getBoundary()

RectArea Dragengine.Gui.Widget.getBoundary ( )

Rectangulare boundary of the widget.

◆ getBoundaryWithBorder()

RectArea Dragengine.Gui.Widget.getBoundaryWithBorder ( )

Rectangulare boundary of the widget including border.

◆ getCanFocus()

bool Dragengine.Gui.Widget.getCanFocus ( )

Retrieve if widget can get the focus.

◆ getCanvasBackground()

CanvasView Dragengine.Gui.Widget.getCanvasBackground ( )

Canvas view for the widget background.

◆ getCanvasContent()

CanvasView Dragengine.Gui.Widget.getCanvasContent ( )

Canvas view for the widget content.

◆ getCanvasWidget()

CanvasView Dragengine.Gui.Widget.getCanvasWidget ( )

Canvas view for the entire widget.

◆ getClipboard()

Clipboard Dragengine.Gui.Widget.getClipboard ( )

Clipboard or null to use parent clipboard.

Version
1.11

◆ getColorTransformation()

ColorMatrix Dragengine.Gui.Widget.getColorTransformation ( )

Color transformation.

◆ getDesigner()

WidgetDesigner Dragengine.Gui.Widget.getDesigner ( )

Designer.

◆ getDesignerFromTheme()

WidgetDesigner Dragengine.Gui.Widget.getDesignerFromTheme ( )
protected

Get designer from gui theme.

Reimplemented in Dragengine.Gui.SpinButton.

◆ getDesignerSelector()

String Dragengine.Gui.Widget.getDesignerSelector ( )

Designer selector.

Selects designer from gui theme. Selector composes of alphanumeric identifier. A chain of identifiers can be specified separated by periods. If a chain is defined the full chain is first checked to find the designer. If not found the right most identifier is stripped and the remaining chain checked for a match. The first match is used. This allows to add optional quallifier identifers at the end of the chain for future use while still matching broader designers in the mean time.

If null no designer is used from gui theme. Otherwise use class name (for example Widget) with optional qualifiers appended if necessary.

Reimplemented in Dragengine.Gui.ModManagement.MMTransferListRenderer.ModWidget.

◆ getDesktop()

Desktop Dragengine.Gui.Widget.getDesktop ( )

Retrieves the desktop or null if this widget is not part of a desktop. The default implementation forwards the request to the parent with the Desktop or a subclass thereof intercepting.

Reimplemented in Dragengine.Gui.Desktop.

◆ getDesktopPosition()

Point Dragengine.Gui.Widget.getDesktopPosition ( )

Widget position in desktop coordinates.

Reimplemented in Dragengine.Gui.Desktop.

◆ getEnabled()

bool Dragengine.Gui.Widget.getEnabled ( )

Retrieve if widget is enabled.

◆ getFirstMousePointer()

MousePointerFactory Dragengine.Gui.Widget.getFirstMousePointer ( )

First assigned mouse pointer.

If the Widget has a mouse pointer this one is returned otherwise the one of the parent. Can be null if no widget up to top most one has an assigned mouse pointer.

◆ getFont()

Font Dragengine.Gui.Widget.getFont ( )

Retrieve font of widget.

◆ getHasBlockedLayoutParent()

bool Dragengine.Gui.Widget.getHasBlockedLayoutParent ( )

layoutParent calls happened during runWhileBlockingLayoutParent.

Version
1.23

◆ getHasFocus()

bool Dragengine.Gui.Widget.getHasFocus ( )

Retrieve if widget has the focus.

◆ getHeight()

int Dragengine.Gui.Widget.getHeight ( )

Height of widget.

◆ getHorizontalRangeModel()

RangeModel Dragengine.Gui.Widget.getHorizontalRangeModel ( )

Horizontal range model for viewports to synchronize the horizontal scrollbar.

If this widget has no reasonable horizontal range model it should return null.

Reimplemented in Dragengine.Gui.Viewport, Dragengine.Gui.TextArea, and Dragengine.Gui.ListBox.

◆ getHoverWidget()

Widget Dragengine.Gui.Widget.getHoverWidget ( )

Widget the mouse hovers above or null.

Version
1.11

Asks parent for hover widget otherwise returns null.

Reimplemented in Dragengine.Gui.WindowPopup, and Dragengine.Gui.Desktop.

◆ getLocalMouseLocation()

Point Dragengine.Gui.Widget.getLocalMouseLocation ( )

Parent desktop mouse location in widget coordinates.

Version
1.23

If no parent desktop is found zero point is returned.

◆ getMinimumSize()

◆ getMinimumSizeForHeight()

Point Dragengine.Gui.Widget.getMinimumSizeForHeight ( int  height)

Minimum size of widget using reference widget height and variable width.

Default implementation uses getMinimumSize().

Reimplemented in Dragengine.Gui.ListBox, and Dragengine.Gui.Container.

◆ getMinimumSizeForWidth()

Point Dragengine.Gui.Widget.getMinimumSizeForWidth ( int  width)

Minimum size of widget using reference widget width and variable height.

Default implementation uses getMinimumSize().

Reimplemented in Dragengine.Gui.TextArea, Dragengine.Gui.ListBox, Dragengine.Gui.Label, Dragengine.Gui.DisplayStyledText, and Dragengine.Gui.Container.

◆ getMinimumSizeWithBorder()

Point Dragengine.Gui.Widget.getMinimumSizeWithBorder ( )

Retrieve the minimal size of widget including the border size if one is set.

◆ getMinimumSizeWithBorderForHeight()

Point Dragengine.Gui.Widget.getMinimumSizeWithBorderForHeight ( int  height)

Minimum size of widget with border using reference height.

Convenience method for Layout implementations to get the minimum size of a widget using getMinimumSizeForHeight() including border. Calls getMinimumSizeForHeight() with the border height (if present) subtracted from height. The border size is then added to the result.

◆ getMinimumSizeWithBorderForWidth()

Point Dragengine.Gui.Widget.getMinimumSizeWithBorderForWidth ( int  width)

Minimum size of widget with border for reference width.

Convenience method for Layout implementations to get the minimum size of a widget using getMinimumSizeForWidth() including border. Calls getMinimumSizeForWidth() with the border width (if present) subtracted from width. The border size is then added to the result.

◆ getMousePointer()

MousePointerFactory Dragengine.Gui.Widget.getMousePointer ( )

Mouse pointer to use.

If widget has no mouse pointer the parent mouse pointer is used.

◆ getPadding()

BorderSize Dragengine.Gui.Widget.getPadding ( )

Padding.

◆ getParent()

Container Dragengine.Gui.Widget.getParent ( )

Retrieves the parent of widget or null if there is none.

◆ getPosition()

Point Dragengine.Gui.Widget.getPosition ( )

Position of the widget.

◆ getProtectBackgroundCanvasCreator()

bool Dragengine.Gui.Widget.getProtectBackgroundCanvasCreator ( )

Protect custom set background canvas creator.

◆ getProtectBorder()

bool Dragengine.Gui.Widget.getProtectBorder ( )

Protect custom set border.

◆ getProtectFont()

bool Dragengine.Gui.Widget.getProtectFont ( )

Protect custom set font.

◆ getProtectMinimumSize()

bool Dragengine.Gui.Widget.getProtectMinimumSize ( )

Protect custom set minimumsize.

◆ getProtectMousePointer()

bool Dragengine.Gui.Widget.getProtectMousePointer ( )

Protect custom set mouse pointer.

◆ getProtectPadding()

bool Dragengine.Gui.Widget.getProtectPadding ( )

Protect custom set padding.

◆ getProtectTextColor()

bool Dragengine.Gui.Widget.getProtectTextColor ( )

Protect custom set text color.

◆ getRelativePosition()

Point Dragengine.Gui.Widget.getRelativePosition ( Container  parent)

Widget position in parent widget coordinates.

◆ getScreenPosition()

Point Dragengine.Gui.Widget.getScreenPosition ( )

Widget position in screen coordinates.

◆ getScreenRectArea()

RectArea Dragengine.Gui.Widget.getScreenRectArea ( )

Retrieves the rect area on the screen of the widget.

◆ getSetMinimumSize()

Point Dragengine.Gui.Widget.getSetMinimumSize ( )

Retrieve the set minimal size of widget or null.

◆ getSize()

Point Dragengine.Gui.Widget.getSize ( )

Size of the widget.

◆ getTextColor()

Color Dragengine.Gui.Widget.getTextColor ( )

Text color.

◆ getTitle()

String Dragengine.Gui.Widget.getTitle ( )

Widget title.

Version
1.13

For use by borders and decorators to provide a title to a widget.

◆ getToolTip()

Object Dragengine.Gui.Widget.getToolTip ( )

Tooltip or null.

Version
1.7

Object is typically of type String or StyledTextDocument. Other object types are possible if the tool tip providing object supports it.

◆ getTotalTransparency()

float Dragengine.Gui.Widget.getTotalTransparency ( )

Retrieve total transparency of widget. This is the transparency of this widget multiplied by the total transparency of the parent.

◆ getTransformation()

TexMatrix2 Dragengine.Gui.Widget.getTransformation ( )

Transformation or null if not set.

◆ getTransparency()

float Dragengine.Gui.Widget.getTransparency ( )

Retrieve transparency of widget.

◆ getVerticalRangeModel()

RangeModel Dragengine.Gui.Widget.getVerticalRangeModel ( )

Vertical range model for viewports to synchronize the vertical scrollbar.

If this widget has no reasonable vertical range model it should return null.

Reimplemented in Dragengine.Gui.Viewport, Dragengine.Gui.TextArea, and Dragengine.Gui.ListBox.

◆ getVisible()

bool Dragengine.Gui.Widget.getVisible ( )

Retrieve if widget is visible.

◆ getWidgetAt()

Widget Dragengine.Gui.Widget.getWidgetAt ( Point  position)

◆ getWidth()

int Dragengine.Gui.Widget.getWidth ( )

Width of widget.

◆ getWindow()

Window Dragengine.Gui.Widget.getWindow ( )

Retrieves the window or null if this widget is not part of a window. The default implementation forwards the request to the parent with the Window or a subclass thereof intercepting.

Reimplemented in Dragengine.Gui.Window.

◆ getWindowPosition()

Point Dragengine.Gui.Widget.getWindowPosition ( )

Widget position in window coordinates.

Reimplemented in Dragengine.Gui.Window.

◆ getX()

int Dragengine.Gui.Widget.getX ( )

X position of widget.

◆ getY()

int Dragengine.Gui.Widget.getY ( )

Y position of widget.

◆ grabFocus()

void Dragengine.Gui.Widget.grabFocus ( )

◆ hasParent()

bool Dragengine.Gui.Widget.hasParent ( Container  container)

Determines if this widget is parent directly or indirectly to a given container.

◆ isDesignerSet()

bool Dragengine.Gui.Widget.isDesignerSet ( )

Custom designer is set.

◆ isFullEnabled()

bool Dragengine.Gui.Widget.isFullEnabled ( )

Widget and all parent widgets are enabled.

◆ isMinimumSizeSet()

bool Dragengine.Gui.Widget.isMinimumSizeSet ( )

Determines if the minimal size is set explicitly.

◆ isMouseInside()

bool Dragengine.Gui.Widget.isMouseInside ( )

Mouse is hovering over this widget.

Tests if the hover widget of the parent desktop is this widget.

Reimplemented in Dragengine.Gui.MenuBarItem, and Dragengine.Gui.Container.

◆ isPointInside()

bool Dragengine.Gui.Widget.isPointInside ( Point  position)

Determines if the given point lies inside the widget. This returns true if the x and y coordinates are bigger or equal 0 and are less tha width or height of the widget.

◆ isTransformationSet()

bool Dragengine.Gui.Widget.isTransformationSet ( )

Transformation is set.

◆ layoutParent()

void Dragengine.Gui.Widget.layoutParent ( )

Layout parent if existing. Call if a change potentially alters the size requirements.

Reimplemented in Dragengine.Gui.Viewport, Dragengine.Gui.Desktop, and Dragengine.Gui.Container.

◆ layoutParentIfBlocked()

void Dragengine.Gui.Widget.layoutParentIfBlocked ( )

Calls layoutParent if getHasBlockedLayoutParent() is true.

Version
1.23

Call this instead of calling layoutParent() directly to improve performance by not calling layoutParent() if not required. This method is typically called after calling runWhileBlockingLayoutParent().

◆ new() [1/3]

Widget Dragengine.Gui.Widget.new ( )

Create widget.

Reimplemented in Dragengine.Gui.WorldRenderer, Dragengine.Gui.WindowVirtualKeyboard, Dragengine.Gui.WindowToolTip, Dragengine.Gui.WindowPopup, Dragengine.Gui.WindowOverColor, Dragengine.Gui.WindowModal, Dragengine.Gui.WindowLogo, Dragengine.Gui.WindowLoading, Dragengine.Gui.WindowGameWorld, Dragengine.Gui.WindowDialog, Dragengine.Gui.WindowConsole, Dragengine.Gui.Window, Dragengine.Gui.Viewport, Dragengine.Gui.ToggleButton, Dragengine.Gui.TextField, Dragengine.Gui.TextArea, Dragengine.Gui.SwitchPanel, Dragengine.Gui.WindowSubTitle, Dragengine.Gui.SubTitleBox, Dragengine.Gui.SpinButton, Dragengine.Gui.ScrollPanel, Dragengine.Gui.ProgressBar, Dragengine.Gui.PanelPlayerChoice, Dragengine.Gui.PanelHud, Dragengine.Gui.PanelFPSRates, Dragengine.Gui.Panel, Dragengine.Gui.OptionBox, Dragengine.Gui.ModManagement.MMWindowModManagement, Dragengine.Gui.MenuPopup, Dragengine.Gui.MenuItemSeparator, Dragengine.Gui.MenuItem, Dragengine.Gui.MenuBar, Dragengine.Gui.ListBox, Dragengine.Gui.PanelInteractPromptController, Dragengine.Gui.PanelInteractPrompt, Dragengine.Gui.DisplayInteractPromptEntry, Dragengine.Gui.GameRoot, Dragengine.Gui.EditModuleParametersPanel, Dragengine.Gui.DisplayVideo, Dragengine.Gui.DisplayStyledText, Dragengine.Gui.DisplayRotatingImage, Dragengine.Gui.DisplayImage, Dragengine.Gui.DisplayIcon, Dragengine.Gui.DisplayFPSRate, Dragengine.Gui.DisplayCanvas, Dragengine.Gui.DefaultComboBoxEditor, Dragengine.Gui.Container, Dragengine.Gui.ConsoleInputField, Dragengine.Gui.ComboBox, Dragengine.Gui.CheckBox, and Dragengine.Gui.Button.

◆ new() [2/3]

Widget Dragengine.Gui.Widget.new ( int  x,
int  y,
int  width,
int  height 
)

Create widget with initial location and size.

Width and height are clamped to 0 at minimum. Negative sizes can not be used.

Reimplemented in Dragengine.Gui.WorldRenderer, Dragengine.Gui.WindowModal, Dragengine.Gui.WindowDialog, Dragengine.Gui.WindowConsole, Dragengine.Gui.Window, Dragengine.Gui.WindowSettings, Dragengine.Gui.Panel, Dragengine.Gui.Desktop, and Dragengine.Gui.Container.

◆ new() [3/3]

Widget Dragengine.Gui.Widget.new ( Point  position,
Point  size 
)

Create widget with initial location and size.

Width and height are clamped to 0 at minimum. Negative sizes can not be used.

Reimplemented in Dragengine.Gui.Window, and Dragengine.Gui.Container.

◆ nextFocusWidget()

Widget Dragengine.Gui.Widget.nextFocusWidget ( )

Find next widget in the focus cycle that can grab the focus.

◆ notifyBorderParametersChanged()

void Dragengine.Gui.Widget.notifyBorderParametersChanged ( )

Notify border about changes to the widget parameters potentially affecing the border.

◆ onDesignerChanged()

void Dragengine.Gui.Widget.onDesignerChanged ( )

◆ onDesignerSelectorChanged()

◆ onDispose()

void Dragengine.Gui.Widget.onDispose ( WidgetEvent  event)

Window is disposing.

Sends event to listeners of this widget only. Method is only called if widget listeners are present.

◆ onFocusLost()

void Dragengine.Gui.Widget.onFocusLost ( FocusEvent  event)

◆ onFocusReceived()

void Dragengine.Gui.Widget.onFocusReceived ( FocusEvent  event)

Widget received focus.

Sends event to listeners.

Reimplemented in Dragengine.Gui.TextField, Dragengine.Gui.TextArea, Dragengine.Gui.ComboBox, and Dragengine.Gui.Button.

◆ onFrameUpdate()

void Dragengine.Gui.Widget.onFrameUpdate ( float  elapsed)

◆ onGamepadButtonPressed()

void Dragengine.Gui.Widget.onGamepadButtonPressed ( GamepadEvent  event)

Gamepad button has been pressed.

Default behaviour sends event to all gamepad listeners or propagates event to parent if allowed.

Reimplemented in Dragengine.Gui.WindowCaptureBinding.

◆ onGamepadButtonReleased()

void Dragengine.Gui.Widget.onGamepadButtonReleased ( GamepadEvent  event)

Gamepad button has been released.

Default behaviour sends event to all gamepad listeners or propagates event to parent if allowed.

◆ onGuiThemeChanged()

void Dragengine.Gui.Widget.onGuiThemeChanged ( )

Notification that the gui theme changed. Attention! You have to super-call this method since it is used a bit differently than the other callback methods.

Reimplemented in Dragengine.Gui.WindowConsole, Dragengine.Gui.Window, Dragengine.Gui.TextField, Dragengine.Gui.TextArea, Dragengine.Gui.SpinButton, Dragengine.Gui.ProgressBar, Dragengine.Gui.ModManagement.MMPanelModInfo, Dragengine.Gui.ListBox, Dragengine.Gui.Label, Dragengine.Gui.Container, Dragengine.Gui.ComboBox, and Dragengine.Gui.Button.

◆ onHidden()

void Dragengine.Gui.Widget.onHidden ( WidgetEvent  event)

Widget has been hidden.

Sends event to listeners.

◆ onPaddingChanged()

◆ onParentStateChanged() [1/2]

void Dragengine.Gui.Widget.onParentStateChanged ( )

Parent state changed.

Called by some certain widgets supporting childs widgets able to track their state.

The default implementation triggers a design() call.

◆ onParentStateChanged() [2/2]

void Dragengine.Gui.Widget.onParentStateChanged ( bool  force)

Parent state changed.

Version
1.7

Calls onParentStateChanged(bool) on all child widgets. Supports forcing update on the entire children chain.

◆ onReposition()

void Dragengine.Gui.Widget.onReposition ( WidgetEvent  event)

Position changed.

Sends event to listeners.

◆ onResize()

◆ onSetFont()

void Dragengine.Gui.Widget.onSetFont ( )

Notification that the widget font changed.

Reimplemented in Dragengine.Gui.TextField, Dragengine.Gui.TextArea, Dragengine.Gui.ProgressBar, and Dragengine.Gui.Label.

◆ onSetTextColor()

void Dragengine.Gui.Widget.onSetTextColor ( )

◆ onShown()

void Dragengine.Gui.Widget.onShown ( WidgetEvent  event)

Widget has been shown.

Sends event to listeners.

Reimplemented in Dragengine.Gui.WindowConsole.

◆ onStateChanged()

void Dragengine.Gui.Widget.onStateChanged ( StateChangeEvent  event)

◆ onTranslationChanged()

void Dragengine.Gui.Widget.onTranslationChanged ( )

Translation manager or active language pack changed.

Version
1.20

Reimplemented in Dragengine.Gui.Window, and Dragengine.Gui.Label.

◆ popdownVirtualKeyboard()

void Dragengine.Gui.Widget.popdownVirtualKeyboard ( )

Popdown virtual keyboard if Desktop has one assigned.

Version
1.7

◆ popupVirtualKeyboard()

void Dragengine.Gui.Widget.popupVirtualKeyboard ( )

Popup virtual keyboard if Desktop has one assigned.

Version
1.7

◆ prevFocusWidget()

Widget Dragengine.Gui.Widget.prevFocusWidget ( )

Find previous widget in the focus cycle that can grab the focus.

◆ processEvent()

void Dragengine.Gui.Widget.processEvent ( Event  event)

Process an event. This allows the widget to be used as the root widget in a game. Using this function you can implement your own desktop management routines or use no windows at all. An event is send to the root widget using this function. No other widget has to get an event sent through this function. Use the sendEvent function to further dispatch events through all widgets.
The default implementation is to send the event to yourself. Overwrite this behaviour to implement Desktop Widgets.

Reimplemented in Dragengine.Gui.GameRoot, and Dragengine.Gui.Desktop.

◆ releaseMouse()

void Dragengine.Gui.Widget.releaseMouse ( )

Release mouse capture.

Reimplemented in Dragengine.Gui.WindowPopup, and Dragengine.Gui.MenuPopup.

◆ removeDragListener()

void Dragengine.Gui.Widget.removeDragListener ( DragListener  listener)

Remove a drag listener.

◆ removeFocusListener()

void Dragengine.Gui.Widget.removeFocusListener ( FocusListener  listener)

Remove focus listener.

◆ removeGamepadListener()

void Dragengine.Gui.Widget.removeGamepadListener ( GamepadListener  listener)

Remove gamepad listener.

◆ removeKeyListener()

void Dragengine.Gui.Widget.removeKeyListener ( KeyListener  listener)

Remove key listener.

◆ removeMouseListener()

void Dragengine.Gui.Widget.removeMouseListener ( MouseListener  listener)

Remove mouse listener.

◆ removeStateChangeListener()

void Dragengine.Gui.Widget.removeStateChangeListener ( StateChangeListener  listener)

Remove state change listener.

◆ removeWidgetListener()

void Dragengine.Gui.Widget.removeWidgetListener ( WidgetListener  listener)

Remove widget listener.

◆ requestGrabFocus()

void Dragengine.Gui.Widget.requestGrabFocus ( Widget  widget)

Request to focus the specified widget.

Reimplemented in Dragengine.Gui.Window, and Dragengine.Gui.Desktop.

◆ runWhileBlockingLayoutParent()

void Dragengine.Gui.Widget.runWhileBlockingLayoutParent ( Block  ablock)

Run block while layouting is blocked.

Version
1.23

This method is useful when you do multiple changes to a widget avoiding layoutParent calls to be done for each modification except once to avoid performance loss. The method ensures the blocking state is restored to the value present before even in case of exceptions. You still have to call layoutParent() to trigger an update after returning from the method call. This method call can be nested safely.

◆ safeDispose()

void Dragengine.Gui.Widget.safeDispose ( )

Safely dispose of widget.

If widget has parent removes the widget from the parent before calling dispose().

Note

It is recommended to use safeDispose() instead of dispose() to be on the safe side.

◆ sendEvent()

void Dragengine.Gui.Widget.sendEvent ( Event  event)

Sends an event to the widget. The Widget will check for focus grab and other situations and sends the event to all registered listeners.

Reimplemented in Dragengine.Gui.WindowPopup, Dragengine.Gui.MenuPopup, and Dragengine.Gui.ComboBox.ComboPopup.

◆ sendEventToListeners()

void Dragengine.Gui.Widget.sendEventToListeners ( Event  event,
bool  sendToParent 
)

Send event to all appropriate listeners for events of its kind.

If there are no listeners the event is send to the parent if sendToParent is true.

Reimplemented in Dragengine.Gui.Window, and Dragengine.Gui.Desktop.

◆ setBackgroundCanvasCreator()

void Dragengine.Gui.Widget.setBackgroundCanvasCreator ( CanvasCreator  creator)

Set background canvas creator or null to use background color.

◆ setBlockLayoutParent()

void Dragengine.Gui.Widget.setBlockLayoutParent ( bool  blockLayoutParent)

Set block layoutParent calls.

Version
1.23

Used to prevent deadloops and performance problems with layoutParent/doLayout calls. Be careful to disable blocking even in case of exceptions. Also make sure to restore the block layout call in place before changing it by yourself to not break chains.

◆ setBorder()

void Dragengine.Gui.Widget.setBorder ( Border  border)

Sets the border or null if not set.

◆ setCanFocus()

void Dragengine.Gui.Widget.setCanFocus ( bool  canFocus)

Sets if widget can get the focus.

◆ setClipboard()

void Dragengine.Gui.Widget.setClipboard ( Clipboard  clipboard)

Set clipboard or null to use parent clipboard.

Version
1.11

◆ setColorTransformation()

void Dragengine.Gui.Widget.setColorTransformation ( ColorMatrix  transformation)

Set color transformation.

◆ setDesigner()

void Dragengine.Gui.Widget.setDesigner ( WidgetDesigner  designer)

Set designer.

◆ setDesignerSelector()

void Dragengine.Gui.Widget.setDesignerSelector ( String  selector)

Set designer selector.

Selects designer from gui theme. Selector composes of alphanumeric identifier. A chain of identifiers can be specified separated by periods. If a chain is defined the full chain is first checked to find the designer. If not found the right most identifier is stripped and the remaining chain checked for a match. The first match is used. This allows to add optional quallifier identifers at the end of the chain for future use while still matching broader designers in the mean time.

If null no designer is used from gui theme. Otherwise use class name (for example Widget) with optional qualifiers appended if necessary.

Reimplemented in Dragengine.Gui.DisplayInputSource.

◆ setEnabled()

void Dragengine.Gui.Widget.setEnabled ( bool  enabled)

Sets if widget is enabled.

Reimplemented in Dragengine.Gui.Container.

◆ setFont()

void Dragengine.Gui.Widget.setFont ( Font  font)

Sets new font of widget or null to use the gui theme one.

Reimplemented in Dragengine.Gui.BgButton.

◆ setHasBlockedLayoutParent()

void Dragengine.Gui.Widget.setHasBlockedLayoutParent ( bool  hasBlockedLayoutParent)

Set if layoutParent calls happened during runWhileBlockingLayoutParent.

Version
1.23

◆ setHasFocus()

void Dragengine.Gui.Widget.setHasFocus ( bool  hasFocus)

Sets if widget has the focus.

◆ setHeight()

void Dragengine.Gui.Widget.setHeight ( int  height)

Set height of widget.

◆ setMinimumSize()

void Dragengine.Gui.Widget.setMinimumSize ( Point  size)

Sets the minimum size of widget or null if there is no limit.

◆ setMousePointer()

void Dragengine.Gui.Widget.setMousePointer ( MousePointerFactory  mousePointer)

Set mouse pointer to use.

If widget has no mouse pointer the parent mouse pointer is used.

Reimplemented in Dragengine.Gui.Container.

◆ setPadding()

void Dragengine.Gui.Widget.setPadding ( BorderSize  padding)

Set padding.

◆ setParent()

void Dragengine.Gui.Widget.setParent ( Container  parent)

Sets the parent of widget. Use this function with caution. It should only be used by widgets which can contain other widgets to set their parent widget.

◆ setPosition()

void Dragengine.Gui.Widget.setPosition ( Point  position)

Set position of widget.

◆ setProtectBackgroundCanvasCreator()

void Dragengine.Gui.Widget.setProtectBackgroundCanvasCreator ( bool  protect)

Set protect custom set background canvas creator.

◆ setProtectBorder()

void Dragengine.Gui.Widget.setProtectBorder ( bool  protect)

Set protect custom set border.

◆ setProtectFont()

void Dragengine.Gui.Widget.setProtectFont ( bool  protect)

Set protect custom set font.

◆ setProtectMinimumSize()

void Dragengine.Gui.Widget.setProtectMinimumSize ( bool  protect)

Set protect custom set minimumsize.

◆ setProtectMousePointer()

void Dragengine.Gui.Widget.setProtectMousePointer ( bool  protect)

Set protect custom set mouse pointer.

◆ setProtectPadding()

void Dragengine.Gui.Widget.setProtectPadding ( bool  protect)

Set protect custom set padding.

◆ setProtectTextColor()

void Dragengine.Gui.Widget.setProtectTextColor ( bool  protect)

Set protect custom set text color.

◆ setSize()

void Dragengine.Gui.Widget.setSize ( Point  size)

Set size of widget.

◆ setTextColor()

void Dragengine.Gui.Widget.setTextColor ( Color  color)

Set text color.

Reimplemented in Dragengine.Gui.BgButton.

◆ setTitle()

void Dragengine.Gui.Widget.setTitle ( String  title)

Set widget title.

Version
1.13

For use by borders and decorators to provide a title to a widget.

Reimplemented in Dragengine.Gui.Window.

◆ setToolTip()

void Dragengine.Gui.Widget.setToolTip ( Object  toolTip)

Set tooltip or null.

Version
1.7

Object is typically of type String or StyledTextDocument. Other object types are possible if the tool tip providing object supports it.

◆ setTransformation()

void Dragengine.Gui.Widget.setTransformation ( TexMatrix2  transformation)

Set transformation or null if not set.

◆ setTransparency()

void Dragengine.Gui.Widget.setTransparency ( float  transparency)

Sets transparency of widget.

◆ setVisible()

void Dragengine.Gui.Widget.setVisible ( bool  visible)

Sets if widget is visible.

◆ setWidth()

void Dragengine.Gui.Widget.setWidth ( int  width)

Set width of widget.

◆ setX()

void Dragengine.Gui.Widget.setX ( int  x)

Set X position of widget.

◆ setY()

void Dragengine.Gui.Widget.setY ( int  y)

Set Y Position of widget.

◆ startFrameUpdater()

void Dragengine.Gui.Widget.startFrameUpdater ( )

Start frame updater if not running.

Once running the widget receives onFrameUpdate() calls every frame update.

◆ stopFrameUpdater()

void Dragengine.Gui.Widget.stopFrameUpdater ( )

Stop frame updater if running.

◆ updateCanvasBackground()

void Dragengine.Gui.Widget.updateCanvasBackground ( )
protected

Update background canvas content.

Sets the content of the background canvas to canvas created by canvas creator if existing. Widget calls this method if background canvas creator or gui theme changed.

◆ updateCanvasGeometry()

void Dragengine.Gui.Widget.updateCanvasGeometry ( )
protected

Update canvas position and size.

The position and size of the background and content canvas are adjusted to match the position and size of the widget in the parent container. Border canvas if existing is adjusted to always fit properly around the canvas background and content.

Warning
This method is also called from the constructor. Subclasses overwriting this method have to be able to run while the subclass constructor has not yet been processed.

Reimplemented in Dragengine.Gui.Window.

Member Data Documentation

◆ pBackgroundCanvasCreator

CanvasCreator Dragengine.Gui.Widget.pBackgroundCanvasCreator

◆ pBlockLayoutParent

bool Dragengine.Gui.Widget.pBlockLayoutParent

◆ pBorder

Border Dragengine.Gui.Widget.pBorder

◆ pCanFocus

bool Dragengine.Gui.Widget.pCanFocus

◆ pCanvasBackground

CanvasView Dragengine.Gui.Widget.pCanvasBackground

◆ pCanvasContent

CanvasView Dragengine.Gui.Widget.pCanvasContent

◆ pCanvasWidget

CanvasView Dragengine.Gui.Widget.pCanvasWidget

◆ pClipboard

Clipboard Dragengine.Gui.Widget.pClipboard

◆ pDesigner

WidgetDesigner Dragengine.Gui.Widget.pDesigner

◆ pDesignerSelector

String Dragengine.Gui.Widget.pDesignerSelector

◆ pDragListeners

Array Dragengine.Gui.Widget.pDragListeners

◆ pEnabled

bool Dragengine.Gui.Widget.pEnabled

◆ pFocusListeners

Array Dragengine.Gui.Widget.pFocusListeners

◆ pFont

Font Dragengine.Gui.Widget.pFont

◆ pFrameUpdater

FrameUpdater Dragengine.Gui.Widget.pFrameUpdater

◆ pGamepadListeners

Array Dragengine.Gui.Widget.pGamepadListeners

◆ pHasBlockedLayoutParent

bool Dragengine.Gui.Widget.pHasBlockedLayoutParent

◆ pHasFocus

bool Dragengine.Gui.Widget.pHasFocus

◆ pIsDesignerSet

bool Dragengine.Gui.Widget.pIsDesignerSet

◆ pKeyListeners

Array Dragengine.Gui.Widget.pKeyListeners

◆ pMinSize

Point Dragengine.Gui.Widget.pMinSize

◆ pMouseListeners

Array Dragengine.Gui.Widget.pMouseListeners

◆ pMousePointer

MousePointerFactory Dragengine.Gui.Widget.pMousePointer

◆ pPadding

BorderSize Dragengine.Gui.Widget.pPadding

◆ pParent

Container Dragengine.Gui.Widget.pParent

◆ pPosition

Point Dragengine.Gui.Widget.pPosition

◆ pProtectBackgroundCanvasCreator

bool Dragengine.Gui.Widget.pProtectBackgroundCanvasCreator

◆ pProtectBorder

bool Dragengine.Gui.Widget.pProtectBorder

◆ pProtectFont

bool Dragengine.Gui.Widget.pProtectFont

◆ pProtectMinimumSize

bool Dragengine.Gui.Widget.pProtectMinimumSize

◆ pProtectMousePointer

bool Dragengine.Gui.Widget.pProtectMousePointer

◆ pProtectPadding

bool Dragengine.Gui.Widget.pProtectPadding

◆ pProtectTextColor

bool Dragengine.Gui.Widget.pProtectTextColor

◆ pRepeatEventTimer

RepeatKeyEventTimer Dragengine.Gui.Widget.pRepeatEventTimer

◆ pSize

Point Dragengine.Gui.Widget.pSize

◆ pStateChangeListeners

Array Dragengine.Gui.Widget.pStateChangeListeners

◆ pTextColor

Color Dragengine.Gui.Widget.pTextColor

◆ pTheme

GuiTheme Dragengine.Gui.Widget.pTheme

◆ pThemeSelector

String Dragengine.Gui.Widget.pThemeSelector

◆ pTitle

String Dragengine.Gui.Widget.pTitle

◆ pToolTip

Object Dragengine.Gui.Widget.pToolTip

◆ pTransformation

TexMatrix2 Dragengine.Gui.Widget.pTransformation

◆ pTranslationManager

TranslationManager Dragengine.Gui.Widget.pTranslationManager

◆ pTransparency

float Dragengine.Gui.Widget.pTransparency

◆ pVisible

bool Dragengine.Gui.Widget.pVisible

◆ pWidgetListeners

Array Dragengine.Gui.Widget.pWidgetListeners

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