org.kabeja.dxf
Class DXFHatchPattern

java.lang.Object
  extended by org.kabeja.dxf.DXFHatchPattern

public class DXFHatchPattern
extends java.lang.Object

This class represent a single line family of a hatch pattern set.

Author:
Constructor Summary
DXFHatchPattern()
           
 
Method Summary
 void addLineFamily(HatchLineFamily pattern)
           
 DXFHatch getDXFHatch()
          The associated hatch for this pattern.
 java.lang.String getID()
           
 int getLineFamilyCount()
           
 java.util.Iterator getLineFamilyIterator()
           
 void setHatch(DXFHatch hatch)
          The associated hatch for this pattern.
 void setID(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DXFHatchPattern

public DXFHatchPattern()
Method Detail

getID

public java.lang.String getID()
Returns:
Returns the id.

setID

public void setID(java.lang.String id)
Parameters:
id - The id to set.

addLineFamily

public void addLineFamily(HatchLineFamily pattern)

getLineFamilyIterator

public java.util.Iterator getLineFamilyIterator()

getDXFHatch

public DXFHatch getDXFHatch()
The associated hatch for this pattern.

Returns:
Returns the hatch.

setHatch

public void setHatch(DXFHatch hatch)
The associated hatch for this pattern.

Parameters:
hatch - The hatch to set.

getLineFamilyCount

public int getLineFamilyCount()
Returns:
the count of the used line families