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

List of all members.

Public Member Functions

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

Static Public Member Functions

static Set< String > getAttributeTypes ()

Protected Member Functions

AttributeBuilder< Border > getBuilder (String type)
AttributeBuilder< Border > getDefaultBuilder (String type)

Static Package Functions

 [static initializer]

Static Private Attributes

static final AttributeBuilder
< Border > 
DEFAULT_BUILDER
static final Map< String,
AttributeBuilder< Border > > 
BUILDERS

Detailed Description

An engine that produces borders.

Attributes

Depends on the `type`.

Contents

Depends on the `type`.

Result
A Border.

Types

line/rectangle (default)
Draws a simple line of the given `color` and `width`.
raised/lowered/etched/etchedLowered/etchedRaised
Draws a raised or lowered border with parametrizable `highlight` and `shadow` colors.
matte
A matte border of a given `color` and with `top`, `left`, `bottom`, `right` margins.
title/titled
A border with a `title`.
Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.swing.BorderSwingEngine.BorderSwingEngine ( 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

metadone.client.grasyla2.swing.BorderSwingEngine.[static initializer] ( ) [static, package]
static Set<String> metadone.client.grasyla2.swing.BorderSwingEngine.getAttributeTypes ( ) [static]

Returns the set of supported attribute types.

Returns:
The unmodifiable set of types

References metadone.client.grasyla2.swing.BorderSwingEngine.BUILDERS.

Referenced by metadone.client.grasyla2.visuallibrary.BorderVLEngine.getAttributeTypes().

AttributeBuilder<Border> metadone.client.grasyla2.swing.BorderSwingEngine.getBuilder ( String  type) [protected]
AttributeBuilder<Border> metadone.client.grasyla2.swing.BorderSwingEngine.getDefaultBuilder ( String  type) [protected]

Member Data Documentation


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