(String dialogUIID, String dialogTitleUIID, Layout lm)
| 839 | } |
| 840 | |
| 841 | private void initImpl(String dialogUIID, String dialogTitleUIID, Layout lm) { |
| 842 | super.getContentPane().setUIID(dialogUIID); |
| 843 | super.getTitleComponent().setText(""); |
| 844 | super.getTitleComponent().setVisible(false); |
| 845 | super.getTitleArea().setVisible(false); |
| 846 | super.getTitleArea().setUIID("Container"); |
| 847 | lockStyleImages(getUnselectedStyle()); |
| 848 | titleArea.setVisible(false); |
| 849 | |
| 850 | if (lm != null) { |
| 851 | dialogContentPane = new Container(lm); |
| 852 | } else { |
| 853 | dialogContentPane = new Container(); |
| 854 | } |
| 855 | dialogContentPane.setUIID("DialogContentPane"); |
| 856 | dialogTitle = new Label("", dialogTitleUIID); |
| 857 | super.getContentPane().setLayout(new BorderLayout()); |
| 858 | super.getContentPane().addComponent(BorderLayout.NORTH, dialogTitle); |
| 859 | super.getContentPane().addComponent(BorderLayout.CENTER, dialogContentPane); |
| 860 | super.getContentPane().setScrollable(false); |
| 861 | super.getContentPane().setAlwaysTensile(false); |
| 862 | |
| 863 | super.getStyle().setBgTransparency(0); |
| 864 | super.getStyle().setBgImage(null); |
| 865 | super.getStyle().setBorder(null); |
| 866 | setSmoothScrolling(false); |
| 867 | deregisterAnimated(this); |
| 868 | } |
| 869 | |
| 870 | /// When the dialog is disposed this form will show. Notice that this can only be set after show was invoked! |
| 871 | /// |
no test coverage detected