This is related to a project I’m working.
Its a design application. And so, there’ll be several tools to use.
Which would be a better way to proceed to acheive context-sensitive functions?
- global boolean values
- have boolean values that dictate whether the state is active, and check for that state whenever a mouseevent occurs?
- single “state” value
- 1 value that mouseevent checks for to determine the state the mouse is in?
- changing listeners to specific objects that will accept that event?
Thanks in advanced for any replies.