org.salespointframework.core.events
Interface FormsheetCustomizationListener


public interface FormsheetCustomizationListener

Listener for a set of Formsheet Customizations

Since:
4.0
Author:
Thomas Kissinger

Method Summary
 void paintButtonBarBackground(java.awt.Graphics2D g, javax.swing.JComponent c)
          Draw button bars surface.
 void paintComponentsBackground(java.awt.Graphics2D g, javax.swing.JComponent c)
          Draw components surface.
 javax.swing.JPanel setupButtonBar(javax.swing.JPanel bb)
          Customize button bar.
 

Method Detail

paintComponentsBackground

void paintComponentsBackground(java.awt.Graphics2D g,
                               javax.swing.JComponent c)
Draw components surface. Default background is already rendered at this point.

Parameters:
g - Graphics Context
c - target Component

paintButtonBarBackground

void paintButtonBarBackground(java.awt.Graphics2D g,
                              javax.swing.JComponent c)
Draw button bars surface. Default background is already rendered at this point.

Parameters:
g - Graphics context
c - target component

setupButtonBar

javax.swing.JPanel setupButtonBar(javax.swing.JPanel bb)
Customize button bar. Buttons may not be present at this point of time. do e.g. - Set a LayoutManager - add additional components

Parameters:
bb - button bar's panel
Returns:
The panel on which buttons should be placed