enable
|
Enables the button.
myButton.enable();
|
disable
|
Disables the button.
myButton.disable();
|
setActive
|
Sets the button as active.
myButton.setActive();
|
unsetActive
|
Unsets the button as active.
myButton.unsetActive();
|
getText
|
Returns the string with current Text value of the button.
var txt = myButton.getText();
|
setText
|
Sets new Text value of the button and
returns the old value.
var oldText = myButton.setText(newText);
|
hideText
|
Hides Text of the button.
myButton.hideText();
See also Hide/show image and text working example.
|
showText
|
Set Text of the button to visible after it was hidden with
hideText function call.
myButton.showText();
See also Hide/show image and text working example.
|
textVisible
|
Returns true
if Text of the button is visible, otherwise it returns
false.
var isTextVisible = myButton.textVisible();
See also Hide/show image and text working example.
|
hideImage
|
Hides Image of the button.
myButton.hideImage();
See also Hide/show image and text working example.
|
showImage
|
Set Image of the button to visible after it was hidden with
hideImage function call.
myButton.showImage();
See also Hide/show image and text working example.
|
imageVisible
|
Returns true
if Image of the button is visible, otherwise it returns
false.
var isImageVisible = myButton.imageVisible();
See also Hide/show image and text working example.
|
getGroupName
|
Returns the string with current group name of the button.
var gName = myButton.getGroupName();
|
setGroupName
|
Sets new group name of the button and
returns the old value.
var oldGroupName = myButton.setGroupName(newGroupName);
|
getStatus
|
Returns the string with current status of the button. Possible values: "enabled", "disabled", "active".
var statusNow = myButton.getStatus();
|