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

List of all members.

Classes

class  GrasylaTableModel

Public Member Functions

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

Protected Member Functions

Component<?extends JComponent > evaluateComponent (BootstrapGrasyla grasyla) throws BadPreCondition
void notifyChildChanged (Engine child, ChildComponent comp)

Private Member Functions

void rebuildTableData ()

Private Attributes

GrasylaTableModel model

Detailed Description

Builds a table.

Attributes

Contents

Evaluated as TableRow which will be in the table.

Result

Creates a JTable.

Actions

"click", "doubleClick" and ContextMenuEvent. UserSelectEvent is triggered on selection change.

Notes
If the tree is editable, multiple selection will not work properly.
Author:
kma
See also:
GrasylaTableModel

Constructor & Destructor Documentation

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

Initializes this engine.

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

References metadone.client.grasyla2.swing.JTableEngine.model, metadone.client.grasyla2.swing.GrasylaSwingHelper.registerAttributeHandlers(), and metadone.client.grasyla2.swing.JTableEngine.GrasylaTableModel.setColumns().


Member Function Documentation

Component<? extends JComponent> metadone.client.grasyla2.swing.JTableEngine.evaluateComponent ( BootstrapGrasyla  grasyla) throws BadPreCondition [protected]
void metadone.client.grasyla2.swing.JTableEngine.notifyChildChanged ( Engine  child,
ChildComponent  comp 
) [protected]
void metadone.client.grasyla2.swing.JTableEngine.rebuildTableData ( ) [private]

Member Data Documentation


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