Class Star
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.starrating.Star
-
class Star extends java.lang.ObjectInstances of this class represent a star displayed by the StarRating component
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringBIG_STARprivate static java.lang.StringBIG_STAR_FOCUSprivate static java.lang.StringBIG_STAR_MARKEDprivate static java.lang.StringBIG_STAR_MARKED_FOCUS(package private) org.eclipse.swt.graphics.Rectanglebounds(package private) org.eclipse.swt.graphics.ImagedefaultImage(package private) booleanhover(package private) org.eclipse.swt.graphics.ImagehoverImage(package private) booleanmarkedprivate StarRatingparent(package private) org.eclipse.swt.graphics.ImageselectedHoverImage(package private) org.eclipse.swt.graphics.ImageselectedImageprivate static java.lang.StringSMALL_STARprivate static java.lang.StringSMALL_STAR_FOCUSprivate static java.lang.StringSMALL_STAR_MARKEDprivate static java.lang.StringSMALL_STAR_MARKED_FOCUS
-
Constructor Summary
Constructors Constructor Description Star()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voiddispose()(package private) voiddraw(org.eclipse.swt.graphics.GC gc, int x, int y)(package private) static StarinitBig(StarRating parent)(package private) static StarinitSmall(StarRating parent)
-
-
-
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
-
SMALL_STAR
private static final java.lang.String SMALL_STAR
- See Also:
- Constant Field Values
-
BIG_STAR_MARKED_FOCUS
private static final java.lang.String BIG_STAR_MARKED_FOCUS
- See Also:
- Constant Field Values
-
BIG_STAR_MARKED
private static final java.lang.String BIG_STAR_MARKED
- See Also:
- Constant Field Values
-
BIG_STAR_FOCUS
private static final java.lang.String BIG_STAR_FOCUS
- See Also:
- Constant Field Values
-
BIG_STAR
private static final java.lang.String BIG_STAR
- 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
-
parent
private StarRating parent
-
-
Method Detail
-
dispose
void dispose()
-
draw
void draw(org.eclipse.swt.graphics.GC gc, int x, int y)
-
initBig
static Star initBig(StarRating parent)
-
initSmall
static Star initSmall(StarRating parent)
-
-