public class DwgObject extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected int |
address |
protected boolean |
avanzarFlag |
protected int |
color |
protected List |
extendedData |
protected int |
graphicData |
protected boolean |
graphicsFlag |
protected DwgHandleReference |
handle |
protected int |
index
Index of the dwg object in the object's map section
|
protected DwgHandleReference |
layerHandle
layer handle as an integer
|
protected int |
linetypeFlags |
protected int |
mode |
protected boolean |
noLinks |
protected int |
numReactors |
protected int |
plotstyleFlags |
protected DwgHandleReference |
plotStyleHandle |
protected int |
sizeInBits |
protected DwgHandleReference |
subEntityHandle |
protected int |
type |
protected String |
version |
protected boolean |
xDicObjFlag |
protected DwgHandleReference |
xDicObjHandle |
Constructor and Description |
---|
DwgObject(int index) |
protected int type
protected DwgHandleReference handle
protected String version
protected int mode
protected DwgHandleReference layerHandle
protected int color
protected int numReactors
protected boolean noLinks
protected int linetypeFlags
protected int plotstyleFlags
protected int sizeInBits
protected List extendedData
protected int graphicData
protected int address
protected DwgHandleReference plotStyleHandle
protected DwgHandleReference subEntityHandle
protected DwgHandleReference xDicObjHandle
protected boolean graphicsFlag
protected boolean xDicObjFlag
protected boolean avanzarFlag
protected int index
public void inserta()
public boolean insertar()
public void setAddress(int address)
public int getAddress()
public void setNextHandle(DwgHandleReference hr)
public void setPreviousHandle(DwgHandleReference hr)
public void setAvanzar(boolean avanza)
public boolean getAvanzar()
public void addReactorHandle(DwgHandleReference hr)
public DwgHandleReference getNextHandle()
public DwgHandleReference getPreviousHandle()
public ArrayList getReactorsHandles()
public boolean hasLayerHandle()
public boolean hasNextHandle()
public boolean hasPreviousHandle()
public boolean hasSubEntityHandle()
public boolean hasXDicObjHandle()
public boolean hasReactorsHandles()
public int reactorsHandlesQuantity()
public int getIndex()
public int getSizeInBits()
public void setSizeInBits(int sizeInBits)
sizeInBits
- The sizeInBits to set.public List getExtendedData()
public void setExtendedData(List extData)
extData
- The extendedData to set.public int getGraphicData()
public void setGraphicData(int graphicData)
graphicData
- The graphicData to set.public String getVersion()
public void setLinetypeFlags(int linetypeFlags)
linetypeFlags
- The linetypeFlags to set.public void setPlotstyleFlags(int plotstyleFlags)
plotstyleFlags
- The plotstyleFlags to set.public DwgHandleReference getSubEntityHandle()
public void setSubEntityHandle(DwgHandleReference subEntityHandle)
subEntityHandle
- The subEntityHandle to set.public DwgHandleReference getXDicObjHandle()
public void setXDicObjHandle(DwgHandleReference dicObjHandle)
dicObjHandle
- The xDicObjHandle to set.public int getColor()
public void setColor(int color)
color
- The color to set.public DwgHandleReference getHandle()
public void setHandle(DwgHandleReference handle)
handle
- The handle to set.public DwgHandleReference getLayerHandle()
public void setLayerHandle(DwgHandleReference layerHandle)
layerHandle
- The layerHandle to set.public int getMode()
public void setMode(int mode)
mode
- The mode to set.public boolean isNoLinks()
public void setNoLinks(boolean noLinks)
noLinks
- The noLinks to set.public int getNumReactors()
public void setNumReactors(int numReactors)
numReactors
- The numReactors to set.public int getType()
public void setType(int type)
type
- The type to set.public int getLinetypeFlags()
public int getPlotstyleFlags()
public void setVersion(String version)
version
- The version to set.public boolean isGraphicsFlag()
public void setGraphicsFlag(boolean graphicsFlag)
graphicsFlag
- The graphicsFlag to set.public boolean isXDicObjFlag()
public void setXDicObjFlag(boolean xDicObjFlag)
xDicObjFlag
- The xDicObjFlag to set.public void setLyrByLineType(boolean lyrByLineType)
public boolean isLyrByLineType()
public void setPlotStyleHandle(DwgHandleReference hr)
public boolean hasPlotStyleHandle()
public void setLineTypeHandle(DwgHandleReference hr)
handle2
- public DwgHandleReference getLineTypeHandle()
public boolean hasLineTypeHandle()
protected void fill(DwgObject obj)
public int getGeometrySubType(boolean is3DFile)