org.kabeja.parser.entities
Class DXFAttribHandler

java.lang.Object
  extended by org.kabeja.parser.entities.AbstractEntityHandler
      extended by org.kabeja.parser.entities.DXFTextHandler
          extended by org.kabeja.parser.entities.DXFAttribHandler
All Implemented Interfaces:
DXFEntityHandler, Handler

public class DXFAttribHandler
extends DXFTextHandler

Author:
Simon Mieth

Field Summary
static int ATTRIB_TEXT_LENGTH
           
static int ATTRIB_VERTICAL_ALIGN
           
 
Fields inherited from class org.kabeja.parser.entities.DXFTextHandler
content, text, TEXT_ALIGN, TEXT_ALIGN_X, TEXT_ALIGN_Y, TEXT_ALIGN_Z, TEXT_GENERATION_FLAG, TEXT_HEIGHT, TEXT_OBLIQUEANGLE, TEXT_ROTATION, TEXT_SCALEX, TEXT_STYLE, TEXT_VALIGN, TEXT_VALUE
 
Fields inherited from class org.kabeja.parser.entities.AbstractEntityHandler
COLOR_24BIT, COLOR_CODE, COLOR_TRANSPARENCY, COLORNAME, doc, ELEMENT_REFERENCE, END_X, END_Y, END_Z, EXTRUSION_X, EXTRUSION_Y, EXTRUSION_Z, FLAGS, GROUPCODE_MODELSPACE, GROUPCODE_ROTATION_ANGLE, GROUPCODE_START_X, GROUPCODE_START_Y, GROUPCODE_START_Z, GROUPCODE_STYLENAME, GROUPCODE_TEXT, GROUPCODE_THICKNESS, LAYER_NAME, LINE_TYPE, LINE_TYPE_SCALE, LINE_WEIGHT, TRANSPARENCY, VISIBILITY
 
Constructor Summary
DXFAttribHandler()
           
 
Method Summary
 java.lang.String getDXFEntityName()
           
 void parseGroup(int groupCode, DXFValue value)
           
 void startDXFEntity()
          Will called if the entity block starts.
 
Methods inherited from class org.kabeja.parser.entities.DXFTextHandler
endDXFEntity, getDXFEntity, isFollowSequence
 
Methods inherited from class org.kabeja.parser.entities.AbstractEntityHandler
parseCommonProperty, releaseDXFDocument, setDXFDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIB_VERTICAL_ALIGN

public static final int ATTRIB_VERTICAL_ALIGN
See Also:
Constant Field Values

ATTRIB_TEXT_LENGTH

public static final int ATTRIB_TEXT_LENGTH
See Also:
Constant Field Values
Constructor Detail

DXFAttribHandler

public DXFAttribHandler()
Method Detail

parseGroup

public void parseGroup(int groupCode,
                       DXFValue value)
Specified by:
parseGroup in interface DXFEntityHandler
Overrides:
parseGroup in class DXFTextHandler

startDXFEntity

public void startDXFEntity()
Description copied from interface: DXFEntityHandler
Will called if the entity block starts.

Specified by:
startDXFEntity in interface DXFEntityHandler
Overrides:
startDXFEntity in class DXFTextHandler

getDXFEntityName

public java.lang.String getDXFEntityName()
Specified by:
getDXFEntityName in interface DXFEntityHandler
Overrides:
getDXFEntityName in class DXFTextHandler
Returns:
the DXFEntity name (LINE,POLYLINE,TEXT,...)