Class Star


  • class Star
    extends java.lang.Object
    Instances of this class represent a star displayed by the StarRating component
    • Field Detail

      • SMALL_STAR_MARKED_FOCUS

        private static final java.lang.String SMALL_STAR_MARKED_FOCUS
        See Also:
        Constant Field Values
      • SMALL_STAR_MARKED

        private static final java.lang.String SMALL_STAR_MARKED
        See Also:
        Constant Field Values
      • SMALL_STAR_FOCUS

        private static final java.lang.String SMALL_STAR_FOCUS
        See Also:
        Constant Field Values
      • BIG_STAR_MARKED_FOCUS

        private static final java.lang.String BIG_STAR_MARKED_FOCUS
        See Also:
        Constant Field Values
      • hover

        boolean hover
      • marked

        boolean marked
      • bounds

        org.eclipse.swt.graphics.Rectangle bounds
      • defaultImage

        org.eclipse.swt.graphics.Image defaultImage
      • hoverImage

        org.eclipse.swt.graphics.Image hoverImage
      • selectedImage

        org.eclipse.swt.graphics.Image selectedImage
      • selectedHoverImage

        org.eclipse.swt.graphics.Image selectedHoverImage
    • Constructor Detail

      • Star

        Star()
    • Method Detail

      • dispose

        void dispose()
      • draw

        void draw​(org.eclipse.swt.graphics.GC gc,
                  int x,
                  int y)