MetaDone
metadone.client.grasyla2.visuallibrary.VLAdaptImage Class Reference
Inheritance diagram for metadone.client.grasyla2.visuallibrary.VLAdaptImage:
Collaboration diagram for metadone.client.grasyla2.visuallibrary.VLAdaptImage:

List of all members.

Public Member Functions

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

Protected Member Functions

Component<?extends Widget > adapt (Component<?extends Image > source) throws BadPreCondition
Component<?extends Widget > adapt (Component<?extends Image > source, Component<?extends Widget > existing) throws BadPreCondition
void disposeAdapted (Component<?extends Widget > comp)
void building_hook (boolean go)

Static Protected Member Functions

static Image reduce (Component<?extends Image > c)

Static Package Functions

 [static initializer]

Private Attributes

final GrasylaScene scene

Static Private Attributes

static final Image NO_IMAGE

Detailed Description

An image adaptor.

Attributes

Contents

none

Result
A widget containing the Image.
Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.visuallibrary.VLAdaptImage.VLAdaptImage ( 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.visuallibrary.GraphEngine.getScene(), metadone.client.grasyla2.visuallibrary.GrasylaScene.registerAttributeHandlers(), and metadone.client.grasyla2.visuallibrary.VLAdaptImage.scene.


Member Function Documentation

metadone.client.grasyla2.visuallibrary.VLAdaptImage.[static initializer] ( ) [static, package]
Component<? extends Widget> metadone.client.grasyla2.visuallibrary.VLAdaptImage.adapt ( Component<?extends Image >  source,
Component<?extends Widget >  existing 
) throws BadPreCondition [protected]
Component<? extends Widget> metadone.client.grasyla2.visuallibrary.VLAdaptImage.adapt ( Component<?extends Image >  source) throws BadPreCondition [protected]
void metadone.client.grasyla2.visuallibrary.VLAdaptImage.building_hook ( boolean  go) [protected]
void metadone.client.grasyla2.visuallibrary.VLAdaptImage.disposeAdapted ( Component<?extends Widget >  comp) [protected]
static Image metadone.client.grasyla2.visuallibrary.VLAdaptImage.reduce ( Component<?extends Image >  c) [static, protected]

Reduces a component image into a single image.

Parameters:
cThe component
Returns:
The reduced image, if the component is not reductible, a default image is returned

References metadone.client.grasyla2.visuallibrary.VLAdaptImage.NO_IMAGE.

Referenced by metadone.client.grasyla2.visuallibrary.VLAdaptImage.adapt().


Member Data Documentation


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