Examples of DropperButton


Examples of com.lightcrafts.ui.toolkit.DropperButton

    protected void operationChanged(Operation operation) {
        super.operationChanged(operation);

        // Make the button that enters and exits the dropper Mode:
        dropperButton = new DropperButton();
        dropperButton.setAlignmentX(1f);
        dropperButton.addItemListener(
            new ItemListener() {
                public void itemStateChanged(ItemEvent event) {
                    boolean selected =
View Full Code Here

Examples of com.lightcrafts.ui.toolkit.DropperButton

    public WhitePointControl(WhitePointOperation op, OpStack stack) {
        super(op, stack);

        // Make the button that enters and exits the dropper Mode:
        dropperButton = new DropperButton();
        dropperButton.setAlignmentX(1f);
        dropperButton.addItemListener(
            new ItemListener() {
                public void itemStateChanged(ItemEvent event) {
                    boolean selected =
View Full Code Here

Examples of com.lightcrafts.ui.toolkit.DropperButton

    protected void operationChanged(Operation operation) {
        super.operationChanged(operation);

        // Make the button that enters and exits the dropper Mode:
        dropperButton = new DropperButton();
        dropperButton.setAlignmentX( 1f );
        dropperButton.addItemListener(
            new ItemListener() {
                public void itemStateChanged( ItemEvent event ) {
                    getComboFrame().getEditor().setMode( EditorMode.ARROW );
View Full Code Here

Examples of com.lightcrafts.ui.toolkit.DropperButton

            ComboFrame.class, this
        );
    }

    private void initDropper( final OpControl control ) {
        m_dropperButton = new DropperButton();
        m_dropperButton.setToolTips(
            ColorSelectStartToolTip, ColorSelectEndToolTip
        );
        m_dropperButton.addItemListener(
            new ItemListener() {
View Full Code Here

Examples of com.lightcrafts.ui.toolkit.DropperButton

        colorContent.add(Box.createHorizontalStrut(8));
        colorContent.add(new ColorSwatch(Color.gray));
        colorContent.add(Box.createHorizontalStrut(8));
        colorContent.add(new ColorText(Color.gray));
        colorContent.add(Box.createHorizontalStrut(8));
        colorContent.add(new DropperButton());

        colorContent.setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));

        JFrame frame = new JFrame("Test");
        frame.setContentPane(colorContent);
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.