Method | Description | |
---|---|---|
CssForState ( int layer, ButtonState state, string cssClasses, EnabledCondition enabledCondition, FocusCondition focusCondition ) : void |
Sets the CSS class(es) to use for a given layer.
|
|
CssForStates ( int layer, ButtonState states, string cssClasses, EnabledCondition enabledCondition, FocusCondition focusCondition ) : void |
Sets the CSS class(es) to use for a given layer.
|
|
LayeredButtonView ( IButton model, jQueryObject container ) : System |
Constructor.
|
|
TemplateForState ( int layer, ButtonState state, string templateSelector, EnabledCondition enabledCondition, FocusCondition focusCondition ) : void |
Creates a Template with the specified selector and adds it as content for the given state.
|
|
TemplateForStates ( int layer, ButtonState states, string templateSelector, EnabledCondition enabledCondition, FocusCondition focusCondition ) : void |
Creates a Template with the specified selector and adds it as content for the given state.
|
Method | Description | |
---|---|---|
ClearContent ( ) : void |
Clears all CSS and Template content which has been added to the button.
|
|
OnDisposed ( ) : void | ||
OnRendered ( ) : void |
Invoked immediately after the button has rendered it's state.
|
|
OnRendering ( ) : void |
Invoked immediately before the button has rendered it's state.
|
|
OnUpdateLayout ( ) : void |
Method | Description | |
---|---|---|
CssForState ( int layer, ButtonState state, string cssClasses ) : void | ||
CssForStates ( int layer, ButtonState states, string cssClasses ) : void | ||
LayeredButtonView ( ) : System | ||
LayeredButtonView ( IButton model ) : System | ||
TemplateForState ( int layer, ButtonState state, string templateSelector ) : void | ||
TemplateForStates ( int layer, ButtonState states, string templateSelector ) : void |
public CssForState ( int layer, ButtonState state, string cssClasses, EnabledCondition enabledCondition, FocusCondition focusCondition ) : void | ||
layer | int | The layer the state is rendered on (0 lowest, higher values fall in front of lower values) |
state | ButtonState | The state the CSS classes apply to. |
cssClasses | string | A string containing one or more CSS class names. |
enabledCondition | EnabledCondition | The enabled-related conditions for which button content applies. |
focusCondition | FocusCondition | The focus-related conditions for which button content applies. |
return | void |
public CssForStates ( int layer, ButtonState states, string cssClasses, EnabledCondition enabledCondition, FocusCondition focusCondition ) : void | ||
layer | int | The layer the state is rendered on (0 lowest, higher values fall in front of lower values) |
states | ButtonState | The state(s) the CSS classes apply to. |
cssClasses | string | A string containing one or more CSS class names. |
enabledCondition | EnabledCondition | The enabled-related conditions for which button content applies. |
focusCondition | FocusCondition | The focus-related conditions for which button content applies. |
return | void |
public LayeredButtonView ( IButton model, jQueryObject container ) : System | ||
model | IButton | The logical model of the button |
container | jQueryObject | The HTML container of the button. |
return | System |
public TemplateForState ( int layer, ButtonState state, string templateSelector, EnabledCondition enabledCondition, FocusCondition focusCondition ) : void | ||
layer | int | The layer the state is rendered on (0 lowest, higher values fall in front of lower values) |
state | ButtonState | The state the template applies to. |
templateSelector | string | The CSS selector where the template can be found. |
enabledCondition | EnabledCondition | The enabled-related conditions for which button content applies. |
focusCondition | FocusCondition | The focus-related conditions for which button content applies. |
return | void |
public TemplateForStates ( int layer, ButtonState states, string templateSelector, EnabledCondition enabledCondition, FocusCondition focusCondition ) : void | ||
layer | int | The layer the state is rendered on (0 lowest, higher values fall in front of lower values) |
states | ButtonState | The states the template applies to. |
templateSelector | string | The CSS selector where the template can be found. |
enabledCondition | EnabledCondition | The enabled-related conditions for which button content applies. |
focusCondition | FocusCondition | The focus-related conditions for which button content applies. |
return | void |