public class SVGButton extends Object
Modifier and Type | Field and Description |
---|---|
private CSSClass |
butcss
Class for the buttons main CSS
|
static String |
DEFAULT_BUTTON_COLOR
Default button color
|
static String |
DEFAULT_TEXT_COLOR
Default text color
|
private double |
h
Height
|
private double |
r
Corner rounding factor.
|
private String |
title
Button title, optional
|
private CSSClass |
titlecss
Title styling
|
private double |
w
Width
|
private double |
x
X position
|
private double |
y
Y position
|
Constructor and Description |
---|
SVGButton(double x,
double y,
double w,
double h,
double r)
Constructor.
|
public static final String DEFAULT_BUTTON_COLOR
public static final String DEFAULT_TEXT_COLOR
private double x
private double y
private double w
private double h
private double r
private CSSClass butcss
private String title
private CSSClass titlecss
public SVGButton(double x, double y, double w, double h, double r)
x
- Position Xy
- Position Yw
- Widthh
- Heightr
- Rounded radiusCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.