词汇 | example_english_event-handler |
释义 | event handlercollocation in Englishmeanings of eventand handlerThese words are often used together. Click on the links below to explore the meanings. Or, see other collocations with event. event noun[C] uk /ɪˈvent/ us /ɪˈvent/ anything that happens, especially something important ... See more at event handler noun[C] uk /ˈhænd.lər/ us /ˈhænd.lɚ/ a person who trains and is in charge of animals, ... See more at handler Examples of event handlerThese examples are from corpora and from sources on the web. Any opinions in the examples do not represent the opinion of the Cambridge Dictionary editors or of Cambridge University Press or its licensors. The mechanism cannot provide real-time timing because the time needed to evaluate an abstract eventhandler may exceed a given time interval. An abstract eventhandler is a function that is included in the abstract device specification. The abstract eventhandler is applied to the current state of the program and yields a new state. The active window is not demanded to respond to user events: the addition of a keyboard and mouse eventhandler is optional. The abstract eventhandler of every active timer is therefore provided with the discrete number of complete time intervals that have passed. In order to handle the abstract event appropriately the abstract eventhandler needs to know the state of the program. Only when the corresponding abstract event occurs the abstract eventhandler is evaluated. Each abstract eventhandler can be evaluated in any state of the program. So, an abstract eventhandler is a state transition function. It is easy to correlate the abstract event with an abstract eventhandler, because the abstract event is defined in the context of the algebraic definition. With the abstract event handlers a programmer defines how the state of the program should be affected in case the abstract eventhandler is triggered by an abstract event. This allows the developer to focus on simulation specifics without littering eventhandler code all over the place. From Wikipedia This example is from Wikipedia and may be reused under a CC BY-SA license. It is a communication bus and also an eventhandler. From Wikipedia This example is from Wikipedia and may be reused under a CC BY-SA license. To add two numbers, storage outside the eventhandler must be used. From Wikipedia This example is from Wikipedia and may be reused under a CC BY-SA license. You can intercept and process these and other events by creating eventhandler functions and routines. From Wikipedia This example is from Wikipedia and may be reused under a CC BY-SA license. Like the inline model, each event can only have one eventhandler registered. From Wikipedia This example is from Wikipedia and may be reused under a CC BY-SA license. The default click action is cancelled by returning false in the eventhandler. From Wikipedia This example is from Wikipedia and may be reused under a CC BY-SA license. The most common example of the correct use of a switch within a loop is an eventhandler. From Wikipedia This example is from Wikipedia and may be reused under a CC BY-SA license. In our example, our program could register for timer events, and write a corresponding eventhandler that updates the coordinates. From Wikipedia This example is from Wikipedia and may be reused under a CC BY-SA license. These examples are from corpora and from sources on the web. Any opinions in the examples do not represent the opinion of the Cambridge Dictionary editors or of Cambridge University Press or its licensors. Want to learn more? Go to the definition of event Go to the definition of handler See other collocations with event |
反思网英语在线翻译词典收录了377474条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。