Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes | Static Private Attributes
CH.ifa.draw.figures.ElbowConnection Class Reference

A LineConnection that constrains a connection to orthogonal lines. More...

Inheritance diagram for CH.ifa.draw.figures.ElbowConnection:
Inheritance graph
[legend]
Collaboration diagram for CH.ifa.draw.figures.ElbowConnection:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ElbowConnection ()
void updateConnection ()
 Updates the connection.
void layoutConnection ()
 Lays out the connection.
Vector handles ()
 Gets the handles of the figure.
Locator connectedTextLocator (Figure f)
boolean canConnect ()
 Tests whether a figure can be a connection target.
boolean canConnect (Figure start, Figure end)
 Tests whether two figures can be connected.
void connectStart (Connector start)
 Sets the start figure of the connection.
void connectEnd (Connector end)
 Sets the end figure of the connection.
void disconnectStart ()
 Disconnects the start figure.
void disconnectEnd ()
 Disconnects the end figure.
boolean connectsSame (ConnectionFigure other)
 Tests whether a connection connects the same figures as another ConnectionFigure.
Figure startFigure ()
 Gets the start figure of the connection.
Figure endFigure ()
 Gets the end figure of the connection.
Connector start ()
 Gets the start figure of the connection.
Connector end ()
 Gets the end figure of the connection.
void startPoint (int x, int y)
 Sets the start point.
Point startPoint ()
 Gets the start point.
void endPoint (int x, int y)
 Sets the end point.
Point endPoint ()
 Gets the end point.
void setPointAt (Point p, int i)
 Sets the point and updates the connection.
void insertPointAt (Point p, int i)
 Inserts the point and updates the connection.
void removePointAt (int i)
 Removes the point and updates the connection.
void figureChanged (FigureChangeEvent e)
void figureRemoved (FigureChangeEvent e)
void figureRequestRemove (FigureChangeEvent e)
void figureInvalidated (FigureChangeEvent e)
void figureRequestUpdate (FigureChangeEvent e)
void release ()
void write (StorableOutput dw)
void read (StorableInput dr) throws IOException
Rectangle displayBox ()
boolean isEmpty ()
void basicDisplayBox (Point origin, Point corner)
void addPoint (int x, int y)
 Adds a node to the list of points.
Enumeration points ()
int pointCount ()
int splitSegment (int x, int y)
 Splits the segment at the given point if a segment was hit.
Point pointAt (int i)
boolean joinSegments (int x, int y)
 Joins to segments into one if the given point hits a node of the polyline.
Connector connectorAt (int x, int y)
void setStartDecoration (LineDecoration l)
 Sets the start decoration.
void setEndDecoration (LineDecoration l)
 Sets the end decoration.
void draw (Graphics g, boolean showGuides)
boolean containsPoint (int x, int y)
int findSegment (int x, int y)
 Gets the segment of the polyline that is hit by the given point.
Object getAttribute (String name)
 Gets the attribute with the given name.
void setAttribute (String name, Object value)
 Sets the attribute with the given name.
String getMap ()

Static Public Member Functions

static Locator locator (int pointIndex)
 Creates a locator for the point with the given index.

Static Public Attributes

static final int ARROW_TIP_NONE = 0
static final int ARROW_TIP_START = 1
static final int ARROW_TIP_END = 2
static final int ARROW_TIP_BOTH = 3

Protected Member Functions

void updatePoints ()
void basicMoveBy (int dx, int dy)
 Ensures that a connection is updated if the connection was moved.
void handleDisconnect (Figure start, Figure end)
 Handles the disconnection of a connection.
void handleConnect (Figure start, Figure end)
 Handles the connection of a connection.
Color getFrameColor ()
void setFrameColor (Color c)

Protected Attributes

Connector fStart = null
Connector fEnd = null
Vector fPoints
LineDecoration fStartDecoration = null
LineDecoration fEndDecoration = null
Color fFrameColor = Color.black

Private Attributes

int elbowConnectionSerializedDataVersion = 1

Static Private Attributes

static final long serialVersionUID = 2193968743082078559L

Detailed Description

A LineConnection that constrains a connection to orthogonal lines.

Definition at line 19 of file ElbowConnection.java.


Constructor & Destructor Documentation

Definition at line 27 of file ElbowConnection.java.

                             {
        super();
    }

Member Function Documentation

void CH.ifa.draw.figures.PolyLineFigure.addPoint ( int  x,
int  y 
) [inline, inherited]

