org.cresques.px.dxf
Class DxfInsert

java.lang.Object
  extended byorg.cresques.px.PxObj
      extended byorg.cresques.px.dxf.DxfEntity
          extended byorg.cresques.px.dxf.DxfInsert
All Implemented Interfaces:
Drawable, Extent.Has, Projected

public class DxfInsert
extends DxfEntity


Field Summary
 
Fields inherited from class org.cresques.px.PxObj
extent, stroke
 
Constructor Summary
DxfInsert(IProjection proj, DxfLayer layer)
           
 
Method Summary
 void draw(java.awt.Graphics2D g, ViewPortData vp)
           
 boolean encuentraBloque(java.lang.String blockName)
           
 boolean getBlockFound()
           
 java.lang.String getBlockName()
           
 DxfBlock getDxfBlock()
           
 DxfLayer getDxfLayer()
           
 java.awt.geom.Point2D getPt()
           
 double getRotAngle()
           
 java.awt.geom.Point2D getScaleFactor()
           
 void reProject(ICoordTrans rp)
           
 void setBlkList(java.util.Vector blkList)
           
 void setBlockFound(boolean found)
           
 void setBlockName(java.lang.String blockName)
           
 void setPt(java.awt.geom.Point2D pt)
           
 void setRotAngle(double rotAngle)
           
 void setScaleFactor(java.awt.geom.Point2D scaleFactor)
           
 java.lang.String toDxfString()
           
 
Methods inherited from class org.cresques.px.dxf.DxfEntity
getColor, getHandle, getLayer, getLayerName, getProjection, setHandle, setProjection
 
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
 

Constructor Detail

DxfInsert

public DxfInsert(IProjection proj,
                 DxfLayer layer)
Method Detail

getPt

public java.awt.geom.Point2D getPt()

getRotAngle

public double getRotAngle()

getScaleFactor

public java.awt.geom.Point2D getScaleFactor()

getBlockFound

public boolean getBlockFound()

setBlockFound

public void setBlockFound(boolean found)

encuentraBloque

public boolean encuentraBloque(java.lang.String blockName)

getDxfLayer

public DxfLayer getDxfLayer()

setBlkList

public void setBlkList(java.util.Vector blkList)

getDxfBlock

public DxfBlock getDxfBlock()

setPt

public void setPt(java.awt.geom.Point2D pt)

setBlockName

public void setBlockName(java.lang.String blockName)

getBlockName

public java.lang.String getBlockName()

setScaleFactor

public void setScaleFactor(java.awt.geom.Point2D scaleFactor)

setRotAngle

public void setRotAngle(double rotAngle)

toDxfString

public java.lang.String toDxfString()
Specified by:
toDxfString in class DxfEntity

reProject

public void reProject(ICoordTrans rp)
Specified by:
reProject in interface Projected
Specified by:
reProject in class DxfEntity

draw

public void draw(java.awt.Graphics2D g,
                 ViewPortData vp)