com.japisoft.framework.dialog
Interface DialogComponent

All Known Implementing Classes:
BasicDialogComponent

public interface DialogComponent

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Method Summary
 void dispose()
          Freeing all the resource
 int getLastAction()
           
 java.awt.Component getView()
           
 DialogComponent init(DialogHeader header, javax.swing.JComponent pane, DialogFooter footer)
           
 void setVisible(boolean visible)
          Show or hide the dialog
 

Method Detail

getLastAction

public int getLastAction()
Returns:
the last user action

setVisible

public void setVisible(boolean visible)
Show or hide the dialog


init

public DialogComponent init(DialogHeader header,
                            javax.swing.JComponent pane,
                            DialogFooter footer)
Parameters:
header - The header component
pane - The user component
footer - The component with the available buttons

dispose

public void dispose()
Freeing all the resource


getView

public java.awt.Component getView()
Returns:
the dialog component