com.azalient.api.draw
Interface IMouseState


public interface IMouseState

An interface to the current mouse state


Method Summary
 boolean dragging()
          Returns true if the mouse is currently being used to drag an object or create a selection box
 boolean mouseDown(int button)
          Returns true if the given mouse button (1, 2, 3, ...) is currently pressed
 NavigationMode navigationMode()
          Return the currently selected navigation mode, as selected in the top-right hand corner of the Commuter window
 

Method Detail

dragging

boolean dragging()
Returns true if the mouse is currently being used to drag an object or create a selection box


mouseDown

boolean mouseDown(int button)
Returns true if the given mouse button (1, 2, 3, ...) is currently pressed


navigationMode

NavigationMode navigationMode()
Return the currently selected navigation mode, as selected in the top-right hand corner of the Commuter window