$action =
[line 181]
the action that should be done once the button got pushed.
optional, but very useful in some circumstances. for example you attach an 'on' event - your custom function named buttonClicked(btnObj). as param you receive a reference to the button object (btnObj). then you can ask the btnObj.action and based on that information do what you need to do.
Tags:
$actualizeFromChildren = 0
[line 218]
if this button has a children bar and a child element is clicked, should this button be updated?
- = no
- = only icon
- = only caption
- = both, icon and caption
Tags:
$backgroundColor =
[line 147]
you can overwrite the background color that is specified in the css.
Tags:
$caption =
[line 166]
if you want to place a text next to the image that is always visible, use this var.
Tags:
$cssClassDefault = 'bsBtnDefault'
[line 186]
$cssClassMouseDown = 'bsBtnMouseDown'
[line 196]
$cssClassMouseOver = 'bsBtnMouseOver'
[line 191]
$group =
[line 59]
this button can be added to a group. of all the buttons that are part of a group, only one can be active ("clicked down") at a time.
it's also possible that none is "down". pushing another button down will release the other button.
this feature can also be used to make a "toggle" button. just give it a unique group identifier, and you're done.
Tags:
$height =
[line 131]
you can overwrite the height that is specified in the css.
Tags:
$id =
[line 44]
an optional id for the span/div tag of this rendered element.
if not specified then 'this.objectName + "_container"' will be used.
Tags:
$imgName =
[line 123]
the image name.
Tags:
$imgPath =
[line 115]
the image path. if not specified then the one from the buttonbar will be used. if this button is not a member of a buttonbar then this._imgPathDefault is the fallback.
Tags:
$inactiveStyle = 3
[line 96]
if a button is set to inactive (status 0), how should that be shown? i don't see a reason to change the default, but still it's possible.
- = not at all, just leave how it is.
- = make button gray
- = fade out button (opacity 0.3)
- = 1 + 2 (make button gray and face out). this is the default, and it looks good.
note: this feature is ie-only, cause only ie offers these filters. sorry. i will try to come up with something for mozilla. if there is no filter-like thing then i'll try it with a semi-transparent gif over the button.
Tags:
$title =
[line 158]
the title (alt text) of your button.
note that this.setTitle() also works at runtime, after rendering.
Tags:
$width =
[line 139]
you can overwrite the width that is specified in the css.
Tags:
$_constructor =
[line 739]