Class EllipseModel

All Implemented Interfaces:
IPVWidgetModel, IAdaptable, IPropertySource

public class EllipseModel extends AbstractShapeModel
The widget model of ellipse widget.
  • Field Details

    • ID

      public final String ID
      See Also:
    • PROP_GRADIENT

      public static final String PROP_GRADIENT
      True if the ellipse should be filled with gradient effect.
      See Also:
    • PROP_BACKGROUND_GRADIENT_START_COLOR

      public static final String PROP_BACKGROUND_GRADIENT_START_COLOR
      The color on background gradient start.
      See Also:
    • PROP_FOREGROUND_GRADIENT_START_COLOR

      public static final String PROP_FOREGROUND_GRADIENT_START_COLOR
      The color on foreground gradient start.
      See Also:
  • Constructor Details

    • EllipseModel

      public EllipseModel()
  • 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 AbstractShapeModel
    • getTypeID

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

      public boolean isGradient()
    • getBackgroundGradientStartColor

      public Color getBackgroundGradientStartColor()
    • getForegroundGradientStartColor

      public Color getForegroundGradientStartColor()