org.kemet.lf.components.basic
Class DrawLine

java.lang.Object
  extended by org.kemet.lf.components.basic.DrawLine

public class DrawLine
extends java.lang.Object

Since:
0.5
Author:
fabricemaupin

DrawLine : draw a line.


Constructor Summary
DrawLine(float startX, float startY, float endX, float endY, float width)
           draw a line.
 
Method Summary
 javax.swing.JComponent getLine()
           return the component.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawLine

public DrawLine(float startX,
                float startY,
                float endX,
                float endY,
                float width)

draw a line.

Parameters:
startX - (X) start coordinate of line
startY - (Y) start coordinate of line
endX - (X) end coordinate of line
endY - (Y) end coordinate of line
width - width of line
Since:
0.5
Method Detail

getLine

public javax.swing.JComponent getLine()

return the component.

Returns:
component
Since:
0.5


Copyright © 2008 F. MAUPIN. All Rights Reserved.