All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alee.laf.slider.WebSliderStyle Maven / Gradle / Ivy

There is a newer version: 1.2.14
Show newest version
/*
 * This file is part of WebLookAndFeel library.
 *
 * WebLookAndFeel library is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * WebLookAndFeel library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with WebLookAndFeel library.  If not, see .
 */

package com.alee.laf.slider;

import com.alee.global.StyleConstants;

import java.awt.*;

/**
 * User: mgarin Date: 11/15/11 Time: 1:46 PM
 */

public final class WebSliderStyle
{
    /**
     * Top track background color
     */
    public static Color trackBgTop = StyleConstants.topDarkBgColor;

    /**
     * Bottom track background color
     */
    public static Color trackBgBottom = StyleConstants.bottomBgColor;

    /**
     * Track height
     */
    public static int trackHeight = 9;

    /**
     * Track round
     */
    public static int trackRound = StyleConstants.bigRound;

    /**
     * Track shade width
     */
    public static int trackShadeWidth = StyleConstants.shadeWidth;

    /**
     * Should draw progress inside slider track
     */
    public static boolean drawProgress = true;

    /**
     * Progress round
     */
    public static int progressRound = StyleConstants.smallRound;

    /**
     * Progress shade width
     */
    public static int progressShadeWidth = StyleConstants.shadeWidth;

    /**
     * Should draw slider thumb
     */
    public static boolean drawThumb = true;

    /**
     * Top gripper background color
     */
    public static Color thumbBgTop = StyleConstants.topBgColor;

    /**
     * Bottom gripper background color
     */
    public static Color thumbBgBottom = StyleConstants.bottomBgColor;

    /**
     * Gripper width
     */
    public static int thumbWidth = 8;

    /**
     * Gripper height
     */
    public static int thumbHeight = 18;

    /**
     * Gripper round
     */
    public static int thumbRound = StyleConstants.smallRound;

    /**
     * Gripper shade width
     */
    public static int thumbShadeWidth = StyleConstants.shadeWidth;

    /**
     * Should use angled gripper
     */
    public static boolean angledThumb = true;

    /**
     * Should the angle be sharp
     */
    public static boolean sharpThumbAngle = true;

    /**
     * Gripper angle length
     */
    public static int thumbAngleLength = 4;

    /**
     * Should animate component
     */
    public static boolean animated = StyleConstants.animate;

    /**
     * Dark component border only on mouseover
     */
    public static boolean rolloverDarkBorderOnly = StyleConstants.rolloverDarkBorderOnly;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy