Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class draw2d.ConnectionDecorator

    Object
       |
       +--draw2d.ConnectionDecorator

Direct Known Subclasses:
  draw2d.ArrowConnectionDecorator

class draw2d.ConnectionDecorator

A Connection is the line between two draw2d.Ports.
Version: 0.9.14
Author: Andreas Herz
Defined in ConnectionDecorator.js

Field Summary
`Object` | `backgroundColor`
`Object` | `color`
`Object` | `type`

Constructor Summary
`draw2d.ConnectionDecorator ()`

Method Summary
`void` | `paint( g)` Paint the decoration for a connector.
`void` | `setBackgroundColor( c)`
`void` | `setColor( c)`

Field Detail

### backgroundColor

    Object backgroundColor

### color

    Object color

### type

    Object type

Constructor Detail

### draw2d.ConnectionDecorator

    draw2d.ConnectionDecorator()

Version: 0.9.14
Author: Andreas Herz

Method Detail

### paint

    void paint( g)

Paint the decoration for a connector. The Connector starts always in [0,0] and ends in [x,0]

                    |
                    |
                    |
      --------------+-----------------------------> +X
                    |
                    |
                    |
                    V -Y

See in ArrowConnectionDecorator for example implementation.

### setBackgroundColor

    void setBackgroundColor( c)

### setColor

    void setColor( c)

Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008