public void presetTileParameters(final SkinType SKIN_TYPE) {
        reInit();
        switch (SKIN_TYPE) {
            case SMOOTHED_CHART:
                break;
            case BAR_CHART:
                setItemSorting(ItemSorting.DESCENDING);
                break;
            case CLOCK:
                break;
            case GAUGE:
                setAnimated(true);
                setTickLabelDecimals(0);
                setBarColor(FOREGROUND);
                setThresholdColor(Tile.BLUE);
                setThresholdVisible(true);
                break;
            case GAUGE2:
                setStartAngle(330);
                setAngleRange(240);
                setAnimated(true);
                setTickLabelDecimals(0);
                setBarColor(Tile.BLUE);
                setBarBackgroundColor(BACKGROUND.brighter());
                break;
            case HIGH_LOW:
                setMaxValue(Double.MAX_VALUE);
                setDecimals(2);
                setTickLabelDecimals(1);
                break;
            case PERCENTAGE:
                setAnimated(true);
                setThresholdColor(GRAY);
                setTickLabelDecimals(0);
                break;
            case PLUS_MINUS:
                break;
            case SLIDER:
                setBarBackgroundColor(Tile.FOREGROUND);
                break;
            case SPARK_LINE:
                setTextVisible(false);
                setAnimated(false);
                setAveragingEnabled(true);
                setAveragingPeriod(10);
                setDecimals(0);
                setTickLabelDecimals(0);
                break;
            case SWITCH:
                break;
            case WORLDMAP:
                setPrefSize(380, 250);
                break;
            case TIMER_CONTROL:
                setSectionsVisible(true);
                setHighlightSections(true);
                setCheckSectionsForValue(true);
                setHourTickMarksVisible(true);
                setMinuteTickMarksVisible(true);
                break;
            case NUMBER:
                break;
            case TEXT:
                break;
            case TIME:
                break;
            case CUSTOM:
                break;
            case CUSTOM_SCROLLABLE:
                break;
            case LEADER_BOARD:
                setItemSorting(ItemSorting.DESCENDING);
                break;
            case MAP:
                break;
            case RADIAL_CHART:
                setAnimated(true);
                break;
            case DONUT_CHART:
                setItemSorting(ItemSorting.DESCENDING);
                setAnimated(true);
                break;
            case CIRCULAR_PROGRESS:
                setBarBackgroundColor(getBackgroundColor().brighter());
                setAnimated(true);
                break;
            case CIRCLE_PROGRESS_NUM:
                setBarBackgroundColor(getBackgroundColor().brighter());
                setAnimated(true);
                break;
            case STOCK:
                setAnimated(false);
                setAveragingPeriod(720);
                setAveragingEnabled(true);
                setDecimals(2);
                setTickLabelDecimals(2);
                setThresholdColor(GRAY);
                setTextVisible(false);
                break;
            case GAUGE_SPARK_LINE:
                setBarColor(Tile.BLUE);
                setBarBackgroundColor(Tile.BACKGROUND.brighter());
                setAngleRange(270);
                break;
            case SMOOTH_AREA_CHART:
                setSmoothing(true);
                setChartType(ChartType.AREA);
                break;
            case RADAR_CHART:
                break;
            case RADAR_NODE_CHART:
                break;
            case COUNTRY:
                break;
            case CHARACTER:
                break;
            case FLIP:
                break;
            case SWITCH_SLIDER:
                setBarBackgroundColor(Tile.FOREGROUND);
                break;
            case DATE:
                setTitleAlignment(TextAlignment.CENTER);
                setTextAlignment(TextAlignment.CENTER);
                break;
            case CALENDAR:
                setTitleAlignment(TextAlignment.CENTER);
                setTextAlignment(TextAlignment.CENTER);
                break;
            case SUNBURST:
                break;
            case MATRIX:
                break;
            case MATRIX_ICON:
                break;
            case RADIAL_PERCENTAGE:
                setBarBackgroundColor(getBackgroundColor().brighter());
                setAnimated(true);
                break;
            case STATUS:
                setDescriptionAlignment(Pos.TOP_CENTER);
                break;
            case BAR_GAUGE:
                setBarBackgroundColor(Tile.BACKGROUND.brighter());
                setBarColor(Tile.BLUE);
                setAngleRange(180);
                setTickLabelDecimals(0);
                break;
            case IMAGE:
                setTextAlignment(TextAlignment.CENTER);
                break;
            case IMAGE_COUNTER:
                setTextAlignment(TextAlignment.LEFT);
                setDecimals(0);
                break;
            case TIMELINE:
                setDataPointsVisible(true);
                setTextVisible(false);
                setAnimated(false);
                setAveragingEnabled(true);
                setAveragingPeriod(Helper.calcNumberOfDatapointsForPeriod(getTimePeriod(), getTimePeriodResolution()));
                setDecimals(0);
                setTickLabelDecimals(0);
                break;
            case CLUSTER_MONITOR:
                setTitle("");
                setTextVisible(false);
                setUnit(Helper.PERCENTAGE);
                setAnimated(false);
                setDecimals(0);
                setBarColor(BLUE);
                break;
            case LED:
                setActiveColor(Bright.GREEN);
                break;
            case COUNTDOWN_TIMER:
                setBarBackgroundColor(getBackgroundColor().brighter());
                setAnimated(false);
                setTimePeriod(java.time.Duration.ofSeconds(60));
                break;
            case CYCLE_STEP:
                break;
            case COLOR:
                setForegroundColor(Color.WHITE);
                setUnit("\u0025");
                setDecimals(0);
                setBarBackgroundColor(Tile.BACKGROUND);
                break;
            case FLUID:
                break;
            case FIRE_SMOKE:
                break;
            case TURNOVER:
                setTextAlignment(TextAlignment.CENTER);
                setImageMask(ImageMask.ROUND);
                break;
            case RADIAL_DISTRIBUTION:
                setStartAngle(330);
                setAngleRange(240);
                setAnimated(false);
                setTickLabelDecimals(0);
                setBarBackgroundColor(BACKGROUND.brighter());
                break;
            default:
                break;
        }
    }
Calling this method will stop all threads. This is needed when using
JavaFX on mobile devices when the device goes to sleep mode.
src/main/java/eu/hansolo/tilesfx/Tile.java