| Modifier and Type | Field and Description |
|---|---|
| private Pane | |
| private Pane | |
| private Rectangle | |
| private final EventHandler | |
| private final EventHandler | |
| private boolean | |
| private double | |
| private static final String | STRONG
Private fields |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private double | |
| protected double | computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the maximum allowable width of the Skin, based on the provided height. |
| private Node | |
| protected Node | |
| private boolean | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| backgroundContainer | back to summary |
|---|---|
| private Pane backgroundContainer | |
| foregroundContainer | back to summary |
|---|---|
| private Pane foregroundContainer | |
| forgroundClipRect | back to summary |
|---|---|
| private Rectangle forgroundClipRect | |
| mouseClickHandler | back to summary |
|---|---|
| private final EventHandler<MouseEvent> mouseClickHandler | |
| mouseMoveHandler | back to summary |
|---|---|
| private final EventHandler<MouseEvent> mouseMoveHandler | |
| partialRating | back to summary |
|---|---|
| private boolean partialRating | |
| rating | back to summary |
|---|---|
| private double rating | |
| STRONG | back to summary |
|---|---|
| private static final String STRONG Private fields | |
| updateOnHover | back to summary |
|---|---|
| private boolean updateOnHover | |
| RatingSkin | back to summary |
|---|---|
| public RatingSkin(Rating control) Constructors | |
| calculateRating | back to summary |
|---|---|
| private double calculateRating(Point2D sceneLocation) | |
| computeMaxWidth | back to summary |
|---|---|
| protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the maximum allowable width of the Skin, based on the provided height.
| |
| createButton | back to summary |
|---|---|
| private Node createButton() | |
| createButtonNode | back to summary |
|---|---|
| protected Node createButtonNode() Creates the node for one star. By default, an empty region is returned. This method can be overwritten to customize the styling of the star, e.g. to use a font-based icon. | |
| isVertical | back to summary |
|---|---|
| private boolean isVertical() | |
| recreateButtons | back to summary |
|---|---|
| private void recreateButtons() Implementation | |
| updateButtonStyles | back to summary |
|---|---|
| private void updateButtonStyles() | |
| updateClip | back to summary |
|---|---|
| private void updateClip() | |
| updateRating | back to summary |
|---|---|
| private void updateRating() | |
| updateRatingFromMouseEvent | back to summary |
|---|---|
| private void updateRatingFromMouseEvent(MouseEvent event) | |