Child pages
  • Popup

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
CheckBox
Table Cell (td)
#addCheckBox([name], [method], [icon], [mnemonic], [enabled], [align])
Add the Checkbox at the selected index (starting at 0) or add it at the end (empty).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Menu
Table Cell (td)
#addMenu([name], [menu], [icon], [mnemonic], [enabled], [align])
Add the submenu at the selected index (starting at 0) or add it at the end (empty).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
MenuItem
Table Cell (td)
#addMenuItem([name], [method], [icon], [mnemonic], [enabled], [align])
Add the item at the selected index (starting at 0) or add it at the end (empty).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
RadioButton
Table Cell (td)
#addRadioButton([name], [method], [icon], [mnemonic], [enabled], [align])
Add the Radiobutton at the selected index (starting at 0) or add it at the end (empty).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#addRadioGroup()
Add a Radiogroup for the Radiobuttons.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#addSeparator()
Add the separator at the selected index (starting at 0) or add it at the end (empty).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
CheckBox
Table Cell (td)
#getCheckBox(index)
Get the Checkbox at the selected index (starting at 0).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object
Table Cell (td)
#getClientProperty(key)
Gets the specified client property for the element based on a key.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
MenuItem
Table Cell (td)
#getItem(index)
Get the item at the selected index (starting at 0).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getItemCount()
Get the number of items in the menu.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getItemIndexByText(name)
Retrieve the index of the item by text.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Menu
Table Cell (td)
#getMenu(index)
Get the submenu at the selected index (starting at 0).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
RadioButton
Table Cell (td)
#getRadioButton(index)
Get the Radiobutton at the selected index (starting at 0).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#putClientProperty(key, value)
Sets the value for the specified element client property key.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#removeAllItems()
Remove all items from the menu.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#removeItem(index 1, [index 2-n])
Remove the item(s) at the selected index/indices.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#show([element], [x], [y])
Show the popup below the element or add x an y values relative to the element

HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Method Details
Table Body (tbody)
idaddCheckBox
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
CheckBox
Span
stylefloat: left; font-weight: bold;
idiets
addCheckBox
Span
stylefloat: left;
idiets
([name], [method], [icon], [mnemonic], [enabled], [align])
Table Row (tr)
iddes
Table Cell (td)
Add the Checkbox at the selected index (starting at 0) or add it at the end (empty).
Table Row (tr)
idprs
Table Cell (td)
Parameters
[name]
[method]
[icon]
[mnemonic]
[enabled]
[align]
Table Row (tr)
idret
Table Cell (td)
Returns
CheckBox
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idaddMenu
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Menu
Span
stylefloat: left; font-weight: bold;
idiets
addMenu
Span
stylefloat: left;
idiets
([name], [menu], [icon], [mnemonic], [enabled], [align])
Table Row (tr)
iddes
Table Cell (td)
Add the submenu at the selected index (starting at 0) or add it at the end (empty).
Table Row (tr)
idprs
Table Cell (td)
Parameters
[name]
[menu]
[icon]
[mnemonic]
[enabled]
[align]
Table Row (tr)
idret
Table Cell (td)
Returns
Menu
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idaddMenuItem
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
MenuItem
Span
stylefloat: left; font-weight: bold;
idiets
addMenuItem
Span
stylefloat: left;
idiets
([name], [method], [icon], [mnemonic], [enabled], [align])
Table Row (tr)
iddes
Table Cell (td)
Add the item at the selected index (starting at 0) or add it at the end (empty).
Table Row (tr)
idprs
Table Cell (td)
Parameters
[name]
[method]
[icon]
[mnemonic]
[enabled]
[align]
Table Row (tr)
idret
Table Cell (td)
Returns
MenuItem
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idaddRadioButton
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
RadioButton
Span
stylefloat: left; font-weight: bold;
idiets
addRadioButton
Span
stylefloat: left;
idiets
([name], [method], [icon], [mnemonic], [enabled], [align])
Table Row (tr)
iddes
Table Cell (td)
Add the Radiobutton at the selected index (starting at 0) or add it at the end (empty).
Table Row (tr)
idprs
Table Cell (td)
Parameters
[name]
[method]
[icon]
[mnemonic]
[enabled]
[align]
Table Row (tr)
idret
Table Cell (td)
Returns
RadioButton
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idaddRadioGroup
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
addRadioGroup
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Add a Radiogroup for the Radiobuttons.
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idaddSeparator
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
addSeparator
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Add the separator at the selected index (starting at 0) or add it at the end (empty).
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetCheckBox
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
CheckBox
Span
stylefloat: left; font-weight: bold;
idiets
getCheckBox
Span
stylefloat: left;
idiets
(index)
Table Row (tr)
iddes
Table Cell (td)
Get the Checkbox at the selected index (starting at 0).
Table Row (tr)
idprs
Table Cell (td)
Parameters
index
Table Row (tr)
idret
Table Cell (td)
Returns
CheckBox
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetClientProperty
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Object
Span
stylefloat: left; font-weight: bold;
idiets
getClientProperty
Span
stylefloat: left;
idiets
(key)
Table Row (tr)
iddes
Table Cell (td)
Gets the specified client property for the element based on a key.
Table Row (tr)
idprs
Table Cell (td)
Parameters
key
Table Row (tr)
idret
Table Cell (td)
Returns
Object
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetItem
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
MenuItem
Span
stylefloat: left; font-weight: bold;
idiets
getItem
Span
stylefloat: left;
idiets
(index)
Table Row (tr)
iddes
Table Cell (td)
Get the item at the selected index (starting at 0).
Table Row (tr)
idprs
Table Cell (td)
Parameters
index
Table Row (tr)
idret
Table Cell (td)
Returns
MenuItem
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetItemCount
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getItemCount
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Get the number of items in the menu.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetItemIndexByText
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getItemIndexByText
Span
stylefloat: left;
idiets
(name)
Table Row (tr)
iddes
Table Cell (td)
Retrieve the index of the item by text.
Table Row (tr)
idprs
Table Cell (td)
Parameters
name
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetMenu
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Menu
Span
stylefloat: left; font-weight: bold;
idiets
getMenu
Span
stylefloat: left;
idiets
(index)
Table Row (tr)
iddes
Table Cell (td)
Get the submenu at the selected index (starting at 0).
Table Row (tr)
idprs
Table Cell (td)
Parameters
index
Table Row (tr)
idret
Table Cell (td)
Returns
Menu
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetRadioButton
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
RadioButton
Span
stylefloat: left; font-weight: bold;
idiets
getRadioButton
Span
stylefloat: left;
idiets
(index)
Table Row (tr)
iddes
Table Cell (td)
Get the Radiobutton at the selected index (starting at 0).
Table Row (tr)
idprs
Table Cell (td)
Parameters
index
Table Row (tr)
idret
Table Cell (td)
Returns
RadioButton
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idputClientProperty
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
putClientProperty
Span
stylefloat: left;
idiets
(key, value)
Table Row (tr)
iddes
Table Cell (td)
Sets the value for the specified element client property key.
Table Row (tr)
idprs
Table Cell (td)
Parameters
key
value
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idremoveAllItems
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
removeAllItems
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Remove all items from the menu.
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idremoveItem
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
removeItem
Span
stylefloat: left;
idiets
(index 1, [index 2-n])
Table Row (tr)
iddes
Table Cell (td)
Remove the item(s) at the selected index/indices.
Table Row (tr)
idprs
Table Cell (td)
Parameters
index 1
[index 2-n]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idshow
classnode
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
show
Span
stylefloat: left;
idiets
([element], [x], [y])
Table Row (tr)
iddes
Table Cell (td)
Show the popup below the element or add x an y values relative to the element
Table Row (tr)
idprs
Table Cell (td)
Parameters
[element]
[x]
[y]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var popupmenu = plugins.window.createPopupMenu()

var menuitem1 = popupmenu.addMenuItem('A',myMethod)
var menuitem2 = popupmenu.addRadioButton('B',myMethod)
var menuitem3 = popupmenu.addRadioButton('C',myMethod)
var menuitem4 = popupmenu.addSeparator()
var menuitem5 = popupmenu.addMenuItem('<html><b>Hello</b></html>',myMethod)
var menuitem6 = popupmenu.addMenuItem('G', globals.myGlobalMethod)
//add arguments to the method call
menuitem6.methodArguments = ['arg1', 'another argument']

var submenu = popupmenu.addMenu('SubMenu')
var subitem1 = submenu.addCheckBox('i18n:bla_bla',myMethod)
var subitem2 = submenu.addCheckBox('he' , globals.myOtherGlobalMethod , 'media:///day_obj.gif')
var subitem3 = submenu.addCheckBox('more' , globals.myOtherGlobalMethod ,null, 'm') //last parameter is mnemonic-key

menuitem2.selected = true;
menuitem6.enabled = false
subitem2.selected = true;

var source = event.getSource()
if (source != null)
{
	popupmenu.show(source);
	//or you can set the coordinates popupmenu.show(10, 10);
}
Table Row (tr)
classlastDetailRow
Table Cell (td)