Class PolyLineModel

All Implemented Interfaces:
IPVWidgetModel, IAdaptable, IPropertySource

public class PolyLineModel extends AbstractPolyModel
The model for polyline widget.
  • Field Details

  • Constructor Details

    • PolyLineModel

      public PolyLineModel()
  • Method Details

    • configureProperties

      protected void configureProperties()
      Description copied from class: AbstractWidgetModel
      Configure the properties of the widget. Subclass should add new properties in this method.
      Overrides:
      configureProperties in class AbstractPolyModel
    • getTypeID

      public String getTypeID()
      Specified by:
      getTypeID in class AbstractWidgetModel
      Returns:
      the unique typeID of the model.
    • getArrowType

      public int getArrowType()
    • setArrowType

      public void setArrowType(int type)
    • getArrowLength

      public int getArrowLength()
    • setArrowLength

      public void setArrowLength(int value)
    • updateBounds

      public void updateBounds()
      Update the figure bounds based on points and arrows.
    • isFillArrow

      public boolean isFillArrow()
    • setFillArrow

      public void setFillArrow(boolean fill)