|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.visuals.OkCancelHelpDialog
public class OkCancelHelpDialog
Field Summary | |
---|---|
static java.lang.String |
CANCEL
The actionCommand for the Cancel button. |
static java.lang.String |
CLOSE
The actionCommand for the Ok/Close button. |
static java.lang.String |
HELP
The actionCommand for the Help button. |
Fields inherited from class com.sas.visuals.ButtonDialog |
---|
buttonPanel, buttons, panel |
Fields inherited from class com.sas.awt.Dialog |
---|
_cantUseSASModal, _inApplet, _modal, autoDispose, READY, setVisibleCalled, t |
Constructor Summary | |
---|---|
OkCancelHelpDialog(java.awt.Frame frame)
|
|
OkCancelHelpDialog(java.awt.Frame frame,
java.lang.String title)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
protected void |
cancel()
|
protected void |
close()
|
protected void |
help()
|
boolean |
isValidateBeforeClosing()
Get if the validator property should be checked before allowing the dialog to be hidden. |
void |
setValidateBeforeClosing(boolean checkValidator)
Set the validator property to be checked before the dialog is hidden. |
void |
setVisible(boolean visible)
Set the dialog visible state. |
boolean |
wasCancelled()
|
void |
windowClosing(java.awt.event.WindowEvent evt)
Handle click on the [x] window decoration so that it closes the window. |
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, show, stopDispatchThread, waitForReadySignal, waitTilReady |
Methods inherited from interface com.sas.awt.ContainerInterface |
---|
getComponents, getLayout, invalidate, setLayout, validate |
Field Detail |
---|
public static java.lang.String CLOSE
public static java.lang.String CANCEL
public static java.lang.String HELP
Constructor Detail |
---|
public OkCancelHelpDialog(java.awt.Frame frame)
public OkCancelHelpDialog(java.awt.Frame frame, java.lang.String title)
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public boolean isValidateBeforeClosing()
public void setValidateBeforeClosing(boolean checkValidator)
public void setVisible(boolean visible)
setVisible
in interface VisualInterface
setVisible
in class Dialog
visible
- Whether the component should be visible.VisualInterface.setVisible(boolean)
protected void close()
protected void cancel()
protected void help()
public boolean wasCancelled()
public void windowClosing(java.awt.event.WindowEvent evt)
windowClosing
in interface java.awt.event.WindowListener
windowClosing
in class ButtonDialog
evt
- windowEvent
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |