C# Class Nez.UI.SplitPane

Inheritance: Group, IInputListener
ファイルを表示 Open project: prime31/Nez

Public Methods

Method Description
SplitPane ( Element firstWidget, Element secondWidget, IDrawable handle, bool vertical = false ) : System
SplitPane ( Element firstWidget, Element secondWidget, SplitPaneStyle style, bool vertical = false ) : System
SplitPane ( SplitPaneStyle style, bool vertical = false ) : System
draw ( Graphics graphics, float parentAlpha ) : void
getStyle ( ) : SplitPaneStyle
layout ( ) : void
setFirstWidget ( Element firstWidget ) : SplitPane
setHandle ( IDrawable handle ) : SplitPane
setMaxSplitAmount ( float amount ) : SplitPane
setMinSplitAmount ( float amount ) : SplitPane
setSecondWidget ( Element secondWidget ) : SplitPane
setSplitAmount ( float amount ) : SplitPane

The split amount between the min and max amount

setStyle ( SplitPaneStyle style ) : SplitPane

Private Methods

Method Description
IInputListener ( Vector2 mousePos ) : bool
IInputListener ( int mouseWheelDelta ) : bool
IInputListener ( ) : void
IInputListener ( Vector2 mousePos ) : void
calculateHorizBoundsAndPositions ( ) : void
calculateVertBoundsAndPositions ( ) : void

Method Details

SplitPane() public method

public SplitPane ( Element firstWidget, Element secondWidget, IDrawable handle, bool vertical = false ) : System
firstWidget Element
secondWidget Element
handle IDrawable
vertical bool
return System

SplitPane() public method

public SplitPane ( Element firstWidget, Element secondWidget, SplitPaneStyle style, bool vertical = false ) : System
firstWidget Element
secondWidget Element
style SplitPaneStyle
vertical bool
return System

SplitPane() public method

public SplitPane ( SplitPaneStyle style, bool vertical = false ) : System
style SplitPaneStyle
vertical bool
return System

draw() public method

public draw ( Graphics graphics, float parentAlpha ) : void
graphics Graphics
parentAlpha float
return void

getStyle() public method

public getStyle ( ) : SplitPaneStyle
return SplitPaneStyle

layout() public method

public layout ( ) : void
return void

setFirstWidget() public method

public setFirstWidget ( Element firstWidget ) : SplitPane
firstWidget Element
return SplitPane

setHandle() public method

public setHandle ( IDrawable handle ) : SplitPane
handle IDrawable
return SplitPane

setMaxSplitAmount() public method

public setMaxSplitAmount ( float amount ) : SplitPane
amount float
return SplitPane

setMinSplitAmount() public method

public setMinSplitAmount ( float amount ) : SplitPane
amount float
return SplitPane

setSecondWidget() public method

public setSecondWidget ( Element secondWidget ) : SplitPane
secondWidget Element
return SplitPane

setSplitAmount() public method

The split amount between the min and max amount
public setSplitAmount ( float amount ) : SplitPane
amount float Amount.
return SplitPane

setStyle() public method

public setStyle ( SplitPaneStyle style ) : SplitPane
style SplitPaneStyle
return SplitPane