Examples of DcLookAndFeel


Examples of net.datacrow.core.objects.DcLookAndFeel

                            false,
                            true));
        getSettings().addSetting(_General,
                new Setting(DcRepository.ValueTypes._LOOKANDFEEL,
                            DcRepository.Settings.stLookAndFeel,
                            new DcLookAndFeel("JTattoo - Mint", "com.jtattoo.plaf.mint.MintLookAndFeel", null, 1),
                            ComponentFactory._LOOKANDFEELSELECTOR,
                            "",
                            "lblLookAndFeel",
                            false,
                            false));       
View Full Code Here

Examples of net.datacrow.core.objects.DcLookAndFeel

    private void fillSystemLFCombo() {
        LookAndFeelInfo[] lafs = UIManager.getInstalledLookAndFeels();
        for (int i = 0; i < lafs.length; i++) {
            LookAndFeelInfo laf = lafs[i];
            if (laf.getName().toLowerCase().indexOf("nimbus") == -1)
                comboSystemLF.addItem(new DcLookAndFeel(laf.getName(), laf.getClassName(), null, DcLookAndFeel._LAF));
        }
    }
View Full Code Here

Examples of net.datacrow.core.objects.DcLookAndFeel

     */
    @Override
    public void setValue(Object o) {
        applyModus = false;
        if (o instanceof DcLookAndFeel) {
            DcLookAndFeel laf = (DcLookAndFeel) o;
            if (laf.getType() == DcLookAndFeel._NONE) {
                checkNoLF.setSelected(true);
            } else {
                comboSystemLF.setSelectedItem(laf);
                checkSystemLF.setSelected(true);
            }
View Full Code Here

Examples of net.datacrow.core.objects.DcLookAndFeel

        }
    }
   
    private void applyLAF() {
        if (applyModus) {
            DcLookAndFeel laf = null;
           
            if (checkNoLF.isSelected())
                laf = DcLookAndFeel.getDisabled();
            else if (checkSystemLF.isSelected())
                laf = (DcLookAndFeel) comboSystemLF.getSelectedItem();
View Full Code Here

Examples of net.datacrow.core.objects.DcLookAndFeel

            JDialog.setDefaultLookAndFeelDecorated(true);
           
            if (defaultLaf == null)
                defaultLaf = UIManager.getLookAndFeel();
           
            DcLookAndFeel laf = DcSettings.getLookAndFeel(DcRepository.Settings.stLookAndFeel);
            if (laf.getType() == DcLookAndFeel._LAF) {
                UIManager.setLookAndFeel(laf.getClassName());
            } else {
                UIManager.setLookAndFeel(defaultLaf);
            }
           
            UIManager.getLookAndFeelDefaults().put("SplitPane.border", null);
View Full Code Here

Examples of net.datacrow.core.objects.DcLookAndFeel

                    String[] lafValues =  StringUtils.getListElements(sValue, "%%");
                    String className = lafValues[0];
                    String fileName = lafValues[1];
                    String name = lafValues[2];
                    int lafType = Integer.valueOf(lafValues[3]).intValue();
                    value = new DcLookAndFeel(name, className, fileName, lafType);
                    break;                   
                case DcRepository.ValueTypes._BIGINTEGER:
                case DcRepository.ValueTypes._LONG:
                    value = Long.valueOf(sValue);
                    break;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.