public void setSkinType(final SkinType SKIN_TYPE) {
        skinType = SKIN_TYPE;
        switch (SKIN_TYPE) {
            case SMOOTHED_CHART     : setSkin(new SmoothedChartTileSkin(Tile.this)); break;
            case BAR_CHART          : setSkin(new BarChartTileSkin(Tile.this)); break;
            case CLOCK              : setSkin(new ClockTileSkin(Tile.this)); break;
            case GAUGE              : setSkin(new GaugeTileSkin(Tile.this)); break;
            case GAUGE2             : setSkin(new Gauge2TileSkin(Tile.this)); break;
            case HIGH_LOW           : setSkin(new HighLowTileSkin(Tile.this)); break;
            case PERCENTAGE         : setSkin(new PercentageTileSkin(Tile.this)); break;
            case PLUS_MINUS         : setSkin(new PlusMinusTileSkin(Tile.this)); break;
            case SLIDER             : setSkin(new SliderTileSkin(Tile.this)); break;
            case SPARK_LINE         : setSkin(new SparkLineTileSkin(Tile.this)); break;
            case SWITCH             : setSkin(new SwitchTileSkin(Tile.this)); break;
            case WORLDMAP           : setSkin(new WorldMapTileSkin(Tile.this)); break;
            case TIMER_CONTROL      : setSkin(new TimerControlTileSkin(Tile.this)); break;
            case NUMBER             : setSkin(new NumberTileSkin(Tile.this)); break;
            case TEXT               : setSkin(new TextTileSkin(Tile.this)); break;
            case TIME               : setSkin(new TimeTileSkin(Tile.this)); break;
            case CUSTOM             : setSkin(new CustomTileSkin(Tile.this)); break;
            case CUSTOM_SCROLLABLE  : setSkin(new CustomScrollableTileSkin(Tile.this)); break;
            case LEADER_BOARD       : setSkin(new LeaderBoardTileSkin(Tile.this)); break;
            case RADIAL_CHART       : setSkin(new RadialChartTileSkin(Tile.this)); break;
            case DONUT_CHART        : setSkin(new DonutChartTileSkin(Tile.this)); break;
            case CIRCULAR_PROGRESS  : setSkin(new CircularProgressTileSkin(Tile.this)); break;
            case CIRCLE_PROGRESS_NUM: setSkin(new CircleProgressTileNumberSkin(Tile.this)); break;
            case STOCK              : setSkin(new StockTileSkin(Tile.this)); break;
            case GAUGE_SPARK_LINE   : setSkin(new GaugeSparkLineTileSkin(Tile.this)); break;
            case SMOOTH_AREA_CHART  : setSkin(new SmoothAreaChartTileSkin(Tile.this)); break;
            case RADAR_CHART        : setSkin(new RadarChartTileSkin(Tile.this)); break;
            case RADAR_NODE_CHART   : setSkin(new RadarNodeChartTileSkin(Tile.this)); break;
            case COUNTRY            : setSkin(new CountryTileSkin(Tile.this)); break;
            case CHARACTER          : setSkin(new CharacterTileSkin(Tile.this)); break;
            case FLIP               : setSkin(new FlipTileSkin(Tile.this)); break;
            case SWITCH_SLIDER      : setSkin(new SwitchSliderTileSkin(Tile.this)); break;
            case DATE               : setSkin(new DateTileSkin(Tile.this)); break;
            case CALENDAR           : setSkin(new CalendarTileSkin(Tile.this)); break;
            case SUNBURST           : setSkin(new SunburstChartTileSkin(Tile.this)); break;
            case MATRIX             : setSkin(new MatrixTileSkin(Tile.this)); break;
            case MATRIX_ICON        : setSkin(new MatrixIconTileSkin(Tile.this)); break;
            case RADIAL_PERCENTAGE  : setSkin(new RadialPercentageTileSkin(Tile.this)); break;
            case STATUS             : setSkin(new StatusTileSkin(Tile.this)); break;
            case BAR_GAUGE          : setSkin(new BarGaugeTileSkin(Tile.this)); break;
            case IMAGE              : setSkin(new ImageTileSkin(Tile.this)); break;
            case IMAGE_COUNTER      : setSkin(new ImageCounterTileSkin(Tile.this)); break;
            case TIMELINE           : setSkin(new TimelineTileSkin(Tile.this)); break;
            case CLUSTER_MONITOR    : setSkin(new ClusterMonitorTileSkin(Tile.this)); break;
            case LED                : setSkin(new LedTileSkin(Tile.this)); break;
            case COUNTDOWN_TIMER    : setSkin(new CountdownTimerTileSkin(Tile.this)); break;
            case CYCLE_STEP         : setSkin(new CycleStepTileSkin(Tile.this)); break;
            case COLOR              : setSkin(new ColorTileSkin(Tile.this)); break;
            case FLUID              : setSkin(new FluidTileSkin(Tile.this)); break;
            case FIRE_SMOKE         : setSkin(new FireSmokeTileSkin(Tile.this)); break;
            case TURNOVER           : setSkin(new TurnoverTileSkin(Tile.this)); break;
            case RADIAL_DISTRIBUTION: setSkin(new RadialDistributionTileSkin(Tile.this)); break;
            default                 : setSkin(new TileSkin(Tile.this)); break;
        }
        fireTileEvent(RESIZE_EVENT);
        presetTileParameters(SKIN_TYPE);
    }
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