Package org.noos.xing.mydoggy.plaf.ui.cmp.border

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.border.LineBorder


    public static class ToolWindowCmpContainerComponentCustomizer implements ObjectCustomizer<Component> {

        public Component customize(Component component, Context context) {
            JPanel panel = (JPanel) component;
            panel.setBorder(new LineBorder(Color.GRAY, 1, true, 3, 3));
           
            return panel;
        }
View Full Code Here


    }

    public void installUI(JComponent c) {
        super.installUI(c);

        labelBorder = new LineBorder(Color.GRAY, 1, true, 3, 3);
        c.setBorder(labelBorder);
    }
View Full Code Here

        };
        button.setOpaque(false);
        button.setContentAreaFilled(false);
        button.setForeground(Color.WHITE);
        button.setFocusPainted(false);
        button.setBorder(new LineBorder(Color.WHITE));
        button.addActionListener(new ViewContextAction(viewContext, inContextKey));

        return button;
    }
View Full Code Here

    public void installUI(JComponent c) {
        super.installUI(c);

        this.label = c;
        labelBorder = new LineBorder(resourceManager.getColor(MyDoggyKeySpace.RAB_MOUSE_OUT_BORDER), 1, true, 3, 3);
        c.setBorder(labelBorder);
        c.setForeground(resourceManager.getColor(MyDoggyKeySpace.RAB_FOREGROUND));

        SwingUtil.registerDragGesture(c, new RepresentativeAnchorDragGesture(descriptor, label));
    }
View Full Code Here

        preferencePanel.setBorder(new TitledBorder("Preferences"));

        uisContainer = new PanelViewContainer() {
            protected void initComponents() {
                super.initComponents();
                ((JComponent) panel).setBorder(new LineBorder(Color.DARK_GRAY));
            }
        };

        preferencePanel.add(uisContainer.getContainer(), "0,2,FULL,FULL");
        preferencePanel.add(new UIsSelectorView(viewContext).getComponent(), "0,0,FULL,FULL");
View Full Code Here

            super(viewContext);
        }

        protected Component initComponent() {
            JPanel panel = new JPanel(new ExtendedTableLayout(new double[][]{{-1},{-1}}));
            panel.setBorder(new LineBorder(Color.DARK_GRAY));

            this.editorPane = new JEditorPane();
            editorPane.setEditorKit(new HTMLEditorKit());
            editorPane.setEditable(false);
View Full Code Here


        typeDescriptorContainer = new PanelViewContainer() {
            protected void initComponents() {
                super.initComponents();
                ((JComponent) panel).setBorder(new LineBorder(Color.DARK_GRAY));
            }
        };

        preferencePanel.add(typeDescriptorContainer.getContainer(), "0,2,FULL,FULL");
        preferencePanel.add(new TypeDescriptorSelectorView(viewContext).getComponent(), "0,0,FULL,FULL");
View Full Code Here

        };
        button.setOpaque(false);
        button.setContentAreaFilled(false);
        button.setForeground(Color.WHITE);
        button.setFocusPainted(false);
        button.setBorder(new LineBorder(Color.WHITE));
        button.addActionListener(new ViewContextAction(viewContext, inContextKey));

        return button;
    }
View Full Code Here

    protected class TypeDescriptorContainer extends PanelViewContainer {

        protected void initComponents() {
            super.initComponents();
            ((JComponent) panel).setBorder(new LineBorder(Color.DARK_GRAY));
        }
View Full Code Here

        this.flasingDuration = -1;
        this.flashingAnimBackStart = new MutableColor(UIManager.getColor(MyDoggyKeySpace.TWRA_BACKGROUND_INACTIVE));
        this.flashingAnimBackEnd = new MutableColor(UIManager.getColor(MyDoggyKeySpace.TWRA_BACKGROUND_INACTIVE));

        // Basic settings
        labelBorder = new LineBorder(UIManager.getColor(MyDoggyKeySpace.TWRA_MOUSE_OUT_BORDER), 1, true, 3, 3);

        c.setBorder(labelBorder);
        c.setForeground(UIManager.getColor(MyDoggyKeySpace.TWRA_FOREGROUND));

        String oldText = c.getText();
View Full Code Here

TOP

Related Classes of org.noos.xing.mydoggy.plaf.ui.cmp.border.LineBorder

Copyright © 2018 www.massapicom. 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.