Examples of Gripper


Examples of com.jidesoft.swing.Gripper

    protected void installMouseHandlers(JComponent c) {
    }

    protected JComponent createNorthPane(JidePopup w) {
        if (w.getGripperLocation() == SwingConstants.NORTH && w.isMovable()) {
            _titlePane = new Gripper();
            _titlePane.setOrientation(SwingConstants.VERTICAL);
            _titlePane.setRolloverEnabled(true);
            _titlePane.setOpaque(true);
            return _titlePane;
        }
View Full Code Here

Examples of com.jidesoft.swing.Gripper

    }


    protected JComponent createSouthPane(JidePopup w) {
        if (w.getGripperLocation() == SwingConstants.SOUTH && w.isMovable()) {
            _titlePane = new Gripper();
            _titlePane.setOrientation(SwingConstants.VERTICAL);
            _titlePane.setRolloverEnabled(true);
            _titlePane.setOpaque(true);
            return _titlePane;
        }
View Full Code Here

Examples of com.jidesoft.swing.Gripper

        }
    }

    protected JComponent createWestPane(JidePopup w) {
        if (w.getGripperLocation() == SwingConstants.WEST && w.isMovable()) {
            _titlePane = new Gripper();
            _titlePane.setOrientation(SwingConstants.HORIZONTAL);
            _titlePane.setRolloverEnabled(true);
            _titlePane.setOpaque(true);
            return _titlePane;
        }
View Full Code Here

Examples of com.jidesoft.swing.Gripper

        }
    }

    protected JComponent createEastPane(JidePopup w) {
        if (w.getGripperLocation() == SwingConstants.EAST && w.isMovable()) {
            _titlePane = new Gripper();
            _titlePane.setOrientation(SwingConstants.HORIZONTAL);
            _titlePane.setRolloverEnabled(true);
            _titlePane.setOpaque(true);
            return _titlePane;
        }
View Full Code Here

Examples of com.jidesoft.swing.Gripper

        }
    }

    @Override
    public void paint(Graphics g, JComponent c) {
        Gripper gripper = (Gripper) c;
        paintBackground(g, gripper);
        int state = gripper.isSelected() ? ThemePainter.STATE_SELECTED : ThemePainter.STATE_DEFAULT;
        if (_gripperPainter == null) {
            getPainter().paintGripper(c, g, new Rectangle(0, 0, c.getWidth(), c.getHeight()), gripper.getOrientation(), state);
        }
        else {
            _gripperPainter.paint(c, g, new Rectangle(0, 0, c.getWidth(), c.getHeight()), gripper.getOrientation(), state);
        }
    }
View Full Code Here

Examples of com.jidesoft.swing.Gripper

        return getPreferredSize(c);
    }

    @Override
    public Dimension getMaximumSize(JComponent c) {
        Gripper gripper = (Gripper) c;
        if (gripper.getOrientation() == SwingConstants.HORIZONTAL)
            return new Dimension(_size, c.getParent().getHeight());
        else
            return new Dimension(c.getParent().getWidth(), _size);
    }
View Full Code Here

Examples of com.jidesoft.swing.Gripper

        return new AquaGripperUI();
    }

    @Override
    public void paint(Graphics g, JComponent c) {
        Gripper gripper = (Gripper) c;
        paintBackground(g, gripper);
        getPainter().paintGripper(c, g, new Rectangle(0, 0, c.getWidth(), c.getHeight()), gripper.getOrientation(), 0);
    }
View Full Code Here

Examples of com.publicobject.misc.swing.Gripper

            nameLabel.setBorder(BorderFactory.createEmptyBorder(0, 3, 0, 3));
            nameLabel.setForeground(AmazonBrowser.AMAZON_TAB_LIGHT_BEIGE);
            nameLabel.setFont(nameLabel.getFont().deriveFont(8));

            gripLabel.setIcon(new Gripper(10, 19, AmazonBrowser.AMAZON_TAB_LIGHT_BEIGE, Color.BLACK, AmazonBrowser.AMAZON_SEARCH_DARK_BLUE));

            add(activeButton, BorderLayout.WEST);
            add(nameLabel, BorderLayout.CENTER);
            add(gripLabel, BorderLayout.EAST);
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.