C# Class Flood.GUI.Controls.DockBase

Base for dockable containers.
Inheritance: Control
Afficher le fichier Open project: FloodProject/flood Class Usage Examples

Méthodes publiques

Méthode Description
DockBase ( Control parent ) : System

Initializes a new instance of the DockBase class.

DragAndDrop_CanAcceptPackage ( DragDrop p ) : bool
DragAndDrop_HandleDrop ( DragDrop p, int x, int y ) : bool
DragAndDrop_Hover ( DragDrop p, int x, int y ) : void
DragAndDrop_HoverEnter ( DragDrop p, int x, int y ) : void
DragAndDrop_HoverLeave ( DragDrop p ) : void

Méthodes protégées

Méthode Description
DoConsolidateCheck ( ) : void
DoRedundancyCheck ( ) : void
GetChildDock ( Pos pos ) : DockBase

Gets an inner docked control for the specified position.

GetDroppedTabDirection ( int x, int y ) : Pos

Calculates dock direction from dragdrop coordinates.

OnKeySpace ( bool down ) : bool

Handler for Space keyboard event.

OnRedundantChildDock ( DockBase dock ) : void
OnTabRemoved ( Control control ) : void
Render ( Skins skin ) : void

Renders the control using specified skin.

RenderOver ( Skins skin ) : void

Renders over the actual control (overlays).

SetupChildDock ( Pos pos ) : void

Initializes an inner docked control for the specified position.

Method Details

DoConsolidateCheck() protected méthode

protected DoConsolidateCheck ( ) : void
Résultat void

DoRedundancyCheck() protected méthode

protected DoRedundancyCheck ( ) : void
Résultat void

DockBase() public méthode

Initializes a new instance of the DockBase class.
public DockBase ( Control parent ) : System
parent Control Parent control.
Résultat System

DragAndDrop_CanAcceptPackage() public méthode

public DragAndDrop_CanAcceptPackage ( DragDrop p ) : bool
p DragDrop
Résultat bool

DragAndDrop_HandleDrop() public méthode

public DragAndDrop_HandleDrop ( DragDrop p, int x, int y ) : bool
p DragDrop
x int
y int
Résultat bool

DragAndDrop_Hover() public méthode

public DragAndDrop_Hover ( DragDrop p, int x, int y ) : void
p DragDrop
x int
y int
Résultat void

DragAndDrop_HoverEnter() public méthode

public DragAndDrop_HoverEnter ( DragDrop p, int x, int y ) : void
p DragDrop
x int
y int
Résultat void

DragAndDrop_HoverLeave() public méthode

public DragAndDrop_HoverLeave ( DragDrop p ) : void
p DragDrop
Résultat void

GetChildDock() protected méthode

Gets an inner docked control for the specified position.
protected GetChildDock ( Pos pos ) : DockBase
pos Pos
Résultat DockBase

GetDroppedTabDirection() protected méthode

Calculates dock direction from dragdrop coordinates.
protected GetDroppedTabDirection ( int x, int y ) : Pos
x int X coordinate.
y int Y coordinate.
Résultat Pos

OnKeySpace() protected méthode

Handler for Space keyboard event.
protected OnKeySpace ( bool down ) : bool
down bool Indicates whether the key was pressed or released.
Résultat bool

OnRedundantChildDock() protected méthode

protected OnRedundantChildDock ( DockBase dock ) : void
dock DockBase
Résultat void

OnTabRemoved() protected méthode

protected OnTabRemoved ( Control control ) : void
control Control
Résultat void

Render() protected méthode

Renders the control using specified skin.
protected Render ( Skins skin ) : void
skin Skins Skin to use.
Résultat void

RenderOver() protected méthode

Renders over the actual control (overlays).
protected RenderOver ( Skins skin ) : void
skin Skins Skin to use.
Résultat void

SetupChildDock() protected méthode

Initializes an inner docked control for the specified position.
protected SetupChildDock ( Pos pos ) : void
pos Pos Dock position.
Résultat void