org.kabeja.parser.entities
Class DXFHatchHandler
java.lang.Object
org.kabeja.parser.entities.AbstractEntityHandler
org.kabeja.parser.entities.DXFHatchHandler
- All Implemented Interfaces:
- DXFEntityHandler, Handler
public class DXFHatchHandler
- 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 |
END_SEQUENCE
public static final java.lang.String END_SEQUENCE
- See Also:
- Constant Field Values
END_SEQUENCE_CODE
public static final int END_SEQUENCE_CODE
- See Also:
- Constant Field Values
GROUPCODE_ASSOSIATIVITY_FLAG
public static final int GROUPCODE_ASSOSIATIVITY_FLAG
- See Also:
- Constant Field Values
GROUPCODE_BOUNDARY_ANNOTATION
public static final int GROUPCODE_BOUNDARY_ANNOTATION
- See Also:
- Constant Field Values
GROUPCODE_BOUNDARY_EDGE_COUNT
public static final int GROUPCODE_BOUNDARY_EDGE_COUNT
- See Also:
- Constant Field Values
GROUPCODE_BOUNDARY_EDGE_TYPE
public static final int GROUPCODE_BOUNDARY_EDGE_TYPE
- See Also:
- Constant Field Values
GROUPCODE_BOUNDARY_LOOP_COUNT
public static final int GROUPCODE_BOUNDARY_LOOP_COUNT
- See Also:
- Constant Field Values
GROUPCODE_BOUNDAYY_LOOP_TYPE
public static final int GROUPCODE_BOUNDAYY_LOOP_TYPE
- See Also:
- Constant Field Values
GROUPCODE_DEFINITION_LINE_COUNT
public static final int GROUPCODE_DEFINITION_LINE_COUNT
- See Also:
- Constant Field Values
GROUPCODE_DEGENERTE_BOUNDARY_PATH_COUNT
public static final int GROUPCODE_DEGENERTE_BOUNDARY_PATH_COUNT
- See Also:
- Constant Field Values
GROUPCODE_HATCH_DOUBLE_FLAG
public static final int GROUPCODE_HATCH_DOUBLE_FLAG
- See Also:
- Constant Field Values
GROUPCODE_HATCH_STYLE
public static final int GROUPCODE_HATCH_STYLE
- See Also:
- Constant Field Values
GROUPCODE_NAME
public static final int GROUPCODE_NAME
- See Also:
- Constant Field Values
GROUPCODE_OFFSET_VECTOR
public static final int GROUPCODE_OFFSET_VECTOR
- See Also:
- Constant Field Values
GROUPCODE_PATTERN_ANGLE
public static final int GROUPCODE_PATTERN_ANGLE
- See Also:
- Constant Field Values
GROUPCODE_PATTERN_BASE_X
public static final int GROUPCODE_PATTERN_BASE_X
- See Also:
- Constant Field Values
GROUPCODE_PATTERN_BASE_Y
public static final int GROUPCODE_PATTERN_BASE_Y
- See Also:
- Constant Field Values
GROUPCODE_PATTERN_FILL_COLOR
public static final int GROUPCODE_PATTERN_FILL_COLOR
- See Also:
- Constant Field Values
GROUPCODE_PATTERN_LINE_ANGLE
public static final int GROUPCODE_PATTERN_LINE_ANGLE
- See Also:
- Constant Field Values
GROUPCODE_PATTERN_LINE_COUNT
public static final int GROUPCODE_PATTERN_LINE_COUNT
- See Also:
- Constant Field Values
GROUPCODE_PATTERN_LINE_TYPE_DATA
public static final int GROUPCODE_PATTERN_LINE_TYPE_DATA
- See Also:
- Constant Field Values
GROUPCODE_PATTERN_OFFSET_X
public static final int GROUPCODE_PATTERN_OFFSET_X
- See Also:
- Constant Field Values
GROUPCODE_PATTERN_OFFSET_Y
public static final int GROUPCODE_PATTERN_OFFSET_Y
- See Also:
- Constant Field Values
GROUPCODE_PATTERN_SCALE
public static final int GROUPCODE_PATTERN_SCALE
- See Also:
- Constant Field Values
GROUPCODE_PATTERN_TYPE
public static final int GROUPCODE_PATTERN_TYPE
- See Also:
- Constant Field Values
GROUPCODE_PIXEL_SIZE
public static final int GROUPCODE_PIXEL_SIZE
- See Also:
- Constant Field Values
GROUPCODE_SEED_POINTS_COUNT
public static final int GROUPCODE_SEED_POINTS_COUNT
- See Also:
- Constant Field Values
GROUPCODE_SOLID_FILL_FLAG
public static final int GROUPCODE_SOLID_FILL_FLAG
- See Also:
- Constant Field Values
boundaryHandler
protected DXFEntityHandler boundaryHandler
boundaryHandlers
protected java.util.Hashtable boundaryHandlers
count
protected int count
linePattern
protected HatchLineFamily linePattern
loop
protected HatchBoundaryLoop loop
parameters
protected double[] parameters
pattern
protected DXFHatchPattern pattern
polyline
protected DXFPolyline polyline
vertex
protected DXFVertex vertex
lastGroupCode
protected int lastGroupCode
DXFHatchHandler
public DXFHatchHandler()
endBoundaryElement
protected void endBoundaryElement()
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,...)
init
protected void init()
isFollowSequence
public boolean isFollowSequence()
- Returns:
- true if the this DXFEntityHandler have to parse the following entities (like POLYLINE),
otherwise false (like TEXT,LINE).
parseBoundary
protected void parseBoundary(int groupCode,
DXFValue value)
parseGroup
public void parseGroup(int groupCode,
DXFValue value)
parsePolylineBoundary
protected void parsePolylineBoundary(int groupCode,
DXFValue value)
setDXFDocument
public void setDXFDocument(DXFDocument doc)
- Specified by:
setDXFDocument
in interface DXFEntityHandler
- Specified by:
setDXFDocument
in interface Handler
- Overrides:
setDXFDocument
in class AbstractEntityHandler
startDXFEntity
public void startDXFEntity()
- Description copied from interface:
DXFEntityHandler
- Will called if the entity block starts.