PointsHandler (JGraph X 2.1.0.7 API Specification)
Date: 2013-07-31

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph X 2.1.0.7
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mxgraph.util.svg
Interface PointsHandler

All Known Implementing Classes:
  AWTPolygonProducer, AWTPolylineProducer

    public interface PointsHandler

This interface must be implemented and then registred as the handler of a `PointsParser` instance in order to be notified of parsing events.

Method Summary
`void` | `endPoints()` Invoked when the points attribute ends.
`void` | `point(float x, float y)` Invoked when a point has been parsed.
`void` | `startPoints()` Invoked when the points attribute starts.

Method Detail

### startPoints

    void startPoints()
                     throws ParseException

  Invoked when the points attribute starts.

  Throws:
    `ParseException` - if an error occured while processing the points

### point

    void point(float x,
               float y)
               throws ParseException

  Invoked when a point has been parsed.

  Parameters:
    `x` - the x coordinate of the point
    `y` - the y coordinate of the point
  Throws:
    `ParseException` - if an error occured while processing the points

### endPoints

    void endPoints()
                   throws ParseException

  Invoked when the points attribute ends.

  Throws:
    `ParseException` - if an error occured while processing the points

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph X 2.1.0.7
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2010 Gaudenz Alder. All rights reserved.