org.kemet.lf.components
Class CJPanel

java.lang.Object
  extended by org.kemet.lf.components.CJPanel

public class CJPanel
extends java.lang.Object

Since:
0.3
Author:
fabricemaupin

CJPanel : extension of panel component.


Constructor Summary
CJPanel()
           create custom panel.
 
Method Summary
 void backgroundImageJPanel(java.awt.Graphics g)
           draw background of panel.
 int getHeight()
           return the height of panel.
 javax.swing.JPanel getPanel()
           return the current panel.
 int getWidth()
           return the width of panel.
 void setHeight(int height)
           set the height of panel.
 void setWidth(int width)
           set the width of panel.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CJPanel

public CJPanel()
        throws ExceptionManager

create custom panel.

Throws:
ExceptionManager
Since:
0.3
Method Detail

backgroundImageJPanel

public void backgroundImageJPanel(java.awt.Graphics g)
                           throws ExceptionManager

draw background of panel.

Parameters:
g - graphics area of the component
Throws:
ExceptionManager
Since:
0.3

getPanel

public javax.swing.JPanel getPanel()

return the current panel.

Returns:
current panel
Since:
0.3

getWidth

public int getWidth()

return the width of panel.

Returns:
width of panel
Since:
0.3

getHeight

public int getHeight()

return the height of panel.

Returns:
height of panel
Since:
0.3

setWidth

public void setWidth(int width)

set the width of panel.

Parameters:
width - width of panel
Since:
0.3

setHeight

public void setHeight(int height)

set the height of panel.

Parameters:
height - height of panel
Since:
0.3


Copyright © 2008 F. MAUPIN. All Rights Reserved.