public class DXFEntity extends java.lang.Object implements DXFGroupActor
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
appGroupName |
long |
handle |
protected boolean |
insideAppGroup |
| Constructor and Description |
|---|
DXFEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
java.lang.Object |
clone()
The default reader reuses objects heavily; clone them if you need your
own version.
|
void |
copyStateFrom(DXFEntity nother)
Copies the attributes from the given DXFEntity.
|
void |
end() |
void |
processGroup(int code,
DXFProtoValue value)
Acts on groups; interprets them and populates properties.
|
void |
resetToDefaults()
Resets all values to defaults; useful when reusing objects.
|
public long handle
protected boolean insideAppGroup
protected java.lang.String appGroupName
public void begin()
begin in interface DXFGroupActorpublic void end()
end in interface DXFGroupActorpublic void resetToDefaults()
super.resetToDefaults();
public void processGroup(int code,
DXFProtoValue value)
// let superclass do its thing, skip any codes inside app-specific
// bracketed section
super.processGroup(code, value);
if (insideAppGroup)
return;
processGroup in interface DXFGroupActorpublic void copyStateFrom(DXFEntity nother)
public void copyState(DXFEntity nother) {
super.copyStateFrom(nother);
someState = nother.someState;
....
public java.lang.Object clone()
clone in class java.lang.Object