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

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


                // Left Part
                Icon leftIcon;
                Icon titleIcon = null;
                if (title != null)
                    titleIcon = new TextIcon(tabbedPane, title, TextIcon.ROTATE_NONE) {
                        public void paintIcon(Component c, Graphics g, int x, int y) {
                            Component tabComponent = (Component) accessible.getAccessibleChild(0);

                            boolean isSelected = false;
                            int index = -1;
View Full Code Here


                                         : toolWindow.getTitle();

            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(),
                                                                (anchor == ToolWindowAnchor.LEFT) ? SwingConstants.TOP
                                                                : SwingConstants.BOTTOM);
                anchorLabel = new AnchorLabel(compositeIcon, JLabel.CENTER);
            }
View Full Code Here

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

            if (anchor == ToolWindowAnchor.BOTTOM || anchor == ToolWindowAnchor.TOP) {
                anchorLabel = new AnchorLabel(toolAnchorLabelText, toolWindow.getIcon(), JLabel.CENTER);
                anchorLabel.setName("toolWindow.rb." + toolWindow.getId());
            } else {
                TextIcon textIcon = new TextIcon(container, toolAnchorLabelText, anchor == ToolWindowAnchor.LEFT ? TextIcon.ROTATE_LEFT : TextIcon.ROTATE_RIGHT);
                CompositeIcon compositeIcon = new CompositeIcon(textIcon, toolWindow.getIcon(),
                                                                (anchor == ToolWindowAnchor.LEFT) ? SwingConstants.TOP
                                                                : SwingConstants.BOTTOM);
                anchorLabel = new AnchorLabel(compositeIcon, JLabel.CENTER);
                anchorLabel.setName("toolWindow.rb." + toolWindow.getId());
View Full Code Here

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

                                                                  : toolWindow.getTitle();

            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(),
                                                                (anchor == ToolWindowAnchor.LEFT) ? SwingConstants.TOP
                                                                : SwingConstants.BOTTOM);
                anchorLabel = new AnchorLabel(compositeIcon, JLabel.CENTER);
            }
View Full Code Here

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

                                                                  : toolWindow.getTitle();

            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);
View Full Code Here

            if (anchor == ToolWindowAnchor.BOTTOM || anchor == ToolWindowAnchor.TOP) {
                anchorLabel.setIcon(toolWindow.getIcon());
                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.TextIcon

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.