public class IntegerProperty extends StyleProperty
Modifier and Type | Field and Description |
---|---|
int |
fallback |
int |
max |
int |
min |
int |
step |
BACKGROUND, BORDER, COLOR, ENDING, FOREGROUND, HEIGHT, isCore, key, LINEWIDTH, name, PATTERN, SHAPE, TEXT, WIDTH
Modifier | Constructor and Description |
---|---|
protected |
IntegerProperty(String name,
boolean isCore,
int min,
int max,
int step,
int fallback) |
protected |
IntegerProperty(String name,
int min,
int max,
int step,
int fallback) |
Modifier and Type | Method and Description |
---|---|
String |
getString(Object value) |
Object |
getValue(String s) |
createColorProperty, merge
public final int fallback
public final int min
public final int max
public final int step
protected IntegerProperty(String name, boolean isCore, int min, int max, int step, int fallback)
protected IntegerProperty(String name, int min, int max, int step, int fallback)
public Object getValue(String s)
getValue
in class StyleProperty
public String getString(Object value)
getString
in class StyleProperty
Copyright © 2005–2020. All rights reserved.