Class Star
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.starrating.Star
-
class Star extends java.lang.Object
Instances of this class represent a star displayed by the StarRating component
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
BIG_STAR
private static java.lang.String
BIG_STAR_FOCUS
private static java.lang.String
BIG_STAR_MARKED
private static java.lang.String
BIG_STAR_MARKED_FOCUS
(package private) org.eclipse.swt.graphics.Rectangle
bounds
(package private) org.eclipse.swt.graphics.Image
defaultImage
(package private) boolean
hover
(package private) org.eclipse.swt.graphics.Image
hoverImage
(package private) boolean
marked
private StarRating
parent
(package private) org.eclipse.swt.graphics.Image
selectedHoverImage
(package private) org.eclipse.swt.graphics.Image
selectedImage
private static java.lang.String
SMALL_STAR
private static java.lang.String
SMALL_STAR_FOCUS
private static java.lang.String
SMALL_STAR_MARKED
private static java.lang.String
SMALL_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) void
dispose()
(package private) void
draw(org.eclipse.swt.graphics.GC gc, int x, int y)
(package private) static Star
initBig(StarRating parent)
(package private) static Star
initSmall(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)
-
-