C# Class ThreejsDemo.AccordionPanel

Show file Open project: guidovanhilst/SharpThreejs Class Usage Examples

Public Properties

Property Type Description
MainContainer Bridge.jQuery2.jQuery
PType PanelType
PanelGroup Bridge.jQuery2.jQuery
id string
panelCount int

Public Methods

Method Description
AddPanel ( string title, Bridge.jQuery2.jQuery content, Action clickHandler = null, object panelTag = null ) : Bridge.jQuery2.jQuery
Make ( string headerText, string subtext, string id, PanelType type ) : AccordionPanel

Private Methods

Method Description
Collapse ( Bridge.jQuery2.jQueryEvent e ) : void
GetPanelTypeName ( PanelType t ) : string
MakeContentPanel ( Bridge.jQuery2.jQuery content, string id ) : Bridge.jQuery2.jQuery
MakePanelTitle ( string title, string href, string dataParent, Action clickHandler, object panelTag ) : Bridge.jQuery2.jQuery

Method Details

AddPanel() public method

public AddPanel ( string title, Bridge.jQuery2.jQuery content, Action clickHandler = null, object panelTag = null ) : Bridge.jQuery2.jQuery
title string
content Bridge.jQuery2.jQuery
clickHandler Action
panelTag object
return Bridge.jQuery2.jQuery

Make() public static method

public static Make ( string headerText, string subtext, string id, PanelType type ) : AccordionPanel
headerText string
subtext string
id string
type PanelType
return AccordionPanel

Property Details

MainContainer public property

public jQuery,Bridge.jQuery2 MainContainer
return Bridge.jQuery2.jQuery

PType public property

public PanelType PType
return PanelType

PanelGroup public property

public jQuery,Bridge.jQuery2 PanelGroup
return Bridge.jQuery2.jQuery

id public property

public string id
return string

panelCount public property

public int panelCount
return int