public class DwgObject
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected int |
address |
protected boolean |
avanzarFlag |
protected int |
color |
protected java.util.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 java.lang.String |
version |
protected boolean |
xDicObjFlag |
protected DwgHandleReference |
xDicObjHandle |
Constructor and Description |
---|
DwgObject(int index) |
protected int type
protected DwgHandleReference handle
protected java.lang.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 java.util.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 java.util.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 java.util.List getExtendedData()
public void setExtendedData(java.util.List extData)
extData
- The extendedData to set.public int getGraphicData()
public void setGraphicData(int graphicData)
graphicData
- The graphicData to set.public java.lang.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(java.lang.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()
public java.lang.Object clone()
clone
in class java.lang.Object
protected void fill(DwgObject obj)
public int getGeometrySubType(boolean is3DFile)