Package org.noos.xing.mydoggy.plaf.ui.icons

Examples of org.noos.xing.mydoggy.plaf.ui.icons.CompositeIcon


            if (anchor == ToolWindowAnchor.BOTTOM || anchor == ToolWindowAnchor.TOP) {
                anchorLabel = new AnchorLabel(toolAnchorLabelName, toolWindow.getIcon(), JLabel.CENTER);
            } else {
                TextIcon textIcon = new TextIcon(container, toolAnchorLabelName, anchor == ToolWindowAnchor.LEFT ? TextIcon.ROTATE_LEFT : TextIcon.ROTATE_RIGHT);
                CompositeIcon compositeIcon = new CompositeIcon(textIcon, toolWindow.getIcon());
                anchorLabel = new AnchorLabel(compositeIcon, JLabel.CENTER);
            }

            anchorLabel.setName(toolAnchorLabelName);
            anchorLabel.setUI(createLabelUI());
View Full Code Here


                anchorLabel.setText(toolAnchorLabelName);
            } else {
                TextIcon textIcon = new TextIcon(((TextIcon) ((CompositeIcon) anchorLabel.getIcon()).getIcon1()).getComponent(),
                                                 toolAnchorLabelName,
                                                 anchor == ToolWindowAnchor.LEFT ? TextIcon.ROTATE_LEFT : TextIcon.ROTATE_RIGHT);
                CompositeIcon compositeIcon = new CompositeIcon(textIcon, toolWindow.getIcon());
                anchorLabel.setText(null);
                anchorLabel.setIcon(compositeIcon);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.noos.xing.mydoggy.plaf.ui.icons.CompositeIcon

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.