|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.swing.visuals.SwingCustomizerDialog
public class SwingCustomizerDialog
SwingCustomizerDialog is a JDialog subclass
which displays a inside a CustomizerJScrollPane
and has a Close button for closing the dialog.
| Field Summary | |
|---|---|
protected java.awt.ScrollPane |
awtScrollPane
|
protected javax.swing.JButton |
closeButton
|
protected java.awt.Component |
customizer
|
protected javax.swing.JPanel |
mainPanel
|
protected javax.swing.JScrollPane |
swingScrollPane
|
| Constructor Summary | |
|---|---|
SwingCustomizerDialog(java.awt.Component customizer,
java.lang.Object object,
java.lang.String title)
Construct a SwingCustomizerDialog for the
customizer for the specified object |
|
SwingCustomizerDialog(java.awt.Component customizer,
java.lang.Object object,
java.lang.String title,
java.awt.Frame frame)
Construct a SwingCustomizerDialog for the
customizer for the specified object |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Handle a button press from the Close button. |
protected void |
callCustomizerClosing()
Upon closing the window, if the customizer implements ,
call its method. |
java.awt.Component |
getCustomizer()
Return the customizer used to construct this dialog. |
void |
windowActivated(java.awt.event.WindowEvent event)
|
void |
windowClosed(java.awt.event.WindowEvent event)
|
void |
windowClosing(java.awt.event.WindowEvent event)
Handle a window close event. |
void |
windowDeactivated(java.awt.event.WindowEvent event)
|
void |
windowDeiconified(java.awt.event.WindowEvent event)
|
void |
windowIconified(java.awt.event.WindowEvent event)
|
void |
windowOpened(java.awt.event.WindowEvent event)
|
| Field Detail |
|---|
protected javax.swing.JButton closeButton
protected java.awt.Component customizer
protected javax.swing.JPanel mainPanel
protected javax.swing.JScrollPane swingScrollPane
protected java.awt.ScrollPane awtScrollPane
| Constructor Detail |
|---|
public SwingCustomizerDialog(java.awt.Component customizer,
java.lang.Object object,
java.lang.String title,
java.awt.Frame frame)
SwingCustomizerDialog for the
customizer for the specified object
customizer - the customizer to display within the dialogobject - the object (Java bean) to be customized by the
customizer.title - the window titleframe - the parent frame. If frame is null, a new parent frame is created.
public SwingCustomizerDialog(java.awt.Component customizer,
java.lang.Object object,
java.lang.String title)
SwingCustomizerDialog for the
customizer for the specified object
customizer - the customizer to display within the dialogobject - the object (Java bean) to be customized by the
customizer.title - the window title| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - an event. If the event came from the close button,
close (Window.dispose())
the dialog.protected void callCustomizerClosing()
CustomizerClosingInterface,
call its CustomizerClosingInterface.customizerClosing() method.
public java.awt.Component getCustomizer()
public void windowClosing(java.awt.event.WindowEvent event)
callCustomizerClosing(),
then invokes the super method.
windowClosing in interface java.awt.event.WindowListenerevent - the window closing event.public void windowOpened(java.awt.event.WindowEvent event)
windowOpened in interface java.awt.event.WindowListenerpublic void windowClosed(java.awt.event.WindowEvent event)
windowClosed in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent event)
windowIconified in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent event)
windowDeiconified in interface java.awt.event.WindowListenerpublic void windowActivated(java.awt.event.WindowEvent event)
windowActivated in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent event)
windowDeactivated in interface java.awt.event.WindowListener
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||