|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.felix.example.servicebased.triangle.Activator.Triangle
public class Activator.Triangle
This inner class implements the triangle SimpleShape service. It simply provides a draw() that paints a triangle.
| Field Summary |
|---|
| Fields inherited from interface org.apache.felix.example.servicebased.host.service.SimpleShape |
|---|
ICON_PROPERTY, NAME_PROPERTY |
| Constructor Summary | |
|---|---|
Activator.Triangle()
|
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics2D g2,
java.awt.Point p)
Implements the SimpleShape.draw() method for painting the shape. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Activator.Triangle()
| Method Detail |
|---|
public void draw(java.awt.Graphics2D g2,
java.awt.Point p)
draw in interface org.apache.felix.example.servicebased.host.service.SimpleShapeg2 - The graphics object used for painting.p - The position to paint the triangle.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||