This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is modal?

 
Kathy Lynch
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have run into the term "modal" several times in my java studies but I don't know what it means. Can anyone explain?
Thanks
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you create a dialog and you don't want anyone to be able to do anything with any of the other open windows until they have responded to the dialog, you make it modal and it OWNS the screen.
 
Jyotsna Clarkin
Ranch Hand
Posts: 158
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The term comes from User Interface (UI) design - more specifically GUI design.
The most pervasive use of the term is for dialog boxes design. Dialog boxes are used to get some input (could be choice, information or confirmation) from the user.
A modal dialog forces the user to respond to the dialog before any other action is taken. All controls are frozen . Any user input is directed toward the dialog. Modal dialogs are used in cases where user information or confirmation is required to avoid a potentially dangerous or irreversible situation.
A modeless dialog will offer information or request input but does not restrict user actions. In other words these may be moved, resized or ignored until the user is ready to respond.
This is probably more than you wanted to know, but I love the subject so I just couldn't help myself
And yes, there are other uses of modal/modeless that I won't get into ...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic