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

List of all members.

Public Member Functions

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

Protected Member Functions

final Component<?extends
JComponent > 
evaluateComponent (BootstrapGrasyla grasyla) throws BadPreCondition
void disposeInternal ()

Package Functions

void validateContents (Object source)

Private Attributes

SpinnerNumberModel model

Detailed Description

Creates a spinner.

Attributes

Contents

Evaluated as the contents of the editor.

Result

A JSpinner.

Actions
"validate", "click", "doubleClick" and ContextMenuEvent.
Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.swing.JSpinnerEngine.JSpinnerEngine ( 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.JSpinnerEngine.model, and metadone.client.grasyla2.swing.GrasylaSwingHelper.registerAttributeHandlers().


Member Function Documentation

void metadone.client.grasyla2.swing.JSpinnerEngine.disposeInternal ( ) [protected]
final Component<? extends JComponent> metadone.client.grasyla2.swing.JSpinnerEngine.evaluateComponent ( BootstrapGrasyla  grasyla) throws BadPreCondition [protected]
void metadone.client.grasyla2.swing.JSpinnerEngine.validateContents ( Object  source) [package]

Validates the contents.

Produces a UserValueChangeEvent and then rebuilds the contents of this engine.

Parameters:
sourceThe new contents

Member Data Documentation


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