Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6079871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:59:44+00:00 2026-05-23T10:59:44+00:00

What is UI state? Can you give me an example of something like that

  • 0

What is UI state? Can you give me an example of something like that might be? Does it refer to things like keeping track of what tab is open for example?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:59:45+00:00Added an answer on May 23, 2026 at 10:59 am

    I think the idea is that the application has state, and the UI reflects that state.

    So when you app starts it goes like the following

    1) Initial state (app is started up)
    2) Loads initial data (“loading state”)
    3) Is ready for interaction (“ready state”)

    Now lets say the user starts an interaction by opening a form.

    4) User opens form and goes to (‘editing form state’)

    The user can cancel or save so now the states diverge. If cancel

    5) The ‘editing form state’ receives the cancel event, discards the changes, and goes back to “Ready”

    If save

    5) The app goes to “Saving” state, then when done goes back to “Ready” or “Error”

    The great thing about this conceptualization is that it allows your ‘state chart’ to update the application elements depending on the state. For example, in ‘loading’ or ‘saving’ states you can mask the UI or disable the buttons. The key point is that the views don’t need to know about the state, all it does is sit around and be manipulated. Its the state code that manages what views are doing what at any given time.

    Note that is also correct for views in your UI to have state. For example, a button can have states like, ‘mouseenter’, ‘mouseexit’, ‘clickdown’, ‘clickup’, ‘inactive’, etc. A custom view in your UI can be considered to have states when it renders itself differently depending on the data it represents.

    You might want to take a look at

    http://www.wisdom.weizmann.ac.il/~harel/papers/Statecharts.pdf

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone give me an example of successful non-programmer, 5GL (not that I am
The MSDN docs state that I can find the WCF Test Client in: C:\Program
The R 2.15 release notes and the documentation of makePSOCKCluster state that communication can
How can I achieve this behaviors onclick with jquery : default state: <a href=something.html>Anchor</a>
Why does C++ have public members that anyone can call and friend declarations that
Can someone give me an example of how to style a button with XAML
This really, really urks me, so I hope that someone can give me a
it's a hard to explain issue so i hope i can state it i
How can I restore state of nodes in VirtualStringTree (which ones were expanded) at
I can store Session State in InProc or State Server or Sql Server. If

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.