org.kabeja.dxf
Class DXFInsert

java.lang.Object
  extended by org.kabeja.dxf.DXFEntity
      extended by org.kabeja.dxf.DXFInsert

public class DXFInsert
extends DXFEntity

Author:
Field Summary
 
Fields inherited from class org.kabeja.dxf.DXFEntity
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile
 
Constructor Summary
DXFInsert()
           
 
Method Summary
 java.lang.String getBlockID()
           
 Bounds getBounds()
           
 int getColumns()
           
 double getColumnSpacing()
           
 double getLength()
          Returns the length of the entity or 0 if the entity has no length
 Point getPoint()
           
 double getRotate()
           
 int getRows()
           
 double getRowSpacing()
           
 double getScaleX()
           
 double getScaleY()
           
 double getScaleZ()
           
 java.lang.String getType()
           
 void setBlockID(java.lang.String blockID)
           
 void setColumns(int columns)
           
 void setColumnSpacing(double column_spacing)
           
 void setPoint(Point p)
           
 void setRotate(double rotate)
           
 void setRows(int rows)
           
 void setRowSpacing(double row_spacing)
           
 void setScaleX(double scale_x)
           
 void setScaleY(double scale_y)
           
 void setScaleZ(double scale_z)
           
 
Methods inherited from class org.kabeja.dxf.DXFEntity
getColor, getColorRGB, getDXFDocument, getExtrusion, getFlags, getID, getLayerName, getLineType, getLinetypeScaleFactor, getLineWeight, getThickness, getTransparency, isBlockEntity, isModelSpace, isOmitLineType, isVisibile, setBlockEntity, setColor, setColorRGB, setDXFDocument, setExtrusion, setExtrusionX, setExtrusionY, setExtrusionZ, setFlags, setID, setLayerName, setLineType, setLinetypeScaleFactor, setLineWeight, setModelSpace, setThickness, setTransparency, setVisibile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DXFInsert

public DXFInsert()
Method Detail

getBounds

public Bounds getBounds()
Specified by:
getBounds in class DXFEntity

getBlockID

public java.lang.String getBlockID()
Returns:
Returns the blockID.

setBlockID

public void setBlockID(java.lang.String blockID)
Parameters:
blockID - The blockID to set.

getColumnSpacing

public double getColumnSpacing()
Returns:
Returns the column_spacing.

setColumnSpacing

public void setColumnSpacing(double column_spacing)
Parameters:
column_spacing - The column_spacing to set.

getColumns

public int getColumns()
Returns:
Returns the columns.

setColumns

public void setColumns(int columns)
Parameters:
columns - The columns to set.

getPoint

public Point getPoint()
Returns:
Returns the p.

setPoint

public void setPoint(Point p)
Parameters:
p - The p to set.

getRotate

public double getRotate()
Returns:
Returns the rotate.

setRotate

public void setRotate(double rotate)
Parameters:
rotate - The rotate to set.

getRowSpacing

public double getRowSpacing()
Returns:
Returns the row_spacing.

setRowSpacing

public void setRowSpacing(double row_spacing)
Parameters:
row_spacing - The row_spacing to set.

getRows

public int getRows()
Returns:
Returns the rows.

setRows

public void setRows(int rows)
Parameters:
rows - The rows to set.

getScaleX

public double getScaleX()
Returns:
Returns the scale_x.

setScaleX

public void setScaleX(double scale_x)
Parameters:
scale_x - The scale_x to set.

getScaleY

public double getScaleY()
Returns:
Returns the scale_y.

setScaleY

public void setScaleY(double scale_y)
Parameters:
scale_y - The scale_y to set.

getScaleZ

public double getScaleZ()
Returns:
Returns the scale_z.

setScaleZ

public void setScaleZ(double scale_z)
Parameters:
scale_z - The scale_z to set.

getType

public java.lang.String getType()
Specified by:
getType in class DXFEntity

getLength

public double getLength()
Description copied from class: DXFEntity
Returns the length of the entity or 0 if the entity has no length

Specified by:
getLength in class DXFEntity
Returns: