Class SignExample
Object
|
+--SignExample
- class
SignExample
A plug-in example
Defined in _101-sign-plugin.js
Constructor Summary |
SignExample(km)
Create a plug-in instance
|
Method Summary |
Boolean
|
actionListener(<Outline> source, <String> action)
Handle action triggered from the outline context menu
|
void
|
addKeyContextMenu(<String[]> contextMenu, <Number> authenticationState, <Outline> keynode)
Add an entry to the context menu associated with a key in the outline
|
Object
|
toString()
|
km
Object km
PLUGIN_ACTION
<static> Object PLUGIN_ACTION
SignExample
SignExample(km)
Create a plug-in instance
Parameters:
KeyManager
- ] km the associated key manager
actionListener
Boolean actionListener(<Outline> source, <String> action)
Handle action triggered from the outline context menu
Parameters:
source
- the source outline node of this action
action
- the action selected from the context menu
Returns:
true if the action was handled
addKeyContextMenu
void addKeyContextMenu(<String[]> contextMenu, <Number> authenticationState, <Outline> keynode)
Add an entry to the context menu associated with a key in the outline
Parameters:
contextMenu
- the list of entries in the context menu
authenticationState
- the status returned in the last authentication query (SW1/SW2)
keynode
- the node created for this key before it is added to the outline
toString
Object toString()
Documentation generated by
JSDoc on Sat Feb 24 15:17:19 2024