org.jboss.weld.osgi.examples.paint.square
Class Square

java.lang.Object
  extended by org.jboss.weld.osgi.examples.paint.square.Square
All Implemented Interfaces:
Shape

public class Square
extends Object
implements Shape


Constructor Summary
Square()
           
 
Method Summary
 void draw(Graphics2D g2, Point p)
           
 Icon getIcon()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Square

public Square()
Method Detail

getName

public String getName()
Specified by:
getName in interface Shape

getIcon

public Icon getIcon()
Specified by:
getIcon in interface Shape

draw

public void draw(Graphics2D g2,
                 Point p)
Specified by:
draw in interface Shape


Copyright © 2012 Seam Framework. All Rights Reserved.