com.partnersoft.v3x.io.formats.dxf
Class DXFBlock
java.lang.Object
com.partnersoft.v3x.io.formats.dxf.DXFEntity
com.partnersoft.v3x.io.formats.dxf.DXFBlock
- All Implemented Interfaces:
- DXFGroupActor
public class DXFBlock
- extends DXFEntity
A DXF BLOCK object.
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
layerName
public java.lang.String layerName
blockName
public java.lang.String blockName
blockTypeFlags
public int blockTypeFlags
baseX
public float baseX
baseY
public float baseY
baseZ
public float baseZ
blockName2
public java.lang.String blockName2
xrefPath
public java.lang.String xrefPath
DXFBlock
public DXFBlock()
resetToDefaults
public void resetToDefaults()
- Description copied from class:
DXFEntity
- Resets all values to defaults; useful when reusing objects. Subclasses
overriding this should prefix their own method bodies with:
super.resetToDefaults();
- Overrides:
resetToDefaults in class DXFEntity
processGroup
public void processGroup(int code,
DXFProtoValue value)
- Description copied from class:
DXFEntity
- Acts on groups; interprets them and populates properties. Subclasses will
generally override this; they should prefix their own methods however
with:
// let superclass do its thing, skip any codes inside app-specific
// bracketed section
super.processGroup(code, value);
if (insideAppGroup)
return;
- Specified by:
processGroup in interface DXFGroupActor- Overrides:
processGroup in class DXFEntity
copyStateFrom
public void copyStateFrom(DXFEntity nother)
- Description copied from class:
DXFEntity
- Copies the attributes from the given DXFEntity. Subclasses should
implement this, but call it as well:
public void copyState(DXFEntity nother) {
super.copyStateFrom(nother);
someState = nother.someState;
....
- Overrides:
copyStateFrom in class DXFEntity
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object