public class OpenUrlView extends Object
created on: 04.01.2014
| Constructor and Description |
|---|
OpenUrlView(JFrame parent)
Constructor taking a "parent" frame as parameter.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSelectedItem()
Get selected value from internal comboBox.
|
boolean |
isAddCheckBoxSelected() |
void |
setRecentResourceNamesModel(RecentGCResourcesModel model) |
void |
setShowAddCheckBox(boolean showCheckBox)
OpenUrlView shows a checkbox to let the user choose "add selected URL to
current document".
|
boolean |
showDialog()
Shows open Url dialog.
|
public OpenUrlView(JFrame parent)
parent - parent frame for this dialogpublic String getSelectedItem()
public boolean isAddCheckBoxSelected()
public void setShowAddCheckBox(boolean showCheckBox)
showCheckBox - true: checkbox is shown, otherwise it is hidden.public void setRecentResourceNamesModel(RecentGCResourcesModel model)
public boolean showDialog()
true if "OK" was pressed, false otherwise.Copyright © 2019. All rights reserved.