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

List of all members.

Public Member Functions

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

Protected Member Functions

Component< JComponent > evaluateComponent (BootstrapGrasyla grasyla) throws BadPreCondition

Private Member Functions

void updateDimensions () throws IrreductibleException
void updateDimensions (Dimension min, Dimension pref, Dimension max, int w, int h)

Private Attributes

int width = -1
int height = -1

Detailed Description

Builds an empty element of a given size.

Attributes
  • width: Number the width of the space
  • height: Number the height of the space

Contents

none

Result
An empty component of the given size.
Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.swing.JSpaceEngine.JSpaceEngine ( 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.JSpaceEngine.updateDimensions(), and metadone.client.grasyla2.swing.JSpaceEngine.width.


Member Function Documentation

Component<JComponent> metadone.client.grasyla2.swing.JSpaceEngine.evaluateComponent ( BootstrapGrasyla  grasyla) throws BadPreCondition [protected]
void metadone.client.grasyla2.swing.JSpaceEngine.updateDimensions ( Dimension  min,
Dimension  pref,
Dimension  max,
int  w,
int  h 
) [private]
void metadone.client.grasyla2.swing.JSpaceEngine.updateDimensions ( ) throws IrreductibleException [private]

Member Data Documentation


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