MetaDone
metadone.client.grasyla2.swing.JMenuValueAdaptor Class Reference
Inheritance diagram for metadone.client.grasyla2.swing.JMenuValueAdaptor:
Collaboration diagram for metadone.client.grasyla2.swing.JMenuValueAdaptor:

List of all members.

Public Member Functions

 JMenuValueAdaptor (GrasylaContext context, ConcreteObject expression, Engine parent) throws BadPreCondition

Protected Member Functions

Component<?extends Valueadapt (Component<?extends JMenuItem > source) throws BadPreCondition
void createAttributes () throws BadPreCondition
void activate ()

Detailed Description

Adaptor to put a JMenuItem into an ContextMenuEvent.

Attributes

none

Result
An empty component. If the context contains an event of type ContextMenuEvent, the menu is built and add to it.
Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.swing.JMenuValueAdaptor.JMenuValueAdaptor ( GrasylaContext  context,
ConcreteObject  expression,
Engine  parent 
) throws BadPreCondition

Initializes this engine.

Parameters:
contextThe context
expressionThe expression
parentThe parent or null
Exceptions:
BadPreCondition

Member Function Documentation

void metadone.client.grasyla2.swing.JMenuValueAdaptor.activate ( ) [protected]
Component<? extends Value> metadone.client.grasyla2.swing.JMenuValueAdaptor.adapt ( Component<?extends JMenuItem >  source) throws BadPreCondition [protected]
void metadone.client.grasyla2.swing.JMenuValueAdaptor.createAttributes ( ) throws BadPreCondition [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations