Tag Archives: select items

A Simple Discrete-Event Simulation: Part 89

Direct link for mobile devices. I was walking a few miles in the nice weather this evening when two possible solutions popped into my head for the DisplayGroup drag problem I had in the simulation app (where the pointer arrow … Continue reading

Posted in Software | Tagged , , , , , | Leave a comment

A Simple Discrete-Event Simulation: Part 88

Direct link for mobile devices. Today I updated the code to define DisplayGroups for all non-Path components, which means the internal data for each component will become visible when the relevant component is clicked. Moreover, each visible DisplayGroup object can … Continue reading

Posted in Software | Tagged , , , , , | Leave a comment

A Simple Discrete-Event Simulation: Part 87

Today I connected the display of the DisplayGroup objects to the component selection event. That is, if you click on a component it brings up that component’s DisplayGroup object. This process involves several steps. First, the location on the canvas … Continue reading

Posted in Software | Tagged , , | Leave a comment

A Simple Discrete-Event Simulation: Part 85

Direct link for mobile devices. Today I made the selection action work using touch events in addition to the mouse click event. The touch mechanism in JavaScript for mobile browsers does not current have a click counterpart so we have … Continue reading

Posted in Software | Tagged , , , , | Leave a comment

A Simple Discrete-Event Simulation: Part 84

Today I implemented the ability to select graphic elements using a mouse click. This involves sensing the mouse click event and its location, variations of which we’ve already visited, and identifying the graphic element on that part of the screen. … Continue reading

Posted in Software | Tagged , , , | Leave a comment