de.grogra.pf.ui
Interface Window
- All Superinterfaces:
- Context, Disposable, Panel
public interface Window
- extends Panel
Method Summary |
FileChooserResult |
chooseFile(java.lang.String title,
java.io.File directory,
javax.swing.filechooser.FileFilter[] filters,
int type,
boolean mustExist,
javax.swing.filechooser.FileFilter selectedFilter)
|
Layout |
getLayout()
|
Panel |
getPanel(java.lang.String panelId)
|
Panel[] |
getPanels(ObjectToBoolean<Panel> filter)
|
java.util.Map |
getUIPropertyMap()
|
Workbench |
getWorkbench()
Determines the workbench of this GUI context. |
void |
hide()
|
void |
initializeWorkbench(Workbench wb)
|
boolean |
isVisible()
|
void |
setLayout(Layout layout,
Map params)
|
void |
setMenuVisibility(boolean value)
|
int |
showChoiceDialog(java.lang.String title,
I18NBundle bundle,
java.lang.String keyBase,
java.lang.String[] options)
|
int |
showDialog(java.lang.String title,
java.lang.Object message,
int type)
|
java.lang.String |
showInputDialog(java.lang.String title,
java.lang.Object message,
java.lang.String initial)
|
Disposable |
showWaitMessage(java.lang.String toComplete)
|
Methods inherited from interface de.grogra.pf.ui.Panel |
checkClose, getContent, getDecorator, getMenu, getPanelId, initDecorator, resolve, setContent, setCursor, setMenu, show |
ADD_FILE
static final int ADD_FILE
- See Also:
- Constant Field Values
CANCEL_RESULT
static final int CANCEL_RESULT
- See Also:
- Constant Field Values
ERROR_MESSAGE
static final int ERROR_MESSAGE
- See Also:
- Constant Field Values
INFORMATION_MESSAGE
static final int INFORMATION_MESSAGE
- See Also:
- Constant Field Values
MAIN_WINDOW_ID
static final java.lang.String MAIN_WINDOW_ID
- See Also:
- Constant Field Values
NO_RESULT
static final int NO_RESULT
- See Also:
- Constant Field Values
OPEN_FILE
static final int OPEN_FILE
- See Also:
- Constant Field Values
PLAIN_MESSAGE
static final int PLAIN_MESSAGE
- See Also:
- Constant Field Values
QUESTION_CANCEL_MESSAGE
static final int QUESTION_CANCEL_MESSAGE
- See Also:
- Constant Field Values
QUESTION_MESSAGE
static final int QUESTION_MESSAGE
- See Also:
- Constant Field Values
RESIZABLE_OK_CANCEL_MESSAGE
static final int RESIZABLE_OK_CANCEL_MESSAGE
- See Also:
- Constant Field Values
RESIZABLE_PLAIN_MESSAGE
static final int RESIZABLE_PLAIN_MESSAGE
- See Also:
- Constant Field Values
SAVE_FILE
static final int SAVE_FILE
- See Also:
- Constant Field Values
WARNING_MESSAGE
static final int WARNING_MESSAGE
- See Also:
- Constant Field Values
YES_OK_RESULT
static final int YES_OK_RESULT
- See Also:
- Constant Field Values
chooseFile
FileChooserResult chooseFile(java.lang.String title,
java.io.File directory,
javax.swing.filechooser.FileFilter[] filters,
int type,
boolean mustExist,
javax.swing.filechooser.FileFilter selectedFilter)
- Parameters:
title
- directory
- filters
- type
- mustExist
- selectedFilter
- - the selected file filter type
- Returns:
getLayout
Layout getLayout()
getPanel
Panel getPanel(java.lang.String panelId)
getPanels
Panel[] getPanels(ObjectToBoolean<Panel> filter)
getUIPropertyMap
java.util.Map getUIPropertyMap()
- Specified by:
getUIPropertyMap
in interface Panel
getWorkbench
Workbench getWorkbench()
- Description copied from interface:
Context
- Determines the workbench of this GUI context.
- Specified by:
getWorkbench
in interface Context
- Returns:
- this context's workbench
hide
void hide()
initializeWorkbench
void initializeWorkbench(Workbench wb)
isVisible
boolean isVisible()
setLayout
void setLayout(Layout layout,
Map params)
setMenuVisibility
void setMenuVisibility(boolean value)
showChoiceDialog
int showChoiceDialog(java.lang.String title,
I18NBundle bundle,
java.lang.String keyBase,
java.lang.String[] options)
showDialog
int showDialog(java.lang.String title,
java.lang.Object message,
int type)
showInputDialog
java.lang.String showInputDialog(java.lang.String title,
java.lang.Object message,
java.lang.String initial)
showWaitMessage
Disposable showWaitMessage(java.lang.String toComplete)