|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--PluginExample
A plug-in example
Defined in _100-test-plugin.js
Field Summary | |
Object |
km
|
<static> Object |
PLUGIN_ACTION
|
Constructor Summary | |
PluginExample(km)
Create a plug-in instance |
Method Summary | |
Boolean
|
actionListener(<Outline> source, <String> action)
Handle action triggered from the outline context menu |
void
|
addDeviceContextMenu(<String[]> contextMenu, <Boolean> isInitialized, <Number> authenticationState)
Add an entry to the context menu associated with the device entry in the outline |
void
|
addKeyContextMenu(<String[]> contextMenu, <Number> authenticationState, <Outline> keynode)
Add an entry to the context menu associated with a key in the outline |
void
|
addKeyDomainContextMenu(<String[]> contextMenu, <Number> authenticationState, keydomainnode)
Add an entry to the context menu associated with a key domain in the outline |
void
|
addKeyDomainInformation(<Object> dom)
Supplement additional key domain infos |
void
|
addKeyInformation(<Outline> keynode)
Supplement additional key infos |
void
|
deleteKey(node)
Postprocessing after a key delete |
void
|
deleteKeyDomain(<Object> dom)
Postprocessing after a key domain delete |
Object
|
toString()
|
Field Detail |
Object km
<static> Object PLUGIN_ACTION
Constructor Detail |
PluginExample(km)
KeyManager
- ] km the associated key manager
Method Detail |
Boolean actionListener(<Outline> source, <String> action)
source
- the source outline node of this action
action
- the action selected from the context menu
void addDeviceContextMenu(<String[]> contextMenu, <Boolean> isInitialized, <Number> authenticationState)
contextMenu
- the list of entries in the context menu
isInitialized
- the device is initialized
authenticationState
- the status returned in the last authentication query (SW1/SW2)
void addKeyContextMenu(<String[]> contextMenu, <Number> authenticationState, <Outline> keynode)
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
void addKeyDomainContextMenu(<String[]> contextMenu, <Number> authenticationState, keydomainnode)
contextMenu
- the list of entries in the context menu
authenticationState
- the status returned in the last authentication query (SW1/SW2)
dom
- key domain information
void addKeyDomainInformation(<Object> dom)
dom
- key domain information
void addKeyInformation(<Outline> keynode)
keynode
- the node created for this key. The key object is stored in the key property.
void deleteKey(node)
key
- key node in the outline
void deleteKeyDomain(<Object> dom)
dom
- key domain information
Object toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |