org.brains2b.swingext.form
Interface Form

All Known Implementing Classes:
EasyForm

public interface Form

Interface for use with FormAction to handle the actions following pressing Ok/Apply/Undo/Cancel

Version:
[version] [Jul 6, 2007]
Author:
dennis@brains2b.nl
See Also:
FormAction

Method Summary
 javax.swing.JRootPane getRootPane()
          get the RootPane of the component this interface is implemented on.
 void performApply()
          method called if Apply is pressed
 void performCancel()
          method called if Cancel is pressed
 void performOk()
          method called if Ok is pressed
 void performUndo()
          method called if Undo is pressed
 

Method Detail

performApply

void performApply()
method called if Apply is pressed


performOk

void performOk()
method called if Ok is pressed


performUndo

void performUndo()
method called if Undo is pressed


performCancel

void performCancel()
method called if Cancel is pressed


getRootPane

javax.swing.JRootPane getRootPane()
get the RootPane of the component this interface is implemented on.

needed for setting the default Button

Returns:
JRootPane