Adds a node to the list of points.

Definition at line 80 of file PolyLineFigure.java.

                                       {
        fPoints.addElement(new Point(x, y));
        changed();
    }

Here is the caller graph for this function:

void CH.ifa.draw.figures.PolyLineFigure.basicDisplayBox ( Point  origin,
Point  corner 
) [inline, inherited]

Reimplemented in CH.ifa.draw.figures.LineFigure.

Definition at line 74 of file PolyLineFigure.java.

                                                            {
    }
void CH.ifa.draw.figures.LineConnection.basicMoveBy ( int  dx,
int  dy 
) [inline, protected, inherited]

Ensures that a connection is updated if the connection was moved.

Reimplemented from CH.ifa.draw.figures.PolyLineFigure.

Definition at line 53 of file LineConnection.java.

                                               {
        // don't move the start and end point since they are connected
        for (int i = 1; i < fPoints.size()-1; i++)
            ((Point) fPoints.elementAt(i)).translate(dx, dy);

        updateConnection(); // make sure that we are still connected
    }

Here is the call graph for this function:

boolean CH.ifa.draw.figures.LineConnection.canConnect ( ) [inline, inherited]

Tests whether a figure can be a connection target.

ConnectionFigures cannot be connected and return false.

Definition at line 45 of file LineConnection.java.

                                {
        return false;
    }
boolean CH.ifa.draw.figures.LineConnection.canConnect ( Figure  start,
Figure  end 
) [inline, inherited]

Tests whether two figures can be connected.

Definition at line 150 of file LineConnection.java.

                                                        {
        return true;
    }

Definition at line 53 of file ElbowConnection.java.

                                                  {
        return new ElbowTextLocator();
    }
void CH.ifa.draw.figures.LineConnection.connectEnd ( Connector  end) [inline, inherited]

Sets the end figure of the connection.

