Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
jvx:client:gui:custom_dialog [2018/02/01 13:34]
admin
jvx:client:gui:custom_dialog [2020/06/26 11:52] (current)
cduncan
Line 1: Line 1:
 ~~NOTRANS~~ ~~NOTRANS~~
-~~Title: Open a custom dialog~~+~~Title: Open a Custom Dialog~~
  
-Sometimes you want to show dialogues instead of work-screens ​because a dialog is a simple popup that shows details about a selected record or requests input from the user. Another reason could bethat a work-screen ​shows different dialogues on button clicks.+Sometimes you want to show dialogues instead of workscreens ​because a dialog is a simple popup that shows details about a selected record or requests input from the user. Another reason could be that a workscreen ​shows different dialogues on button clicks.
  
-It's very easy to show a dialog in your application or work-screen. Use the Dialog ​class and use it as follows:+It's very easy to show a dialog in your application or workscreen. Use the dialog ​class and use it as follows:
  
 <file java> <file java>
Line 22: Line 22:
 </​file>​ </​file>​
  
-The Dialog ​itself is a Content ​and can be used without internal frames as well. It depends on your IApplication implementation if you use an internal frame or the content itself.+The dialog ​itself is a content ​and can be used without internal frames as well. It depends on your IApplication implementationif you use an internal frame or the content itself.
  
-The class supports OK, Cancel ​buttons and allows user-defined buttons instead of default buttons.+The class supports OK and cancel ​buttons and allows user-defined buttons instead of default buttons.
  
 The title is an optional attribute. If you don't set the title, the name of the dialog will be used. The dialog itself has a default preferred size. You should change the default setting if you need a different size. The title is an optional attribute. If you don't set the title, the name of the dialog will be used. The dialog itself has a default preferred size. You should change the default setting if you need a different size.
  
-Above dialog looks like this:+The above dialog looks like this:
  
 {{:​jvx:​client:​gui:​dialog.png?​nolink|}} {{:​jvx:​client:​gui:​dialog.png?​nolink|}}
  
-With Ok and Cancel:+With Ok and cancel:
  
 {{:​jvx:​client:​gui:​dialog_ok_cancel.png?​nolink|}} {{:​jvx:​client:​gui:​dialog_ok_cancel.png?​nolink|}}
  
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information