org.kabeja.parser.entities
Class DXFSplineHandler

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

public class DXFSplineHandler
extends AbstractEntityHandler

Author:
Simon Mieth

Field Summary
static int CONTROL_POINT_X
           
static int CONTROL_POINT_Y
           
static int CONTROL_POINT_Z
           
static int CONTROLPOINT_TOLERANCE
           
static int DEGREE
           
static int END_TANGENT_X
           
static int END_TANGENT_Y
           
static int END_TANGENT_Z
           
static int FIT_POINT_X
           
static int FIT_POINT_Y
           
static int FIT_POINT_Z
           
static int FIT_TOLERANCE
           
static int KNOT_TOLERANCE
           
static int KNOTS
           
static int NUMBER_OF_CONTROL_POINTS
           
static int NUMBER_OF_CONTROL_POINTS2
           
static int NUMBER_OF_FIT_POINTS
           
static int NUMBER_OF_NODES
           
static int NUMBER_OF_NODES2
           
static int START_TANGENT_X
           
static int START_TANGENT_Y
           
static int START_TANGENT_Z
           
static int WEIGHTS
           
 
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
DXFSplineHandler()
           
 
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

CONTROL_POINT_X

public static final int CONTROL_POINT_X
See Also:
Constant Field Values

CONTROL_POINT_Y

public static final int CONTROL_POINT_Y
See Also:
Constant Field Values

CONTROL_POINT_Z

public static final int CONTROL_POINT_Z
See Also:
Constant Field Values

FIT_POINT_X

public static final int FIT_POINT_X
See Also:
Constant Field Values

FIT_POINT_Y

public static final int FIT_POINT_Y
See Also:
Constant Field Values

FIT_POINT_Z

public static final int FIT_POINT_Z
See Also:
Constant Field Values

START_TANGENT_X

public static final int START_TANGENT_X
See Also:
Constant Field Values

START_TANGENT_Y

public static final int START_TANGENT_Y
See Also:
Constant Field Values

START_TANGENT_Z

public static final int START_TANGENT_Z
See Also:
Constant Field Values

END_TANGENT_X

public static final int END_TANGENT_X
See Also:
Constant Field Values

END_TANGENT_Y

public static final int END_TANGENT_Y
See Also:
Constant Field Values

END_TANGENT_Z

public static final int END_TANGENT_Z
See Also:
Constant Field Values

FIT_TOLERANCE

public static final int FIT_TOLERANCE
See Also:
Constant Field Values

KNOTS

public static final int KNOTS
See Also:
Constant Field Values

WEIGHTS

public static final int WEIGHTS
See Also:
Constant Field Values

CONTROLPOINT_TOLERANCE

public static final int CONTROLPOINT_TOLERANCE
See Also:
Constant Field Values

KNOT_TOLERANCE

public static final int KNOT_TOLERANCE
See Also:
Constant Field Values

NUMBER_OF_FIT_POINTS

public static final int NUMBER_OF_FIT_POINTS
See Also:
Constant Field Values

NUMBER_OF_CONTROL_POINTS

public static final int NUMBER_OF_CONTROL_POINTS
See Also:
Constant Field Values

NUMBER_OF_CONTROL_POINTS2

public static final int NUMBER_OF_CONTROL_POINTS2
See Also:
Constant Field Values

NUMBER_OF_NODES

public static final int NUMBER_OF_NODES
See Also:
Constant Field Values

NUMBER_OF_NODES2

public static final int NUMBER_OF_NODES2
See Also:
Constant Field Values

DEGREE

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

DXFSplineHandler

public DXFSplineHandler()
Method Detail

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.