Uses of Enum Class
org.openpatch.scratch.MouseCode
Packages that use MouseCode
Package
Description
The org.openpatch.scratch package contains classes that provide an API for creating Scratch-like
projects in Java.
-
Uses of MouseCode in org.openpatch.scratch
Subclasses with type arguments of type MouseCode in org.openpatch.scratchModifier and TypeClassDescriptionenumTheMouseCodeenum represents the different mouse buttons that can be used.Methods in org.openpatch.scratch that return MouseCodeModifier and TypeMethodDescriptionstatic MouseCodeReturns the enum constant of this class with the specified name.static MouseCode[]MouseCode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.openpatch.scratch with parameters of type MouseCodeModifier and TypeMethodDescriptionvoidvoidvoidSprite.whenMouseClicked(MouseCode mouseCode) This method is called when a mouse click event occurs.voidStage.whenMouseClicked(MouseCode mouseEvent) This method is called when a mouse click event occurs.