Examples of SmoothHighlightBorder


Examples of org.openquark.gems.client.utilities.SmoothHighlightBorder

    public Border getValueEditorBorder(ValueEditor valueEditor) {
        // Value entry panels and pick list value editors always use an etched border
        if (valueEditor instanceof ValueEntryPanel || valueEditor instanceof PickListValueEditor) {
            return BorderFactory.createEtchedBorder();
        } else {
            return new SmoothHighlightBorder(valueEditor.getBackground(), valueEditor.isMoveable());
        }
    }
View Full Code Here

Examples of org.openquark.gems.client.utilities.SmoothHighlightBorder

        // manually draw in the background since Java screws it up for some reason.

        setOpaque(false);
        setBackground(BACKGROUND_TINT_COLOR);

        setBorder(new SmoothHighlightBorder(typeColor != null ? typeColor : getBackground(), false));
       
        getIntellicutList().setBackground(TRANSPARENT_COLOR);
        getIntellicutList().setOpaque(false);
        getIntellicutList().setTransparent(true);
       
View Full Code Here

Examples of org.openquark.gems.client.utilities.SmoothHighlightBorder

        } else {
           
            setBackground(savedBackgroundColor);

            if (intellicutList.isTransparent()) {
                setBorder(new SmoothHighlightBorder(typeColor != null ? typeColor : getBackground(), false));
            } else {
                setBorder(BorderFactory.createEtchedBorder());
            }

            getTopPanel().setVisible(true);
View Full Code Here

Examples of org.openquark.gems.client.utilities.SmoothHighlightBorder

        this.ownerValueNode = newValueNode;
        this.valueNode = newValueNode.copyValueNode();

        if (getBorder() instanceof SmoothHighlightBorder) {
            Color typeColor = valueEditorManager.getTypeColour(valueNode.getTypeExpr());
            setBorder(new SmoothHighlightBorder(typeColor, moveable));
        }
    }
View Full Code Here

Examples of org.openquark.gems.client.utilities.SmoothHighlightBorder

           
            if (valueNode != null) {
                borderColor = valueEditorManager.getTypeColour(valueNode.getTypeExpr());
            }

            setBorder(new SmoothHighlightBorder(borderColor, moveable));
        }
    }
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.