/*FreeMind - A Program for creating and viewing Mindmaps
 *Copyright (C) 2000-2001  Joerg Mueller <joergmueller@bigfoot.com>
 *See COPYING for Details
 *
 *This program is free software; you can redistribute it and/or
 *modify it under the terms of the GNU General Public License
 *as published by the Free Software Foundation; either version 2
 *of the License, or (at your option) any later version.
 *
 *This program is distributed in the hope that it will be useful,
 *but WITHOUT ANY WARRANTY; without even the implied warranty of
 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *GNU General Public License for more details.
 *
 *You should have received a copy of the GNU General Public License
 *along with this program; if not, write to the Free Software
 *Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
/*$Id: MindMapArrowLink.java,v 1.2.18.2 2004/10/28 05:24:53 christianfoltin Exp $*/

package freemind.modes;

import java.awt.Point;

import freemind.main.XMLElement;

public interface MindMapArrowLink extends MindMapLink {

    //     public Color getColor();
    //     public String getStyle();
    //     public Stroke getStroke();
    //     public int getWidth();
    //     public String toString();

//     public String getDestinationLabel();
//     public String getReferenceText();
    /* for arrows: */
    public Point getStartInclination(); // the zero is the start point of the line;
    public Point getEndInclination(); // the zero is the end point of the line;
	public void  setStartInclination(Point startInclination);
	public void  setEndInclination(Point endInclination); 
        /** the type of the start arrow: currently "None" and "Default". */
    public String getStartArrow(); 
    /** the type of the end arrow: currently "None" and "Default". */
    public String getEndArrow();
    /**
     * @param originX
     * @param originY
     * @param deltaX
     * @param deltaY
     */
    public void changeInclination(int originX, int originY, int deltaX, int deltaY);
    public void showControlPoints(boolean bShowControlPointsFlag);
	public boolean getShowControlPointsFlag();
    public XMLElement save();

}
