com.alee.laf.label.WebLabelStyle Maven / Gradle / Ivy
/*
* 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.label;
import com.alee.extended.painter.Painter;
import com.alee.global.StyleConstants;
import java.awt.*;
/**
* WebLabel style class.
*
* @author Mikle Garin
*/
public final class WebLabelStyle
{
/**
* Label margin.
*/
public static Insets margin = StyleConstants.emptyMargin;
/**
* Label background painter.
* If set it will override WebLaF styling.
*/
public static Painter painter = null;
/**
* Label background color.
*/
public static Color backgroundColor = StyleConstants.backgroundColor;
/**
* Draw shade behind the text.
*/
public static boolean drawShade = false;
/**
* Default label shade color.
*/
public static Color shadeColor = new Color ( 200, 200, 200 );
/**
* Default label transparency.
*/
public static Float transparency = null;
/**
* Default label background painter.
*/
public static Painter backgroundPainter = null;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy