|
|
|
@ -29,11 +29,10 @@ public class ChartTextAttrPane extends BasicPane {
|
|
|
|
|
protected UIToggleButton bold; |
|
|
|
|
protected UIToggleButton italic; |
|
|
|
|
protected UIColorButton fontColor; |
|
|
|
|
|
|
|
|
|
public static Integer[] Font_Sizes = {new Integer(6), new Integer(8), new Integer(9), new Integer(10), new Integer(11), new Integer(12), new Integer(14), new Integer(16), |
|
|
|
|
new Integer(18), new Integer(20), new Integer(22), new Integer(24), new Integer(26), new Integer(28), new Integer(36), new Integer(48), new Integer(72)}; |
|
|
|
|
public static Integer[] Font_Sizes = new Integer[67]; |
|
|
|
|
|
|
|
|
|
public ChartTextAttrPane() { |
|
|
|
|
setFont_Sizes(); |
|
|
|
|
initComponents(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -45,6 +44,11 @@ public class ChartTextAttrPane extends BasicPane {
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
public static void setFont_Sizes() { |
|
|
|
|
for (int i =0; i < 67;i++){ |
|
|
|
|
Font_Sizes [i]= new Integer(i+6); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void populate(TextAttr textAttr) { |
|
|
|
|
if (textAttr == null) { |
|
|
|
|