org.kabeja.parser.entities
Class DXFLeaderHandler
java.lang.Object
org.kabeja.parser.entities.AbstractEntityHandler
org.kabeja.parser.entities.DXFLeaderHandler
- All Implemented Interfaces:
- DXFEntityHandler, Handler
public class DXFLeaderHandler
- extends AbstractEntityHandler
- Author:
- Simon Mieth
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GROUPCODE_ARROW_HEAD_FLAG
public static final int GROUPCODE_ARROW_HEAD_FLAG
- See Also:
- Constant Field Values
GROUPCODE_LEADER_PATH_TYPE
public static final int GROUPCODE_LEADER_PATH_TYPE
- See Also:
- Constant Field Values
GROUPCODE_LEADER_CREATION_FLAG
public static final int GROUPCODE_LEADER_CREATION_FLAG
- See Also:
- Constant Field Values
GROUPCODE_HOOKLINE_DIRECTION_FLAG
public static final int GROUPCODE_HOOKLINE_DIRECTION_FLAG
- See Also:
- Constant Field Values
GROUPCODE_HOOKLINE_FLAG
public static final int GROUPCODE_HOOKLINE_FLAG
- See Also:
- Constant Field Values
GROUPCODE_TEXT_HEIGHT
public static final int GROUPCODE_TEXT_HEIGHT
- See Also:
- Constant Field Values
GROUPCODE_TEXT_WIDTH
public static final int GROUPCODE_TEXT_WIDTH
- See Also:
- Constant Field Values
GROUPCODE_COLOR_LEADER
public static final int GROUPCODE_COLOR_LEADER
- See Also:
- Constant Field Values
GROUPCODE_TEXT_ENTITY_REFERENCE
public static final int GROUPCODE_TEXT_ENTITY_REFERENCE
- See Also:
- Constant Field Values
GROUPCODE_HORIZONTAL_DIRECTION_X
public static final int GROUPCODE_HORIZONTAL_DIRECTION_X
- See Also:
- Constant Field Values
GROUPCODE_HORIZONTAL_DIRECTION_Y
public static final int GROUPCODE_HORIZONTAL_DIRECTION_Y
- See Also:
- Constant Field Values
GROUPCODE_HORIZONTAL_DIRECTION_Z
public static final int GROUPCODE_HORIZONTAL_DIRECTION_Z
- See Also:
- Constant Field Values
GROUPCODE_OFFSET_LAST_VERTEX_INSERTPOINT_X
public static final int GROUPCODE_OFFSET_LAST_VERTEX_INSERTPOINT_X
- See Also:
- Constant Field Values
GROUPCODE_OFFSET_LAST_VERTEX_INSERTPOINT_Y
public static final int GROUPCODE_OFFSET_LAST_VERTEX_INSERTPOINT_Y
- See Also:
- Constant Field Values
GROUPCODE_OFFSET_LAST_VERTEX_INSERTPOINT_Z
public static final int GROUPCODE_OFFSET_LAST_VERTEX_INSERTPOINT_Z
- See Also:
- Constant Field Values
GROUPCODE_OFFSET_LAST_VERTEX_PLACEMENT_POINT_X
public static final int GROUPCODE_OFFSET_LAST_VERTEX_PLACEMENT_POINT_X
- See Also:
- Constant Field Values
GROUPCODE_OFFSET_LAST_VERTEX_PLACEMENT_POINT_Y
public static final int GROUPCODE_OFFSET_LAST_VERTEX_PLACEMENT_POINT_Y
- See Also:
- Constant Field Values
GROUPCODE_OFFSET_LAST_VERTEX_PLACEMENT_POINT_Z
public static final int GROUPCODE_OFFSET_LAST_VERTEX_PLACEMENT_POINT_Z
- See Also:
- Constant Field Values
leader
protected DXFLeader leader
vertex
protected Point vertex
DXFLeaderHandler
public DXFLeaderHandler()
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,...)
startDXFEntity
public void startDXFEntity()
- Description copied from interface:
DXFEntityHandler
- Will called if the entity block starts.
parseGroup
public void parseGroup(int groupCode,
DXFValue value)
getDXFEntity
public DXFEntity getDXFEntity()
- Description copied from interface:
DXFEntityHandler
- Called after endDXFEntity.
- Returns:
- the parsed Entity
endDXFEntity
public void endDXFEntity()
- Description copied from interface:
DXFEntityHandler
- Will called if the entity block ends.
isFollowSequence
public boolean isFollowSequence()
- Returns:
- true if the this DXFEntityHandler have to parse the following entities (like POLYLINE),
otherwise false (like TEXT,LINE).