Definition at line 72 of file LineConnection.java.

                                          {
        fEnd = end;
        endFigure().addFigureChangeListener(this);
        handleConnect(startFigure(), endFigure());
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Connector CH.ifa.draw.figures.PolyLineFigure.connectorAt ( int  x,
int  y 
) [inline, inherited]

Definition at line 153 of file PolyLineFigure.java.

                                               {
        return new PolyLineConnector(this);
    }
boolean CH.ifa.draw.figures.LineConnection.connectsSame ( ConnectionFigure  other) [inline, inherited]

Tests whether a connection connects the same figures as another ConnectionFigure.

Definition at line 99 of file LineConnection.java.

                                                        {
        return other.start() == start() && other.end() == end();
    }

Here is the call graph for this function:

void CH.ifa.draw.figures.LineConnection.connectStart ( Connector  start) [inline, inherited]

Sets the start figure of the connection.

Definition at line 64 of file LineConnection.java.

                                              {
        fStart = start;
        startFigure().addFigureChangeListener(this);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

boolean CH.ifa.draw.figures.PolyLineFigure.containsPoint ( int  x,
int  y 
) [inline, inherited]

Definition at line 208 of file PolyLineFigure.java.

                                               {
        Rectangle bounds = displayBox();
        bounds.grow(4,4);
        if (!bounds.contains(x, y))
            return false;

        Point p1, p2;
        for (int i = 0; i < fPoints.size()-1; i++) {
            p1 = (Point) fPoints.elementAt(i);
            p2 = (Point) fPoints.elementAt(i+1);
            if (Geom.lineContainsPoint(p1.x, p1.y, p2.x, p2.y, x, y))
                return true;
        }
        return false;
    }

Here is the call graph for this function:

Disconnects the end figure.

Definition at line 89 of file LineConnection.java.

                                {
        handleDisconnect(startFigure(), endFigure());
        endFigure().removeFigureChangeListener(this);
        fEnd = null;
    }

Here is the call graph for this function:

Disconnects the start figure.

Definition at line 81 of file LineConnection.java.

                                  {
        startFigure().removeFigureChangeListener(this);
        fStart = null;
    }

Here is the call graph for this function:

Rectangle CH.ifa.draw.figures.PolyLineFigure.displayBox ( ) [inline, inherited]

Definition at line 53 of file PolyLineFigure.java.

                                  {
        Enumeration k = points();
        Rectangle r = new Rectangle((Point) k.nextElement());
       
        while (k.hasMoreElements())
            r.add((Point) k.nextElement());
       
        return r;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void CH.ifa.draw.figures.PolyLineFigure.draw ( Graphics  g,
boolean  showGuides 
) [inline, inherited]

Definition at line 171 of file PolyLineFigure.java.

                                                     {
        g.setColor(getFrameColor());
        Point p1, p2;
        for (int i = 0; i < fPoints.size()-1; i++) {
            p1 = (Point) fPoints.elementAt(i);
            p2 = (Point) fPoints.elementAt(i+1);
            g.drawLine(p1.x, p1.y, p2.x, p2.y);
        }
        decorate(g);
       if (showGuides) {
           drawURL(g);
       }
    }

Here is the call graph for this function:

Connector CH.ifa.draw.figures.LineConnection.end ( ) [inline, inherited]

Gets the end figure of the connection.

Definition at line 143 of file LineConnection.java.

                           {
        return fEnd;
    }

Here is the caller graph for this function:

Figure CH.ifa.draw.figures.LineConnection.endFigure ( ) [inline, inherited]

Gets the end figure of the connection.

Definition at line 127 of file LineConnection.java.

                              {
        if (end() != null)
            return end().owner();
        return null;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void CH.ifa.draw.figures.LineConnection.endPoint ( int  x,
int  y 
) [inline, inherited]

Sets the end point.

Definition at line 169 of file LineConnection.java.

                                       {
        willChange();
        if (fPoints.size() < 2)
            fPoints.addElement(new Point(x, y));
        else
            fPoints.setElementAt(new Point(x, y), fPoints.size()-1);
        changed();
    }
Point CH.ifa.draw.figures.LineConnection.endPoint ( ) [inline, inherited]

Gets the end point.

Definition at line 189 of file LineConnection.java.

                            {
        Point p = (Point)fPoints.lastElement();
        return new Point(p.x, p.y);
    }

Here is the caller graph for this function:

void CH.ifa.draw.figures.LineConnection.figureChanged ( FigureChangeEvent  e) [inline, inherited]

Definition at line 254 of file LineConnection.java.

Here is the call graph for this function:

void CH.ifa.draw.figures.LineConnection.figureInvalidated ( FigureChangeEvent  e) [inline, inherited]

Definition at line 264 of file LineConnection.java.

{}
void CH.ifa.draw.figures.LineConnection.figureRemoved ( FigureChangeEvent  e) [inline, inherited]

Definition at line 258 of file LineConnection.java.

                                                   {
        if (listener() != null)
            listener().figureRequestRemove(new FigureChangeEvent(this));
    }
void CH.ifa.draw.figures.LineConnection.figureRequestRemove ( FigureChangeEvent  e) [inline, inherited]

Definition at line 263 of file LineConnection.java.

{}
void CH.ifa.draw.figures.LineConnection.figureRequestUpdate ( FigureChangeEvent  e) [inline, inherited]

Definition at line 265 of file LineConnection.java.

{}
int CH.ifa.draw.figures.PolyLineFigure.findSegment ( int  x,
int  y 
) [inline, inherited]

Gets the segment of the polyline that is hit by the given point.

Returns:
the index of the segment or -1 if no segment was hit.

Definition at line 229 of file PolyLineFigure.java.

                                         {
        Point p1, p2;
        for (int i = 0; i < fPoints.size()-1; i++) {
            p1 = (Point) fPoints.elementAt(i);
            p2 = (Point) fPoints.elementAt(i+1);
            if (Geom.lineContainsPoint(p1.x, p1.y, p2.x, p2.y, x, y))
                return i;
        }
        return -1;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Object CH.ifa.draw.figures.PolyLineFigure.getAttribute ( String  name) [inline, inherited]

Gets the attribute with the given name.

PolyLineFigure maps "ArrowMode"to a line decoration.

Definition at line 258 of file PolyLineFigure.java.

                                            {
        if (name.equals("FrameColor")) {
            return getFrameColor();
        } else if (name.equals("ArrowMode")) {
            int value = 0;
            if (fStartDecoration != null)
                value |= ARROW_TIP_START;
            if (fEndDecoration != null)
                value |= ARROW_TIP_END;
            return new Integer(value);
       }
        return super.getAttribute(name);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Color CH.ifa.draw.figures.PolyLineFigure.getFrameColor ( ) [inline, protected, inherited]

Definition at line 378 of file PolyLineFigure.java.

                                    {
        return fFrameColor;
    }

Here is the caller graph for this function:

String CH.ifa.draw.figures.PolyLineFigure.getMap ( ) [inline, inherited]

Definition at line 315 of file PolyLineFigure.java.

                           {
       String sensitive = (String)getAttribute("Sensitive");
       if (sensitive == null || sensitive.length() == 0)
           return "";
       try {
              sensitive = URLDecoder.decode(sensitive);
       } catch (Exception e) {}
       Enumeration k = fPoints.elements();
       boolean first  = true;
       String forwards = "", backwards = "";
        for (int i = 1; i < fPoints.size(); i++) {
            Point p1 = (Point)fPoints.elementAt(i-1);
            Point p2 = (Point)fPoints.elementAt(i);
           double l = Math.sqrt((p2.x-p1.x) * (p2.x-p1.x) +
                             (p2.y-p1.y) * (p2.y-p1.y));
           int x = (int)(4 * (p2.y-p1.y) / l);
           int y = (int)(4 * (p2.x-p1.x) / l);
           if (!first) {
              forwards += ",";
              backwards = "," + backwards;
           }
           first = false;
           forwards += (p1.x + x) + "," + (p1.y + y) + "," +
              (p2.x + x) + "," + (p2.y + y);
           backwards = (p2.x - x) + "," + (p2.y - y) + "," +
              (p1.x - x) + "," + (p1.y - y) + backwards;
        }
       return "<area shape=\"poly\" coords=\"" +
           forwards + "," + backwards + "\" href=\"" +
           sensitive + "\" />\n";
    }

Here is the call graph for this function:

void CH.ifa.draw.figures.LineConnection.handleConnect ( Figure  start,
Figure  end 
) [inline, protected, inherited]

Handles the connection of a connection.

Override this method to handle this event.

Definition at line 113 of file LineConnection.java.

{}

Here is the caller graph for this function:

void CH.ifa.draw.figures.LineConnection.handleDisconnect ( Figure  start,
Figure  end 
) [inline, protected, inherited]

Handles the disconnection of a connection.

Override this method to handle this event.

Definition at line 107 of file LineConnection.java.

{}

Here is the caller graph for this function:

Gets the handles of the figure.

Reimplemented from CH.ifa.draw.figures.LineConnection.

Definition at line 42 of file ElbowConnection.java.

                            {
        Vector handles = new Vector(fPoints.size()*2);
        handles.addElement(new ChangeConnectionStartHandle(this));
        for (int i = 1; i < fPoints.size()-1; i++)
            handles.addElement(new NullHandle(this, locator(i)));
        handles.addElement(new ChangeConnectionEndHandle(this));
        for (int i = 0; i < fPoints.size()-1; i++)
            handles.addElement(new ElbowHandle(this, i));
        return handles;
    }

Here is the call graph for this function:

void CH.ifa.draw.figures.LineConnection.insertPointAt ( Point  p,
int  i 
) [inline, inherited]

Inserts the point and updates the connection.

Reimplemented from CH.ifa.draw.figures.PolyLineFigure.

Definition at line 219 of file LineConnection.java.

                                              {
        super.insertPointAt(p, i);
        layoutConnection();
    }

Here is the call graph for this function:

boolean CH.ifa.draw.figures.PolyLineFigure.isEmpty ( ) [inline, inherited]

Definition at line 63 of file PolyLineFigure.java.

                             {
        return (size().width < 3) && (size().height < 3);
    }

Here is the call graph for this function:

boolean CH.ifa.draw.figures.PolyLineFigure.joinSegments ( int  x,
int  y 
) [inline, inherited]

Joins to segments into one if the given point hits a node of the polyline.

Returns:
true if the two segments were joined.

Definition at line 142 of file PolyLineFigure.java.

                                              {
        for (int i= 1; i < fPoints.size()-1; i++) {
            Point p = pointAt(i);
            if (Geom.length(x, y, p.x, p.y) < 3) {
                removePointAt(i);
                return true;
            }
        }
        return false;
    }

Here is the call graph for this function:

Lays out the connection.

This is called when the connection itself changes. By default the connection is recalculated

Reimplemented from CH.ifa.draw.figures.LineConnection.

Definition at line 36 of file ElbowConnection.java.

                                   {
    }
static Locator CH.ifa.draw.figures.PolyLineFigure.locator ( int  pointIndex) [inline, static, inherited]

Creates a locator for the point with the given index.

Definition at line 374 of file PolyLineFigure.java.

                                                  {
        return new PolyLineLocator(pointIndex);
    }

Here is the caller graph for this function:

Point CH.ifa.draw.figures.PolyLineFigure.pointAt ( int  i) [inline, inherited]

Definition at line 133 of file PolyLineFigure.java.

                                {
        return (Point)fPoints.elementAt(i);
    }

Here is the caller graph for this function:

int CH.ifa.draw.figures.PolyLineFigure.pointCount ( ) [inline, inherited]

Definition at line 89 of file PolyLineFigure.java.

                            {
        return fPoints.size();
    }

Here is the caller graph for this function:

Enumeration CH.ifa.draw.figures.PolyLineFigure.points ( ) [inline, inherited]

Definition at line 85 of file PolyLineFigure.java.

                                {
        return fPoints.elements();
    }

Here is the caller graph for this function:

void CH.ifa.draw.figures.LineConnection.read ( StorableInput  dr) throws IOException [inline, inherited]

Reimplemented from CH.ifa.draw.figures.PolyLineFigure.

Definition at line 280 of file LineConnection.java.

                                                          {
        super.read(dr);
        Connector start = (Connector)dr.readStorable();
        if (start != null)
            connectStart(start);
        Connector end = (Connector)dr.readStorable();
        if (end != null)
            connectEnd(end);
        if (start != null && end != null)
            updateConnection();
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void CH.ifa.draw.figures.LineConnection.release ( ) [inline, inherited]

Definition at line 267 of file LineConnection.java.

                          {
        super.release();
        handleDisconnect(startFigure(), endFigure());
        if (fStart != null) startFigure().removeFigureChangeListener(this);
        if (fEnd   != null) endFigure().removeFigureChangeListener(this);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void CH.ifa.draw.figures.LineConnection.removePointAt ( int  i) [inline, inherited]

Removes the point and updates the connection.

Reimplemented from CH.ifa.draw.figures.PolyLineFigure.

Definition at line 227 of file LineConnection.java.

                                     {
        super.removePointAt(i);
        layoutConnection();
    }

Here is the call graph for this function:

void CH.ifa.draw.figures.PolyLineFigure.setAttribute ( String  name,
Object  value 
) [inline, inherited]

Sets the attribute with the given name.

PolyLineFigure interprets "ArrowMode"to set the line decoration.

Definition at line 277 of file PolyLineFigure.java.

                                                        {
        if (name.equals("FrameColor")) {
            setFrameColor((Color)value);
            changed();
        } else if (name.equals("ArrowMode")) {
            Integer intObj = (Integer) value;
            if (intObj != null) {
                int decoration = intObj.intValue();
                if ((decoration & ARROW_TIP_START) != 0)
                    fStartDecoration = new ArrowTip();
                else
                    fStartDecoration = null;
                if ((decoration & ARROW_TIP_END) != 0)
                    fEndDecoration = new ArrowTip();
                else
                    fEndDecoration = null;
            }
            changed();
       } else {
            super.setAttribute(name, value);
           changed();
       }
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Sets the end decoration.

Definition at line 167 of file PolyLineFigure.java.

                                                   {
        fEndDecoration = l;
    }

Here is the caller graph for this function:

void CH.ifa.draw.figures.PolyLineFigure.setFrameColor ( Color  c) [inline, protected, inherited]

Definition at line 382 of file PolyLineFigure.java.

                                          {
        fFrameColor = c;
    }

Here is the caller graph for this function:

void CH.ifa.draw.figures.LineConnection.setPointAt ( Point  p,
int  i 
) [inline, inherited]

Sets the point and updates the connection.

Reimplemented from CH.ifa.draw.figures.PolyLineFigure.

Definition at line 211 of file LineConnection.java.

                                           {
        super.setPointAt(p, i);
        layoutConnection();
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Sets the start decoration.

Definition at line 160 of file PolyLineFigure.java.

                                                     {
        fStartDecoration = l;
    }

Here is the caller graph for this function:

int CH.ifa.draw.figures.PolyLineFigure.splitSegment ( int  x,
int  y 
) [inline, inherited]

Splits the segment at the given point if a segment was hit.

Returns:
the index of the segment or -1 if no segment was hit.

Definition at line 126 of file PolyLineFigure.java.

                                          {
        int i = findSegment(x, y);
        if (i != -1)
            insertPointAt(new Point(x, y), i+1);
        return i+1;
    }

Here is the call graph for this function:

Connector CH.ifa.draw.figures.LineConnection.start ( ) [inline, inherited]

Gets the start figure of the connection.

Definition at line 136 of file LineConnection.java.

                             {
        return fStart;
    }

Here is the caller graph for this function:

Figure CH.ifa.draw.figures.LineConnection.startFigure ( ) [inline, inherited]

Gets the start figure of the connection.

Definition at line 118 of file LineConnection.java.

                                {
        if (start() != null)
            return start().owner();
        return null;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void CH.ifa.draw.figures.LineConnection.startPoint ( int  x,
int  y 
) [inline, inherited]

Sets the start point.

Definition at line 157 of file LineConnection.java.

                                         {
        willChange();
        if (fPoints.size() == 0)
            fPoints.addElement(new Point(x, y));
        else
            fPoints.setElementAt(new Point(x, y), 0);
        changed();
    }
Point CH.ifa.draw.figures.LineConnection.startPoint ( ) [inline, inherited]

Gets the start point.

Definition at line 181 of file LineConnection.java.

                             {
        Point p = (Point)fPoints.firstElement();
        return new Point(p.x, p.y);
    }

Here is the caller graph for this function:

Updates the connection.

Reimplemented from CH.ifa.draw.figures.LineConnection.

Definition at line 31 of file ElbowConnection.java.

                                   {
        super.updateConnection();
        updatePoints();
    }

Here is the call graph for this function:

Definition at line 57 of file ElbowConnection.java.

                                  {
        willChange();
        Point start = startPoint();
        Point end = endPoint();
        fPoints.removeAllElements();
        fPoints.addElement(start);

        if (start.x == end.x || start.y == end.y) {
            fPoints.addElement(end);
        }
        else {
            Rectangle r1 = start().owner().displayBox();
            Rectangle r2 = end().owner().displayBox();

            int x1, y1, x2, y2;
            int dir = Geom.direction(r1.x + r1.width/2, r1.y + r1.height/2,
                        r2.x + r2.width/2, r2.y + r2.height/2);
            if (dir == Geom.NORTH || dir == Geom.SOUTH) {
                fPoints.addElement(new Point(start.x, (start.y + end.y)/2));
                fPoints.addElement(new Point(end.x, (start.y + end.y)/2));
            }
            else {
                fPoints.addElement(new Point((start.x + end.x)/2, start.y));
                fPoints.addElement(new Point((start.x + end.x)/2, end.y));
            }
            fPoints.addElement(end);
        }
        changed();
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void CH.ifa.draw.figures.LineConnection.write ( StorableOutput  dw) [inline, inherited]

Reimplemented from CH.ifa.draw.figures.PolyLineFigure.

Definition at line 274 of file LineConnection.java.

                                         {
        super.write(dw);
        dw.writeStorable(fStart);
        dw.writeStorable(fEnd);
    }

Here is the caller graph for this function:


Member Data Documentation

final int CH.ifa.draw.figures.PolyLineFigure.ARROW_TIP_BOTH = 3 [static, inherited]

Definition at line 27 of file PolyLineFigure.java.

final int CH.ifa.draw.figures.PolyLineFigure.ARROW_TIP_END = 2 [static, inherited]

Definition at line 26 of file PolyLineFigure.java.

final int CH.ifa.draw.figures.PolyLineFigure.ARROW_TIP_NONE = 0 [static, inherited]

Definition at line 24 of file PolyLineFigure.java.

final int CH.ifa.draw.figures.PolyLineFigure.ARROW_TIP_START = 1 [static, inherited]

Definition at line 25 of file PolyLineFigure.java.

Definition at line 25 of file ElbowConnection.java.

Connector CH.ifa.draw.figures.LineConnection.fEnd = null [protected, inherited]

Definition at line 23 of file LineConnection.java.

Definition at line 31 of file PolyLineFigure.java.

Color CH.ifa.draw.figures.PolyLineFigure.fFrameColor = Color.black [protected, inherited]

Definition at line 32 of file PolyLineFigure.java.

Vector CH.ifa.draw.figures.PolyLineFigure.fPoints [protected, inherited]

Definition at line 29 of file PolyLineFigure.java.

Connector CH.ifa.draw.figures.LineConnection.fStart = null [protected, inherited]

Definition at line 22 of file LineConnection.java.

Definition at line 30 of file PolyLineFigure.java.

final long CH.ifa.draw.figures.ElbowConnection.serialVersionUID = 2193968743082078559L [static, private]

Reimplemented from CH.ifa.draw.figures.LineConnection.

Definition at line 24 of file ElbowConnection.java.


The documentation for this class was generated from the following file: