|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.dataselectors.SelectorDialog
public class SelectorDialog
Field Summary |
---|
Fields inherited from class com.sas.swing.visuals.OptionsDialog |
---|
buttons, RB_KEY |
Fields inherited from interface com.sas.swing.visuals.util.LayoutConstants |
---|
DOTS_BUTTON_INSETS, EMPTY_INSETS, HGAP, HMARGIN, INDENTED_BORDER, TAB_BORDER, TEXTFIELD_INSETS, VGAP, VMARGIN |
Constructor Summary | |
---|---|
SelectorDialog(java.awt.Frame parent,
PanelInterface panel,
boolean modal)
Creates a new SelectorDialog for the specified panel. |
|
SelectorDialog(java.awt.Frame f,
PanelInterface panel,
boolean modal,
int buttons,
int buttonLocation)
Creates a new SelecotrDialog for the specified panel. |
|
SelectorDialog(java.awt.Frame parent,
java.lang.String title,
boolean modal)
Creates a new selector dialog initialized with the specified title. |
|
SelectorDialog(java.awt.Frame f,
java.lang.String title,
boolean modal,
int buttons,
int buttonLocation)
Creates a new dialog initialized with the specified title and buttons. |
Method Summary | |
---|---|
java.lang.Object |
getSelectorModel()
Returns the model used for the selector, or null if there isn't a model yet. |
void |
setSelectorModel(java.lang.Object model)
Sets the model used for the selector on the panel. |
Methods inherited from class com.sas.swing.visuals.OptionsDialog |
---|
actionPerformed, addButton, createButtons, getButton, getButtonLocation, getHelpID, getMainPanel, getPanel, onApply, onCancel, onClose, onHelp, onOK, processWindowEvent, setButtonLocation, setButtons, setHelpID, setPanel, setVisible, updateButtonsForPanel, wasCancelled |
Methods inherited from interface com.sas.dataselectors.DataSelectorInterface |
---|
isVisible, setVisible |
Constructor Detail |
---|
public SelectorDialog(java.awt.Frame parent, java.lang.String title, boolean modal)
default buttons
positioned in the
CommonButtons.SOUTH_EAST
location.
This is an alias for:
SelectorDialog(parent, title, modal, CommonButtons.OK_CANCEL_BUTTONS, CommonButtons.SOUTH_EAST)
parent
- the parent frame of the new dialogtitle
- the title of the dialog to display on the title barmodal
- true
for modal, false
for non-modalpublic SelectorDialog(java.awt.Frame f, java.lang.String title, boolean modal, int buttons, int buttonLocation)
Valid button identifiers and locations are any of those or a combination of those from
CommonButtons
.
parent
- the parent frame of the new dialogtitle
- the title of the dialog to display on the title barmodal
- true
for modal, false
for non-modalbuttons
- the buttons to add to the dialogbuttonLocation
- the location to position the buttons on the dialogpublic SelectorDialog(java.awt.Frame parent, PanelInterface panel, boolean modal)
SelectorDialog
for the specified panel. The new dialog will
have ok and cancel
positioned in the
CommonButtons.SOUTH_EAST
location.
This is an alias for:
SelectorDialog(parent, panel, modal, CommonButtons.OK_CANCEL_BUTTONS, CommonButtons.SOUTH_EAST)
parent
- the parent frame of the new dialogpanel
- the panel to display in the dialogmodal
- true
for modal, false
for non-modalpublic SelectorDialog(java.awt.Frame f, PanelInterface panel, boolean modal, int buttons, int buttonLocation)
SelecotrDialog
for the specified panel. This is a convenience
for creating a new dialog and calling
setPanel()
.
f
- the parent frame of the new dialogpanel
- the panel to display in the dialogmodal
- true
for modal, false
for non-modalMethod Detail |
---|
public void setSelectorModel(java.lang.Object model)
setSelectorModel
in interface DataSelectorInterface
model
- the new selector model to set on the panelgetSelectorModel()
public java.lang.Object getSelectorModel()
getSelectorModel
in interface DataSelectorInterface
setSelectorModel(Object)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |