org.cresques.px.dxf
Class DxfEntity

java.lang.Object
  extended byorg.cresques.px.PxObj
      extended byorg.cresques.px.dxf.DxfEntity
All Implemented Interfaces:
Drawable, Extent.Has, Projected
Direct Known Subclasses:
DxfArc, DxfAttrib, DxfCircle, DxfEllipse, DxfInsert, DxfLine, DxfPoint, DxfPolyline, DxfSolid, DxfText

public abstract class DxfEntity
extends PxObj
implements Projected

Clase ancestro para las entidades de dxf jmorell: Implementación del handle imprescindible para el formato DXF2000.

Author:
"Luis W. Sevilla"

Field Summary
 
Fields inherited from class org.cresques.px.PxObj
extent, stroke
 
Constructor Summary
DxfEntity(IProjection proj, DxfLayer layer)
           
 
Method Summary
 java.lang.String getColor()
           
 int getHandle()
           
 DxfLayer getLayer()
          Método creado para facilitar la implementación de los ATTRIBS en el piloto.
 java.lang.String getLayerName()
           
 IProjection getProjection()
           
abstract  void reProject(ICoordTrans ct)
           
 void setHandle(int handle)
           
 void setProjection(IProjection p)
           
abstract  java.lang.String toDxfString()
           
 
Methods inherited from class org.cresques.px.PxObj
getExtent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cresques.px.Drawable
draw
 

Constructor Detail

DxfEntity

public DxfEntity(IProjection proj,
                 DxfLayer layer)
Method Detail

setProjection

public void setProjection(IProjection p)

getProjection

public IProjection getProjection()
Specified by:
getProjection in interface Projected

reProject

public abstract void reProject(ICoordTrans ct)
Specified by:
reProject in interface Projected

getLayerName

public java.lang.String getLayerName()

getColor

public java.lang.String getColor()

toDxfString

public abstract java.lang.String toDxfString()

getHandle

public int getHandle()
Returns:
Returns the handle.

setHandle

public void setHandle(int handle)
Parameters:
handle - The handle to set.

getLayer

public DxfLayer getLayer()
Método creado para facilitar la implementación de los ATTRIBS en el piloto.

Returns: