You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
960 B
30 lines
960 B
package application.res;
|
|
|
|
import javafx.geometry.Insets;
|
|
import javafx.scene.layout.Background;
|
|
import javafx.scene.layout.BackgroundFill;
|
|
import javafx.scene.layout.CornerRadii;
|
|
|
|
public class Backgrounds
|
|
{
|
|
private static CornerRadii cr = CornerRadii.EMPTY;
|
|
private static Insets i = Insets.EMPTY;
|
|
|
|
public static Background lightGreenBackground =new Background(new BackgroundFill(Colors.lightGreen,
|
|
cr , i));
|
|
|
|
public static Background greenBackground =new Background(new BackgroundFill(Colors.green,
|
|
cr , i));
|
|
|
|
public static Background darkBlueBackground =new Background(new BackgroundFill(Colors.darkBlue,
|
|
cr , i));
|
|
|
|
public static Background greyBackground = new Background(new BackgroundFill(Colors.grey,
|
|
cr, i));
|
|
|
|
public static Background lightGreyBackground = new Background(new BackgroundFill(Colors.lightGrey,
|
|
cr, i));
|
|
|
|
public static Background darkGreyBackground = new Background(new BackgroundFill(Colors.darkGrey, cr, i));
|
|
|
|
}
|