function TextButton(props) {
  props = props || {};
  TextLink.call(this, props);

  this._buttonColor = props.buttonColor || this.getColor();
  this._textColor = props.textColor || this.getColor();

  this._highlightButtonColor = props.highlightButtonColor || this.getColor();
  this._highlightTextColor = props.highlightTextColor || this.getBackgroundColor();

  this._height = CELLHEIGHT * 3;
}
/** Provides a clickable button link.
* @constructor
* @augments TextLink
* @param {Object} props Properties
* @param {Screen} props.screenContext The target screen.
* @param {int} [props.scaleX=1] Horizontal scale of this element.  Independent of screen scale.
* @param {int} [props.scaleY=1] Vertical scale of this element.  Independent of screen scale.
* @param {boolean} [props.hidden=false] Whether to hide this element.
* @param {number} [props.x=0] The X coordinate for this element.
* @param {number} [props.y=0] The Y coordinate for this element.
* @param {boolean} [props.horizontalFlip=false] Whether to flip the element horizontally.
* @param {boolean} [props.verticalFlip=false] Whether to flip the element vertically.
* @param {number} [props.zIndex=-1] The z-index; elements with higher zIndex values will be drawn later than those with lower values (drawn on top of those with lower values).
* @param {string} props.text The text for this element. A text string or a symbol name is required for TextElement.
* @param {string} props.symbolName The symbolName for this element.  A text string or a symbol name is required for TextElement.  Refer to symbol names in {@link CharacterMap}.
* @param {Color} [props.color=Color.LIGHTBLUE] The color for the text.
* @param {Color} [props.backgroundColor=none] The backgroundColor for the text.
* @param {CharacterRenderer} [props.characterRenderer=new CharacterRenderer] The renderer to use to draw text.
*     This can be shared with a renderer for drawing text elements.  If a renderer is not provided,
*     This TextElement will create a {@link CharacterRenderer}.
* @param {function} [props.onClick] An optional function to call when the link is clicked.
* @param {string} [props.href] The location to navigate to when the link is clicked.
* @param {boolean} [props.newWindow] Whether to open the new location in a new window or not.
* @param {Color} [props.buttonColor=props.color] The text color to display when the mouse is over this element.
* @param {Color} [props.textColor=props.color] The text backgroundColor to display when the mouse is over this element.
* @param {Color} [props.highlightButtonColor=props.color] The color to draw the button border and to highlight the button with when the mouse is over.
* @param {Color} [props.highlightTextColor=props.backgroundColor] The color to draw the button text.
*/
Provides a clickable button link.
Provides a clickable button link .
function TextButton(props) {
  props = props || {};
  TextLink.call(this, props);
  this._buttonColor = props.buttonColor || this.getColor();
  this._textColor = props.textColor || this.getColor();
  this._highlightButtonColor = props.highlightButtonColor || this.getColor();
  this._highlightTextColor = props.highlightTextColor || this.getBackgroundColor();
  this._height = CELLHEIGHT * 3;
}
function TextButton ( props ) { props = props || { } ; TextLink . call ( this , props ) ; this . _buttonColor = props . buttonColor || this . getColor ( ) ; this . _textColor = props . textColor || this . getColor ( ) ; this . _highlightButtonColor = props . highlightButtonColor || this . getColor ( ) ; this . _highlightTextColor = props . highlightTextColor || this . getBackgroundColor ( ) ; this . _height = CELLHEIGHT * 3 ; }
Provides a clickable button link.
Provides a clickable button link .