|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ViewDelegate
Method Summary | |
---|---|
void |
applyGlassPane(java.lang.Object glassPane)
Apply the glass pane. |
java.lang.String |
askText(java.lang.String title)
Ask the user for text. |
boolean |
askYesOrNo(java.lang.String text,
java.lang.String title)
Ask the user for a yes or no answer. |
java.lang.String |
chooseDirectory()
Choose a directory. |
java.lang.String |
chooseFile(org.jtheque.utils.io.SimpleFilter filter)
Choose a file. |
void |
configure(WindowConfiguration configuration,
IView view)
Configure the view with the window configuration. |
void |
displayError(JThequeError error)
Display an error. |
void |
displayText(java.lang.String text)
Display the text. |
void |
fill(WindowConfiguration configuration,
IView view)
Fill the configuration with the view informations. |
void |
refresh(java.lang.Object c)
Refresh the object. |
void |
run(java.lang.Runnable runnable)
Run the runnable in the view. |
void |
setSize(IView view,
int defaultWidth,
int defaultHeight)
Set size of the view considering the configuration of the view. |
Method Detail |
---|
boolean askYesOrNo(java.lang.String text, java.lang.String title)
text
- The question.title
- The question title.
void displayError(JThequeError error)
error
- The error to display.void displayText(java.lang.String text)
text
- The text to display.java.lang.String chooseFile(org.jtheque.utils.io.SimpleFilter filter)
filter
- The filter.
java.lang.String chooseDirectory()
void run(java.lang.Runnable runnable)
runnable
- The runnable to run in the view.void refresh(java.lang.Object c)
c
- The object to refresh.void applyGlassPane(java.lang.Object glassPane)
glassPane
- The glass pane.void setSize(IView view, int defaultWidth, int defaultHeight)
view
- The view to configure. ̀defaultWidth
- The default width of the view.defaultHeight
- The default height of the view.void fill(WindowConfiguration configuration, IView view)
configuration
- The configuration to fill.view
- The view to fill the configuration with.void configure(WindowConfiguration configuration, IView view)
configuration
- The window configuration.view
- The view to configure.java.lang.String askText(java.lang.String title)
title
- The question to ask to the user.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |