|
|
@ -37,11 +37,7 @@ public class FormHyperlinkPane extends AbstractHyperLinkPane<FormHyperlinkProvid |
|
|
|
northPane = new FormHyperlinkNorthPane(needRenamePane()); |
|
|
|
northPane = new FormHyperlinkNorthPane(needRenamePane()); |
|
|
|
JPanel panel = new JPanel(new BorderLayout()); |
|
|
|
JPanel panel = new JPanel(new BorderLayout()); |
|
|
|
panel.add(northPane, BorderLayout.NORTH); |
|
|
|
panel.add(northPane, BorderLayout.NORTH); |
|
|
|
if (needAnimatePane()) { |
|
|
|
addPaneInNorth(panel); |
|
|
|
JPanel animatePane = createAnimateTypeUIButtonGroup(); |
|
|
|
|
|
|
|
animatePane.setBorder(BorderFactory.createEmptyBorder(0, 8, 10, 10)); |
|
|
|
|
|
|
|
panel.add(animatePane, BorderLayout.CENTER); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.add(panel, BorderLayout.NORTH); |
|
|
|
this.add(panel, BorderLayout.NORTH); |
|
|
|
|
|
|
|
|
|
|
@ -50,6 +46,9 @@ public class FormHyperlinkPane extends AbstractHyperLinkPane<FormHyperlinkProvid |
|
|
|
parameterViewPane.setBorder(GUICoreUtils.createTitledBorder(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Parameters"), null)); |
|
|
|
parameterViewPane.setBorder(GUICoreUtils.createTitledBorder(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Parameters"), null)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected void addPaneInNorth(JPanel northPane) { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String title4PopupWindow() { |
|
|
|
public String title4PopupWindow() { |
|
|
|
return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Hyperlink_Form_Link"); |
|
|
|
return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Hyperlink_Form_Link"); |
|
|
@ -71,7 +70,6 @@ public class FormHyperlinkPane extends AbstractHyperLinkPane<FormHyperlinkProvid |
|
|
|
|
|
|
|
|
|
|
|
ParameterProvider[] parameters = formHyperlink.getParameters(); |
|
|
|
ParameterProvider[] parameters = formHyperlink.getParameters(); |
|
|
|
parameterViewPane.populate(parameters); |
|
|
|
parameterViewPane.populate(parameters); |
|
|
|
populateAnimateType(formHyperlink.getAnimateType()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -79,9 +77,6 @@ public class FormHyperlinkPane extends AbstractHyperLinkPane<FormHyperlinkProvid |
|
|
|
FormHyperlinkProvider formHyperlink = StableFactory.getMarkedInstanceObjectFromClass(FormHyperlinkProvider.XML_TAG, FormHyperlinkProvider.class); |
|
|
|
FormHyperlinkProvider formHyperlink = StableFactory.getMarkedInstanceObjectFromClass(FormHyperlinkProvider.XML_TAG, FormHyperlinkProvider.class); |
|
|
|
formHyperlink.setType(getHyperlinkType()); |
|
|
|
formHyperlink.setType(getHyperlinkType()); |
|
|
|
updateBean(formHyperlink); |
|
|
|
updateBean(formHyperlink); |
|
|
|
|
|
|
|
|
|
|
|
formHyperlink.setAnimateType(updateAnimateType()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return formHyperlink; |
|
|
|
return formHyperlink; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -127,8 +122,22 @@ public class FormHyperlinkPane extends AbstractHyperLinkPane<FormHyperlinkProvid |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected boolean needAnimatePane() { |
|
|
|
protected void addPaneInNorth(JPanel northPane) { |
|
|
|
return true; |
|
|
|
JPanel animatePane = createAnimateTypeUIButtonGroup(); |
|
|
|
|
|
|
|
animatePane.setBorder(BorderFactory.createEmptyBorder(0, 8, 10, 10)); |
|
|
|
|
|
|
|
northPane.add(animatePane, BorderLayout.CENTER); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void populateBean(FormHyperlinkProvider formHyperlink) { |
|
|
|
|
|
|
|
super.populateBean(formHyperlink); |
|
|
|
|
|
|
|
populateAnimateType(formHyperlink.getAnimateType()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void updateBean(FormHyperlinkProvider formHyperlink) { |
|
|
|
|
|
|
|
super.updateBean(formHyperlink); |
|
|
|
|
|
|
|
formHyperlink.setAnimateType(updateAnimateType()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|