function GamakaMenuItem(gamaka) 
{
    /**
     * override of {@link MenuItem#provideContent} to provide content
     * of the menu item
     */
    this.provideContent = function() {
	var tbl = document.createElement("table");
	tbl.style.fontWeight = "bold";
	var tr = tbl.insertRow(0);

	var td = tr.insertCell(0);
	td.style.textAlign = "left";
	td.style.width = "5em";
	if( this.fGamaka.getName ) {
	    var d = document.createElement("div");
	    td.appendChild( document.createTextNode(this.fGamaka.getName()) );

	    var td2 = tr.insertCell(1);
	    var d1 = gamaka.render();
	    d1.style.background = "white";
	    d1.style.padding = "2 2 2 2";
	    d1.style.border = "thin solid";
	    d1.style.display = "inline";
	    d1.style.cssFloat = "right";
	    td2.appendChild(d1);
	}
	else
	    td.appendChild( document.createTextNode(this.fGamaka));
	return tbl;
    }

    /**
     * the gamaka
     * @type String
     * private
     */
    this.fGamaka = gamaka;
}
/**
 * @class
 * represents a menu item in the gamaka menu - it represents a gamaka
 */
@class
represents a menu item in the gamaka menu - it represents a gamaka
@class represents a menu item in the gamaka menu - it represents a gamaka
function GamakaMenuItem(gamaka) 
{
    this.provideContent = function() {
	var tbl = document.createElement("table");
	tbl.style.fontWeight = "bold";
	var tr = tbl.insertRow(0);
	var td = tr.insertCell(0);
	td.style.textAlign = "left";
	td.style.width = "5em";
	if( this.fGamaka.getName ) {
	    var d = document.createElement("div");
	    td.appendChild( document.createTextNode(this.fGamaka.getName()) );
	    var td2 = tr.insertCell(1);
	    var d1 = gamaka.render();
	    d1.style.background = "white";
	    d1.style.padding = "2 2 2 2";
	    d1.style.border = "thin solid";
	    d1.style.display = "inline";
	    d1.style.cssFloat = "right";
	    td2.appendChild(d1);
	}
	else
	    td.appendChild( document.createTextNode(this.fGamaka));
	return tbl;
    }
    this.fGamaka = gamaka;
}
function GamakaMenuItem ( gamaka ) { this . provideContent = function ( ) { var tbl = document . createElement ( "table" ) ; tbl . style . fontWeight = "bold" ; var tr = tbl . insertRow ( 0 ) ; var td = tr . insertCell ( 0 ) ; td . style . textAlign = "left" ; td . style . width = "5em" ; if ( this . fGamaka . getName ) { var d = document . createElement ( "div" ) ; td . appendChild ( document . createTextNode ( this . fGamaka . getName ( ) ) ) ; var td2 = tr . insertCell ( 1 ) ; var d1 = gamaka . render ( ) ; d1 . style . background = "white" ; d1 . style . padding = "2 2 2 2" ; d1 . style . border = "thin solid" ; d1 . style . display = "inline" ; d1 . style . cssFloat = "right" ; td2 . appendChild ( d1 ) ; } else td . appendChild ( document . createTextNode ( this . fGamaka ) ) ; return tbl ; } this . fGamaka = gamaka ; }
@class
 represents a menu item in the gamaka menu - it represents a gamaka
@class represents a menu item in the gamaka menu - it represents a gamaka
/**
     * override of {@link MenuItem#provideContent} to provide content
     * of the menu item
     */ /**
     * the gamaka
     * @type String
     * private
     */