function Button(geometry) {
    /**
     * The default text for the label
     * @member {String}
     * @default Button
     */
    var text = 'Button';

    if (!geometry)
        geometry = new mxGeometry(0, 0, 100, 50);

    UIText.call(this, text, geometry);
    this.value.setAttribute('_disabled', false);
    this.value.setAttribute('_autofocus', false);
    this.value.setAttribute('_type', 'button');
    this.getComboAttrMap().addComboAttr('_type', ['button', 'reset', 'submit']);

    /**
     * Crate the html input element for the button element
     * @return {undefined}
     * @override
     */
    this.initDOM = function () {
        var $button = $(document.createElement('button'));
        $button.attr('disabled', true)
        .css('width', this.geometry.width)
        .css('height', this.geometry.height)
        .append(
            $(document.createElement('input')).css('text-align', 'center')
            //.css('border-radius', '12px')
            .css('background-color', 'transparent')
            .css('border-style', 'unset')
            .css('width', '100%')
            .val(text));
        this.set$node($button);
    }

    /**
     * @override
     * @param {boolean} createdByLocalUser indicates if the the function was called by the local user or not
     * @return {undefined}
     */
    this.createShared = function (createdByLocalUser) {
        UIText.prototype.createShared.call(this, createdByLocalUser);
    };
}
/**
 * A concrete button class representing a button ui element of the wireframe
 * @classdesc The Button html element
 * @constructor
 * @param {mxGeometry} [geometry=new mxGeometry(0, 0, 100, 50)] the width, height, x and y of the ui element
 * @extends UIText
 */
A concrete button class representing a button ui element of the wireframe
@classdesc The Button html element
@constructor
@param {mxGeometry} [geometry=new mxGeometry(0, 0, 100, 50)] the width, height, x and y of the ui element
@extends UIText
A concrete button class representing a button ui element of the wireframe @classdesc The Button html element @constructor @param { mxGeometry } [ geometry = new mxGeometry ( 0 0 100 50 ) ] the width height x and y of the ui element @extends UIText
function Button(geometry) {
    var text = 'Button';
    if (!geometry)
        geometry = new mxGeometry(0, 0, 100, 50);
    UIText.call(this, text, geometry);
    this.value.setAttribute('_disabled', false);
    this.value.setAttribute('_autofocus', false);
    this.value.setAttribute('_type', 'button');
    this.getComboAttrMap().addComboAttr('_type', ['button', 'reset', 'submit']);
    this.initDOM = function () {
        var $button = $(document.createElement('button'));
        $button.attr('disabled', true)
        .css('width', this.geometry.width)
        .css('height', this.geometry.height)
        .append(
            $(document.createElement('input')).css('text-align', 'center')
            .css('background-color', 'transparent')
            .css('border-style', 'unset')
            .css('width', '100%')
            .val(text));
        this.set$node($button);
    }
    this.createShared = function (createdByLocalUser) {
        UIText.prototype.createShared.call(this, createdByLocalUser);
    };
}
function Button ( geometry ) { var text = 'Button' ; if ( ! geometry ) geometry = new mxGeometry ( 0 , 0 , 100 , 50 ) ; UIText . call ( this , text , geometry ) ; this . value . setAttribute ( '_disabled' , false ) ; this . value . setAttribute ( '_autofocus' , false ) ; this . value . setAttribute ( '_type' , 'button' ) ; this . getComboAttrMap ( ) . addComboAttr ( '_type' , [ 'button' , 'reset' , 'submit' ] ) ; this . initDOM = function ( ) { var $button = $ ( document . createElement ( 'button' ) ) ; $button . attr ( 'disabled' , true ) . css ( 'width' , this . geometry . width ) . css ( 'height' , this . geometry . height ) . append ( $ ( document . createElement ( 'input' ) ) . css ( 'text-align' , 'center' ) . css ( 'background-color' , 'transparent' ) . css ( 'border-style' , 'unset' ) . css ( 'width' , '100%' ) . val ( text ) ) ; this . set$node ( $button ) ; } this . createShared = function ( createdByLocalUser ) { UIText . prototype . createShared . call ( this , createdByLocalUser ) ; } ; }
A concrete button class representing a button ui element of the wireframe
 @classdesc The Button html element
 @constructor
 @param {mxGeometry} [geometry=new mxGeometry(0, 0, 100, 50)] the width, height, x and y of the ui element
 @extends UIText
A concrete button class representing a button ui element of the wireframe @classdesc The Button html element @constructor @param { mxGeometry } [ geometry = new mxGeometry ( 0 0 100 50 ) ] the width height x and y of the ui element @extends UIText
/**
     * The default text for the label
     * @member {String}
     * @default Button
     */ /**
     * Crate the html input element for the button element
     * @return {undefined}
     * @override
     */ //.css('border-radius', '12px') /**
     * @override
     * @param {boolean} createdByLocalUser indicates if the the function was called by the local user or not
     * @return {undefined}
     */