|
|
|
@ -24,6 +24,8 @@ import java.beans.IntrospectionException;
|
|
|
|
|
*/ |
|
|
|
|
public class XRHIframe extends XWidgetCreator { |
|
|
|
|
|
|
|
|
|
private UITextField address; |
|
|
|
|
|
|
|
|
|
public XRHIframe(RHIframe widget, Dimension initSize) { |
|
|
|
|
super(widget, initSize); |
|
|
|
|
} |
|
|
|
@ -47,7 +49,7 @@ public class XRHIframe extends XWidgetCreator {
|
|
|
|
|
protected JComponent initEditor() { |
|
|
|
|
if (editor == null) { |
|
|
|
|
editor = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
UITextField address = new UITextField(showDescriptionText()); |
|
|
|
|
address = new UITextField(showDescriptionText()); |
|
|
|
|
editor.add(address, BorderLayout.NORTH); |
|
|
|
|
JPanel contentPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
|
contentPane.setBackground(Color.white); |
|
|
|
@ -85,6 +87,12 @@ public class XRHIframe extends XWidgetCreator {
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void paint(Graphics g) { |
|
|
|
|
address.setText(showDescriptionText()); |
|
|
|
|
super.paint(g); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public String getIconPath() { |
|
|
|
|
return "/com/fr/plugin/form/widget/images/rh_iframe.png"; |
|
|
|
|