Revision 11192 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/styling/IPlacementConstraints.java

View differences:

IPlacementConstraints.java
43 43
 *
44 44
 * $Id$
45 45
 * $Log$
46
 * Revision 1.6  2007-04-12 16:01:11  jaume
46
 * Revision 1.7  2007-04-13 11:59:30  jaume
47 47
 * *** empty log message ***
48 48
 *
49
 * Revision 1.6  2007/04/12 16:01:11  jaume
50
 * *** empty log message ***
51
 *
49 52
 * Revision 1.5  2007/04/12 14:28:43  jaume
50 53
 * basic labeling support for lines
51 54
 *
......
77 80
import com.iver.cit.gvsig.fmap.core.FShape;
78 81
import com.iver.cit.gvsig.fmap.core.IGeometry;
79 82
import com.iver.cit.gvsig.fmap.core.symbols.ITextSymbol;
83
import com.iver.utiles.IPersistance;
80 84

  
81 85
/**
82 86
 * @author   jaume dominguez faus - jaume.dominguez@iver.es
83 87
 */
84
public interface IPlacementConstraints {
88
public interface IPlacementConstraints extends IPersistance {
85 89

  
86 90
	// constants regarding label duplication
87 91
	public static final int REMOVE_DUPLICATE_LABELS             =       2;
......
110 114
	public abstract void setPlacementMode(int mode);
111 115

  
112 116
	// regarding label position along the line
113
	public abstract boolean isAtTheBeginingOfLine();
114
	public abstract void setAtTheBeginingOfLine(boolean b);
115
	public abstract boolean isAtTheEndOfLine();
116
	public abstract void setAtTheEndOfLine(boolean b);
117 117
	public abstract boolean isBellowTheLine();
118 118
	public abstract void setBellowTheLine(boolean b);
119 119
	public abstract boolean isAboveTheLine();
120 120
	public abstract void setAboveTheLine(boolean b);
121
	public abstract void setLocationAlongTheLine(int location);
121 122

  
123

  
122 124
	// regarding the orientation system
123 125
	public abstract boolean isPageOriented();
124 126
	public abstract void setPageOriented(boolean b);
......
141 143
			MultiPolygon exclusionZone);
142 144

  
143 145
	public abstract void placeLabel(Graphics2D g, IGeometry geom,
144
		LabelClass lc, MultiPolygon exclusionZone, AffineTransform transform, String[] labelTexts);
146
		LabelClass lc, MultiPolygon exclusionZone, AffineTransform transform);
145 147

  
146 148
	public abstract boolean isParallel();
147 149

  
......
151 153

  
152 154
	public abstract boolean isHorizontal();
153 155

  
156

  
154 157
}

Also available in: Unified diff