| Modifier and Type | Field and Description |
|---|---|
| private Pane | |
| private final Map | |
| private final ListChangeListener | |
| private final Map | |
| private static final String | |
| private static final String | |
| private double | |
| private double | |
| private Group | |
| protected ObservableMap | |
| private final ListChangeListener | |
| private Group | |
| private final ListChangeListener | |
| private static double | |
| private static double | |
| private static final double | |
| private static final double | |
| private static final PseudoClass | |
| private final WeakListChangeListener | |
| private final WeakListChangeListener | |
| private final WeakListChangeListener |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private Point2D | |
| protected void | layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)
Overrides javafx. Called during the layout pass of the scenegraph. |
| protected Properties | Returns: the properties file storing the SVG path data for each countryLoads the properties file that is storing the SVG path information for each country. |
| private void |
| countryPane | back to summary |
|---|---|
| private Pane countryPane | |
| countryPathMap | back to summary |
|---|---|
| private final Map<WorldMapView. | |
| countrySelectionListener | back to summary |
|---|---|
| private final ListChangeListener<? super WorldMapView. | |
| countryViewMap | back to summary |
|---|---|
| private final Map<WorldMapView. | |
| DEFAULT_STYLE_COUNTRY | back to summary |
|---|---|
| private static final String DEFAULT_STYLE_COUNTRY | |
| DEFAULT_STYLE_LOCATION | back to summary |
|---|---|
| private static final String DEFAULT_STYLE_LOCATION | |
| dragX | back to summary |
|---|---|
| private double dragX | |
| dragY | back to summary |
|---|---|
| private double dragY | |
| group | back to summary |
|---|---|
| private Group group | |
| locationMap | back to summary |
|---|---|
| protected ObservableMap<WorldMapView. | |
| locationSelectionListener | back to summary |
|---|---|
| private final ListChangeListener<? super WorldMapView. | |
| locationsGroup | back to summary |
|---|---|
| private Group locationsGroup | |
| locationsListener | back to summary |
|---|---|
| private final ListChangeListener<? super WorldMapView. | |
| MAP_OFFSET_X | back to summary |
|---|---|
| private static double MAP_OFFSET_X | |
| MAP_OFFSET_Y | back to summary |
|---|---|
| private static double MAP_OFFSET_Y | |
| PREFERRED_HEIGHT | back to summary |
|---|---|
| private static final double PREFERRED_HEIGHT | |
| PREFERRED_WIDTH | back to summary |
|---|---|
| private static final double PREFERRED_WIDTH | |
| SELECTED_PSEUDO_CLASS | back to summary |
|---|---|
| private static final PseudoClass SELECTED_PSEUDO_CLASS | |
| weakCountrySelectionListener | back to summary |
|---|---|
| private final WeakListChangeListener<E> weakCountrySelectionListener | |
| weakLocationSelectionListener | back to summary |
|---|---|
| private final WeakListChangeListener<E> weakLocationSelectionListener | |
| weakLocationsListener | back to summary |
|---|---|
| private final WeakListChangeListener<E> weakLocationsListener | |
| WorldMapViewSkin | back to summary |
|---|---|
| public WorldMapViewSkin(WorldMapView view) | |
| addLocation | back to summary |
|---|---|
| private void addLocation(WorldMapView. | |
| buildView | back to summary |
|---|---|
| private void buildView() | |
| getLocationCoordinates | back to summary |
|---|---|
| private Point2D getLocationCoordinates(WorldMapView. | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight) Overrides javafx. Doc from javafx. Called during the layout pass of the scenegraph.
| |
| loadData | back to summary |
|---|---|
| protected Properties loadData() Loads the properties file that is storing the SVG path information for each country. This method can be overriden to provide a different, maybe more detailed, data set. However, the default data set used by ControlsFX has to be small in order to keep the distribution small. The structure of the properties file needs to look like this:
AE=M619.87,393.72L620.37,393.57L620.48,394.41L622.67,393.93 ....
AF=M646.88,356.9L649.74,358.2L651.85,357.74L652.44,356.1 ....
......
| |
| removeLocation | back to summary |
|---|---|
| private void removeLocation(WorldMapView. | |