org.kabeja.parser.entities
Class DXFMLineHandler
java.lang.Object
org.kabeja.parser.entities.AbstractEntityHandler
org.kabeja.parser.entities.DXFMLineHandler
- All Implemented Interfaces:
- DXFEntityHandler, Handler
public class DXFMLineHandler
- extends AbstractEntityHandler
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_MLINE_STYLENAME
public static final int GROUPCODE_MLINE_STYLENAME
- See Also:
- Constant Field Values
GROUPCODE_MLINE_STYLE_ID
public static final int GROUPCODE_MLINE_STYLE_ID
- See Also:
- Constant Field Values
GROUPCODE_MLINE_SCALE_FACTOR
public static final int GROUPCODE_MLINE_SCALE_FACTOR
- See Also:
- Constant Field Values
GROUPCODE_MLINE_JUSTIFICATION
public static final int GROUPCODE_MLINE_JUSTIFICATION
- See Also:
- Constant Field Values
GROUPCODE_MLINE_FLAGS
public static final int GROUPCODE_MLINE_FLAGS
- See Also:
- Constant Field Values
GROUPCODE_MLINE_NUMBER_OF_VERTICES
public static final int GROUPCODE_MLINE_NUMBER_OF_VERTICES
- See Also:
- Constant Field Values
GROUPCODE_MLINE_NUMBER_OF_LINESTYLEELEMENTS
public static final int GROUPCODE_MLINE_NUMBER_OF_LINESTYLEELEMENTS
- See Also:
- Constant Field Values
GROUPCODE_MLINE_VERTEX_X
public static final int GROUPCODE_MLINE_VERTEX_X
- See Also:
- Constant Field Values
GROUPCODE_MLINE_VERTEX_Y
public static final int GROUPCODE_MLINE_VERTEX_Y
- See Also:
- Constant Field Values
GROUPCODE_MLINE_VERTEX_Z
public static final int GROUPCODE_MLINE_VERTEX_Z
- See Also:
- Constant Field Values
GROUPCODE_MLINE_DIRECTION_X
public static final int GROUPCODE_MLINE_DIRECTION_X
- See Also:
- Constant Field Values
GROUPCODE_MLINE_DIRECTION_Y
public static final int GROUPCODE_MLINE_DIRECTION_Y
- See Also:
- Constant Field Values
GROUPCODE_MLINE_DIRECTION_Z
public static final int GROUPCODE_MLINE_DIRECTION_Z
- See Also:
- Constant Field Values
GROUPCODE_MLINE_MITER_DIRECTION_X
public static final int GROUPCODE_MLINE_MITER_DIRECTION_X
- See Also:
- Constant Field Values
GROUPCODE_MLINE_MITER_DIRECTION_Y
public static final int GROUPCODE_MLINE_MITER_DIRECTION_Y
- See Also:
- Constant Field Values
GROUPCODE_MLINE_MITER_DIRECTION_Z
public static final int GROUPCODE_MLINE_MITER_DIRECTION_Z
- See Also:
- Constant Field Values
GROUPCODE_MLINE_ELEMENT_PARAMETER_COUNT
public static final int GROUPCODE_MLINE_ELEMENT_PARAMETER_COUNT
- See Also:
- Constant Field Values
GROUPCODE_MLINE_ELEMENT_PARAMETER
public static final int GROUPCODE_MLINE_ELEMENT_PARAMETER
- See Also:
- Constant Field Values
GROUPCODE_MLINE_FILL_PARAMETER_COUNT
public static final int GROUPCODE_MLINE_FILL_PARAMETER_COUNT
- See Also:
- Constant Field Values
GROUPCODE_MLINE_FILL_PARAMETER
public static final int GROUPCODE_MLINE_FILL_PARAMETER
- See Also:
- Constant Field Values
mLine
protected DXFMLine mLine
seg
protected DXFMLineSegment seg
el
protected DXFMLineSegmentElement el
index
protected int index
DXFMLineHandler
public DXFMLineHandler()
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,...)
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
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.