C# Class MonoGdx.Scene2D.UI.List

Inheritance: Widget, ICullable
显示文件 Open project: jaquadro/MonoGdx Class Usage Examples

Public Properties

Property Type Description
SelectionChangedEvent RoutedEvent

Public Methods

Method Description
Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
List ( object items, ListStyle style ) : System
List ( object items, Skin skin ) : System
List ( object items, Skin skin, string styleName ) : System
SetCullingArea ( RectangleF cullingArea ) : void
SetItems ( object objects ) : void
SetSelection ( object item ) : int

Protected Methods

Method Description
OnSelectionChanged ( object oldSelection, object newSelection ) : void
OnTouchDown ( TouchEventArgs e ) : void

Private Methods

Method Description
DoTouchDown ( float y ) : void
List ( ) : System

Method Details

Draw() public method

public Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
parentAlpha float
return void

List() public method

public List ( object items, ListStyle style ) : System
items object
style ListStyle
return System

List() public method

public List ( object items, Skin skin ) : System
items object
skin Skin
return System

List() public method

public List ( object items, Skin skin, string styleName ) : System
items object
skin Skin
styleName string
return System

OnSelectionChanged() protected method

protected OnSelectionChanged ( object oldSelection, object newSelection ) : void
oldSelection object
newSelection object
return void

OnTouchDown() protected method

protected OnTouchDown ( TouchEventArgs e ) : void
e TouchEventArgs
return void

SetCullingArea() public method

public SetCullingArea ( RectangleF cullingArea ) : void
cullingArea MonoGdx.Geometry.RectangleF
return void

SetItems() public method

public SetItems ( object objects ) : void
objects object
return void

SetSelection() public method

public SetSelection ( object item ) : int
item object
return int

Property Details

SelectionChangedEvent public_oe static_oe property

public static RoutedEvent SelectionChangedEvent
return RoutedEvent