Browse Source

修改代码格式

master
mengao 7 years ago
parent
commit
a6770fbc2f
  1. 3
      designer_base/src/com/fr/design/hyperlink/AbstractHyperLinkPane.java
  2. 1
      designer_base/src/com/fr/design/hyperlink/AbstractHyperNorthPane.java
  3. 1
      designer_base/src/com/fr/design/hyperlink/WebHyperlinkPane.java
  4. 3
      designer_chart/src/com/fr/design/chart/series/SeriesCondition/impl/ChartHyperPoplinkPane.java
  5. 1
      designer_chart/src/com/fr/design/chart/series/SeriesCondition/impl/FormHyperlinkPane.java
  6. 7
      designer_chart/src/com/fr/design/mainframe/chart/gui/other/ChartInteractivePane.java

3
designer_base/src/com/fr/design/hyperlink/AbstractHyperLinkPane.java

@ -38,7 +38,8 @@ public abstract class AbstractHyperLinkPane<T> extends FurtherBasicBeanPane<T> {
return ob instanceof JavaScript; return ob instanceof JavaScript;
} }
public void reset() {} public void reset() {
}
protected int getChartParaType() { protected int getChartParaType() {
return hyperLinkEditorMap != null ? ParameterTableModel.CHART_NORMAL_USE : ParameterTableModel.NO_CHART_USE; return hyperLinkEditorMap != null ? ParameterTableModel.CHART_NORMAL_USE : ParameterTableModel.NO_CHART_USE;

1
designer_base/src/com/fr/design/hyperlink/AbstractHyperNorthPane.java

@ -78,6 +78,7 @@ public abstract class AbstractHyperNorthPane<T extends Hyperlink> extends BasicB
this.add(this.setFootPanel(), BorderLayout.SOUTH); this.add(this.setFootPanel(), BorderLayout.SOUTH);
} }
protected String[] getTargetFrames() { protected String[] getTargetFrames() {
return new String[]{Inter.getLocText("Hyperlink-New_Window"), Inter.getLocText("FR-Hyperlink_Dialog"), Inter.getLocText("Hyperlink-Self_Window")}; return new String[]{Inter.getLocText("Hyperlink-New_Window"), Inter.getLocText("FR-Hyperlink_Dialog"), Inter.getLocText("Hyperlink-Self_Window")};
} }

1
designer_base/src/com/fr/design/hyperlink/WebHyperlinkPane.java

@ -95,6 +95,7 @@ public class WebHyperlinkPane extends AbstractHyperLinkPane<WebHyperlink> {
protected boolean needRenamePane() { protected boolean needRenamePane() {
return false; return false;
} }
protected int getChartParaType() { protected int getChartParaType() {
return ParameterTableModel.CHART_NORMAL_USE; return ParameterTableModel.CHART_NORMAL_USE;
} }

3
designer_chart/src/com/fr/design/chart/series/SeriesCondition/impl/ChartHyperPoplinkPane.java

@ -21,6 +21,7 @@ import java.util.HashMap;
/** /**
* 类说明: 图表超链 -- 弹出 悬浮窗. * 类说明: 图表超链 -- 弹出 悬浮窗.
*
* @author kunsnat E-mail:kunsnat@gmail.com * @author kunsnat E-mail:kunsnat@gmail.com
* @version 创建时间2011-12-28 上午10:41:39 * @version 创建时间2011-12-28 上午10:41:39
*/ */
@ -32,7 +33,6 @@ public class ChartHyperPoplinkPane extends AbstractHyperLinkPane<ChartHyperPopli
private ChartComponent chartComponent; private ChartComponent chartComponent;
public ChartHyperPoplinkPane() { public ChartHyperPoplinkPane() {
this(null, false); this(null, false);
} }
@ -103,6 +103,7 @@ public class ChartHyperPoplinkPane extends AbstractHyperLinkPane<ChartHyperPopli
/** /**
* 超链数组HyperlinkGoup切换时 updateBean. * 超链数组HyperlinkGoup切换时 updateBean.
*
* @return 返回的弹出超链. * @return 返回的弹出超链.
*/ */
public ChartHyperPoplink updateBean() { public ChartHyperPoplink updateBean() {

1
designer_chart/src/com/fr/design/chart/series/SeriesCondition/impl/FormHyperlinkPane.java

@ -96,6 +96,7 @@ public class FormHyperlinkPane extends AbstractHyperLinkPane<FormHyperlinkProvid
protected boolean needRenamePane() { protected boolean needRenamePane() {
return false; return false;
} }
protected int getChartParaType() { protected int getChartParaType() {
return ParameterTableModel.CHART_NORMAL_USE; return ParameterTableModel.CHART_NORMAL_USE;
} }

7
designer_chart/src/com/fr/design/mainframe/chart/gui/other/ChartInteractivePane.java

@ -131,6 +131,7 @@ public class ChartInteractivePane extends BasicScrollPane<Chart> implements UIOb
private static final int SIZEX = 258; private static final int SIZEX = 258;
private static final int SIZEY = 209; private static final int SIZEY = 209;
private static final int DET = 20; private static final int DET = 20;
public ChartInteractivePane(ChartOtherPane parent) { public ChartInteractivePane(ChartOtherPane parent) {
super(); super();
this.parent = parent; this.parent = parent;
@ -138,6 +139,7 @@ public class ChartInteractivePane extends BasicScrollPane<Chart> implements UIOb
/** /**
* 界面标题. * 界面标题.
*
* @return 返回标题. * @return 返回标题.
*/ */
public String title4PopupWindow() { public String title4PopupWindow() {
@ -260,6 +262,7 @@ public class ChartInteractivePane extends BasicScrollPane<Chart> implements UIOb
/** /**
* 反正后面还有relayout,这边init一下就好了 保证所有的init 加入界面 并且加载入事件. * 反正后面还有relayout,这边init一下就好了 保证所有的init 加入界面 并且加载入事件.
*
* @return * @return
*/ */
private JPanel initPaneWithListener() { private JPanel initPaneWithListener() {
@ -293,7 +296,6 @@ public class ChartInteractivePane extends BasicScrollPane<Chart> implements UIOb
} }
/** /**
* 全部初始化, 对所有的界面 都加入, 然后会加载事件响应. 后续再relayout. * 全部初始化, 对所有的界面 都加入, 然后会加载事件响应. 后续再relayout.
*/ */
@ -799,7 +801,8 @@ public class ChartInteractivePane extends BasicScrollPane<Chart> implements UIOb
noPara = false; noPara = false;
} }
if (isAddressName.isSelected()) { if (isAddressName.isSelected()) {
contents += ChartConstants.BREAKLINE_PARA + ChartConstants.ADDRESS_NAME_PARA;; contents += ChartConstants.BREAKLINE_PARA + ChartConstants.ADDRESS_NAME_PARA;
;
noPara = false; noPara = false;
} }
if (noPara) { if (noPara) {

Loading…
Cancel
Save