Table Row (tr) |
---|
| Table Head (th) |
---|
| Method Details |
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| CheckBox |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| addCheckBox |
Span |
---|
| ([name], [method], [icon], [mnemonic], [enabled], [align]) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Add the Checkbox at the selected index (starting at 0) or add it at the end (empty). |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters [name] [method] [icon] [mnemonic] [enabled] [align] |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| Menu |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| addMenu |
Span |
---|
| ([name], [menu], [icon], [mnemonic], [enabled], [align]) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Add the submenu at the selected index (starting at 0) or add it at the end (empty). |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters [name] [menu] [icon] [mnemonic] [enabled] [align] |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Returns Menu |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| MenuItem |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| addMenuItem |
Span |
---|
| ([name], [method], [icon], [mnemonic], [enabled], [align]) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Add the item at the selected index (starting at 0) or add it at the end (empty). |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters [name] [method] [icon] [mnemonic] [enabled] [align] |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
id | addRadioButton |
---|
class | node |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| addRadioButton |
Span |
---|
| ([name], [method], [icon], [mnemonic], [enabled], [align]) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Add the Radiobutton at the selected index (starting at 0) or add it at the end (empty). |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters [name] [method] [icon] [mnemonic] [enabled] [align] |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| void |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| addRadioGroup |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Add a Radiogroup for the Radiobuttons. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Returns void |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| void |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| addSeparator |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Add the separator at the selected index (starting at 0) or add it at the end (empty). |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Returns void |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| CheckBox |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| getCheckBox |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Get the Checkbox at the selected index (starting at 0). |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters index |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
id | getClientProperty |
---|
class | node |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| Object |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| getClientProperty |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Gets the specified client property for the element based on a key. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters key |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| MenuItem |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| getItem |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Get the item at the selected index (starting at 0). |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters index |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| Number |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| getItemCount |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Get the number of items in the menu. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
id | getItemIndexByText |
---|
class | node |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| Number |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| getItemIndexByText |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Retrieve the index of the item by text. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters name |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| Menu |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| getMenu |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Get the submenu at the selected index (starting at 0). |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters index |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Returns Menu |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
id | getRadioButton |
---|
class | node |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| getRadioButton |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Get the Radiobutton at the selected index (starting at 0). |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters index |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
id | putClientProperty |
---|
class | node |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| void |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| putClientProperty |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sets the value for the specified element client property key. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters key value |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Returns void |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
id | removeAllItems |
---|
class | node |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| void |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| removeAllItems |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Remove all items from the menu. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Returns void |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| void |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| removeItem |
Span |
---|
| (index 1, [index 2-n]) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Remove the item(s) at the selected index/indices. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters index 1 [index 2-n] |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Returns void |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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 Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
style | float: left; margin-right: 5px; |
---|
| void |
Span |
---|
style | float: left; font-weight: bold; |
---|
id | iets |
---|
| show |
Span |
---|
| ([element], [x], [y]) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Show the popup below the element or add x an y values relative to the element |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters [element] [x] [y] |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Returns void |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
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);
}
|
|
|
|
|
|