Package org.apache.felix.example.servicebased.host.service

Examples of org.apache.felix.example.servicebased.host.service.SimpleShape


    {
        super.paintComponent(g);
        Graphics2D g2 = (Graphics2D) g;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
            RenderingHints.VALUE_ANTIALIAS_ON);
        SimpleShape shape = m_frame.getShape(m_shapeName);
        shape.draw(g2, new Point(getWidth()/2, getHeight()/2));
    }
View Full Code Here


     * @return The service object to be used by the tracker.
    **/
    @Override
    public SimpleShape addingService(ServiceReference<SimpleShape> ref)
    {
        SimpleShape shape = new DefaultShape(m_context, ref);
        processShapeOnEventThread(ShapeEvent.ADDED, ref, shape);
        return shape;
    }
View Full Code Here

TOP

Related Classes of org.apache.felix.example.servicebased.host.service.SimpleShape

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.