|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.visuals.CustomizerDialog
public class CustomizerDialog
CustomizerDialog
is a ButtonDialog
subclass
which displays a
inside a Customizer
ScrollPane
and has a Close button for closing the dialog.
Field Summary | |
---|---|
protected PushButton |
closeButton
|
protected java.awt.Component |
customizer
|
Fields inherited from class com.sas.visuals.ButtonDialog |
---|
buttonPanel, buttons, panel |
Fields inherited from class com.sas.awt.Dialog |
---|
_cantUseSASModal, _inApplet, _modal, autoDispose, RB_KEY, READY, setVisibleCalled, t |
Constructor Summary | |
---|---|
CustomizerDialog(java.awt.Component customizer,
java.lang.Object object,
java.lang.String title)
Construct a CustomizerDialog for the
customizer for the specified object |
|
CustomizerDialog(java.awt.Component customizer,
java.lang.Object object,
java.lang.String title,
java.awt.Frame frame)
Construct a CustomizerDialog for the
customizer for the specified object |
|
CustomizerDialog(java.awt.Component customizer,
java.lang.Object object,
java.lang.String title,
java.awt.Frame frame,
java.lang.String[][] buttonLabels)
Construct a CustomizerDialog 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 |
windowClosing(java.awt.event.WindowEvent event)
Handle a window close event. |
Methods inherited from class com.sas.visuals.ButtonDialog |
---|
getButtonPanel, getMainPanel, windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
Methods inherited from class com.sas.awt.Dialog |
---|
center, centerOver, centerOverWindow, dispose, fireReadySignal, getAutoDispose, getDefaultHeight, getDefaultWidth, getExtendedBeanInfo, getText, hide, isSASModalEnabled, newDispatchThread, processWindowEvent, setAutoDispose, setDefaultHeight, setDefaultWidth, setModal, setResizable, setSASModalEnabled, setText, setTitle, setVisible, setVisible, show, stopDispatchThread, waitForReadySignal, waitTilReady |
Methods inherited from interface com.sas.awt.ContainerInterface |
---|
getComponents, getLayout, invalidate, setLayout, validate |
Field Detail |
---|
protected PushButton closeButton
protected java.awt.Component customizer
Constructor Detail |
---|
public CustomizerDialog(java.awt.Component customizer, java.lang.Object object, java.lang.String title, java.awt.Frame frame)
CustomizerDialog
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 CustomizerDialog(java.awt.Component customizer, java.lang.Object object, java.lang.String title, java.awt.Frame frame, java.lang.String[][] buttonLabels)
CustomizerDialog
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 CustomizerDialog(java.awt.Component customizer, java.lang.Object object, java.lang.String title)
CustomizerDialog
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 titleMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- 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.WindowListener
windowClosing
in class ButtonDialog
event
- the window closing event.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |