Revision 1607 branches/v02_desarrollo/libraries/libCq CMS for java.old/src/org/cresques/px/dxf/DxfEntity.java

View differences:

DxfEntity.java
12 12

  
13 13
/**
14 14
 * Clase ancestro para las entidades de dxf
15
 * 
15
 * jmorell: Implementaci?n del handle imprescindible para el formato DXF2000.
16 16
 * @author "Luis W. Sevilla" <sevilla_lui@gva.es>
17 17
 */
18 18

  
19 19
public abstract class DxfEntity extends PxObj implements Projected  {
20 20
	IProjection proj = null;
21 21
	DxfLayer layer = null;
22
	int dxfColor = 256;
23
	//int dxfColor = 0;
22
	//int dxfColor = 256;
23
	int dxfColor = 0;
24 24
	
25 25
	int entitiesFollow = 0;
26 26
	boolean space = false; // false --> model space, true paper space;
27
	
28
	private int handle;
27 29

  
28 30
	public DxfEntity(IProjection proj, DxfLayer layer) {
29 31
		setProjection(proj);
......
45 47
	}
46 48

  
47 49
	abstract public String toDxfString();
50
	/**
51
	 * @return Returns the handle.
52
	 */
53
	public int getHandle() {
54
		return handle;
55
	}
56
	/**
57
	 * @param handle The handle to set.
58
	 */
59
	public void setHandle(int handle) {
60
		this.handle = handle;
61
	}
48 62
}

Also available in: Unified diff