|
|
|
@ -35,6 +35,7 @@ public class ChartTextAttrPane extends BasicPane {
|
|
|
|
|
private UIToggleButton italic; |
|
|
|
|
private UIColorButton fontColor; |
|
|
|
|
public static Integer[] FONT_SIZES = new Integer[FONT_END - FONT_START + 1]; |
|
|
|
|
|
|
|
|
|
static { |
|
|
|
|
for (int i = FONT_START; i <= FONT_END; i++) { |
|
|
|
|
FONT_SIZES[i - FONT_START] = i; |
|
|
|
@ -88,6 +89,10 @@ public class ChartTextAttrPane extends BasicPane {
|
|
|
|
|
populate(frFont); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void populate(TextAttr textAttr, boolean autoFont) { |
|
|
|
|
populate(textAttr); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void update(TextAttr textAttr) { |
|
|
|
|
if (textAttr == null) { |
|
|
|
|
textAttr = new TextAttr(); |
|
|
|
|