Examples of ImageNode


Examples of org.apache.pivot.wtk.text.ImageNode

    protected void setSkinLocation(int skinX, int skinY) {
    }

    @Override
    public int getBaseline() {
        ImageNode imageNode = (ImageNode)getNode();
        Image image = imageNode.getImage();

        int baseline = -1;

        if (image != null) {
            baseline = image.getBaseline();
View Full Code Here

Examples of org.apache.pivot.wtk.text.ImageNode

        return baseline;
    }

    @Override
    public void paint(Graphics2D graphics) {
        ImageNode imageNode = (ImageNode)getNode();
        Image image = imageNode.getImage();

        if (image != null) {
            image.paint(graphics);
        }
    }
View Full Code Here

Examples of pivot.wtk.text.ImageNode

        @Override
        protected void attach() {
            super.attach();

            ImageNode imageNode = (ImageNode)getNode();
            imageNode.getImageNodeListeners().add(this);
        }
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.