org.kemet.lf.components
Class CPapyrusJPanel

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

public class CPapyrusJPanel
extends java.lang.Object

Since:
0.4
Author:
fabricemaupin

CPapyrusJPanel : extension of panel component.


Constructor Summary
CPapyrusJPanel(int width, int height)
           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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPapyrusJPanel

public CPapyrusJPanel(int width,
                      int height)

create custom panel.

Since:
0.4
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.4

getPanel

public javax.swing.JPanel getPanel()

return the current panel.

Returns:
current panel
Since:
0.4

getWidth

public int getWidth()

return the width of panel.

Returns:
width of panel
Since:
0.4

getHeight

public int getHeight()

return the height of panel.

Returns:
height of panel
Since:
0.4


Copyright © 2008 F. MAUPIN. All Rights Reserved.