org.kabeja.parser.entities
Class DXFMTextHandler

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

public class DXFMTextHandler
extends AbstractEntityHandler

Author:
Simon Mieth

Field Summary
static java.lang.String ENTITY_NAME
           
static int TEXT_ALIGN_X
           
static int TEXT_ALIGN_Y
           
static int TEXT_ALIGN_Z
           
static int TEXT_ATTACHMENT_POINT
           
static int TEXT_DRAWING_DIRECTION_FLAG
           
static int TEXT_HEIGHT
           
static int TEXT_OBLIQUEANGLE
           
static int TEXT_REF_HEIGHT
           
static int TEXT_REF_WIDTH
           
static int TEXT_ROTATION
           
static int TEXT_STYLE
           
static int TEXT_VALIGN
           
static int TEXT_VALUE
           
static int TEXT_VALUE_END
           
 
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
DXFMTextHandler()
           
 
Method Summary
 void endDXFEntity()
          Will called if the entity block ends.
 DXFEntity getDXFEntity()
          Called after endDXFEntity.
 java.lang.String getDXFEntityName()
           
 boolean isFollowSequence()
           
 void parseGroup(int groupCode, DXFValue value)
           
 void startDXFEntity()
          Will called if the entity block starts.
 
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

ENTITY_NAME

public static final java.lang.String ENTITY_NAME
See Also:
Constant Field Values

TEXT_VALUE_END

public static final int TEXT_VALUE_END
See Also:
Constant Field Values

TEXT_VALUE

public static final int TEXT_VALUE
See Also:
Constant Field Values

TEXT_HEIGHT

public static final int TEXT_HEIGHT
See Also:
Constant Field Values

TEXT_REF_WIDTH

public static final int TEXT_REF_WIDTH
See Also:
Constant Field Values

TEXT_REF_HEIGHT

public static final int TEXT_REF_HEIGHT
See Also:
Constant Field Values

TEXT_DRAWING_DIRECTION_FLAG

public static final int TEXT_DRAWING_DIRECTION_FLAG
See Also:
Constant Field Values

TEXT_ATTACHMENT_POINT

public static final int TEXT_ATTACHMENT_POINT
See Also:
Constant Field Values

TEXT_VALIGN

public static final int TEXT_VALIGN
See Also:
Constant Field Values

TEXT_ALIGN_X

public static final int TEXT_ALIGN_X
See Also:
Constant Field Values

TEXT_ALIGN_Y

public static final int TEXT_ALIGN_Y
See Also:
Constant Field Values

TEXT_ALIGN_Z

public static final int TEXT_ALIGN_Z
See Also:
Constant Field Values

TEXT_STYLE

public static final int TEXT_STYLE
See Also:
Constant Field Values

TEXT_OBLIQUEANGLE

public static final int TEXT_OBLIQUEANGLE
See Also:
Constant Field Values

TEXT_ROTATION

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

DXFMTextHandler

public DXFMTextHandler()
Method Detail

endDXFEntity

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


getDXFEntity

public DXFEntity getDXFEntity()
Description copied from interface: DXFEntityHandler
Called after endDXFEntity.

Returns:
the parsed Entity

getDXFEntityName

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

isFollowSequence

public boolean isFollowSequence()
Returns:
true if the this DXFEntityHandler have to parse the following entities (like POLYLINE), otherwise false (like TEXT,LINE).

parseGroup

public void parseGroup(int groupCode,
                       DXFValue value)

startDXFEntity

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