|
|
@ -96,7 +96,7 @@ public class DataLabelPane extends TooltipContentsPane { |
|
|
|
} |
|
|
|
} |
|
|
|
delimiterBox.setPreferredSize(new Dimension(70, 20)); |
|
|
|
delimiterBox.setPreferredSize(new Dimension(70, 20)); |
|
|
|
JPanel boxPane = FRGUIPaneFactory.createBoxFlowInnerContainer_S_Pane(); |
|
|
|
JPanel boxPane = FRGUIPaneFactory.createBoxFlowInnerContainer_S_Pane(); |
|
|
|
boxPane.add(new UILabel(Inter.getLocText("Form-Delimiter") + ":")); |
|
|
|
boxPane.add(new UILabel(Inter.getLocText("FR-Designer_Dismenber") + ":")); |
|
|
|
boxPane.add(delimiterBox); |
|
|
|
boxPane.add(delimiterBox); |
|
|
|
return boxPane; |
|
|
|
return boxPane; |
|
|
|
} |
|
|
|
} |
|
|
@ -111,34 +111,9 @@ public class DataLabelPane extends TooltipContentsPane { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected JPanel createJPanel4Position() { |
|
|
|
protected JPanel createJPanel4Position() { |
|
|
|
// 标签位置:上下左右中.
|
|
|
|
return null; |
|
|
|
bottomButton = new UIRadioButton(Inter.getLocText("StyleAlignment-Bottom")); |
|
|
|
|
|
|
|
leftButton = new UIRadioButton(Inter.getLocText("StyleAlignment-Left")); |
|
|
|
|
|
|
|
rigtButton = new UIRadioButton(Inter.getLocText("StyleAlignment-Right")); |
|
|
|
|
|
|
|
topButton = new UIRadioButton(Inter.getLocText("StyleAlignment-Top")); |
|
|
|
|
|
|
|
centerButton = new UIRadioButton(Inter.getLocText("Center")); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ButtonGroup bg = new ButtonGroup(); |
|
|
|
|
|
|
|
bg.add(bottomButton); |
|
|
|
|
|
|
|
bg.add(leftButton); |
|
|
|
|
|
|
|
bg.add(rigtButton); |
|
|
|
|
|
|
|
bg.add(topButton); |
|
|
|
|
|
|
|
bg.add(centerButton); |
|
|
|
|
|
|
|
topButton.setSelected(true); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JPanel buttonPane = FRGUIPaneFactory.createLeftFlowZeroGapBorderPane(); |
|
|
|
|
|
|
|
buttonPane.add(new UILabel(Inter.getLocText(new String[]{"Label", "Layout"}) + ":")); |
|
|
|
|
|
|
|
buttonPane.add(bottomButton); |
|
|
|
|
|
|
|
buttonPane.add(leftButton); |
|
|
|
|
|
|
|
buttonPane.add(rigtButton); |
|
|
|
|
|
|
|
buttonPane.add(topButton); |
|
|
|
|
|
|
|
buttonPane.add(centerButton); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return buttonPane; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void populate(AttrContents seriesAttrContents) { |
|
|
|
public void populate(AttrContents seriesAttrContents) { |
|
|
|
super.populate(seriesAttrContents); |
|
|
|
super.populate(seriesAttrContents); |
|
|
|
String dataLabel = seriesAttrContents.getSeriesLabel(); |
|
|
|
String dataLabel = seriesAttrContents.getSeriesLabel(); |
|
|
|