?
-
If enum type cannot be subclassed, using MouseWheelEvent and MouseEvent
as an example where the former is the latter's subclass, how can the
constants be made into enum type?
Static constants from MouseEvent:
static int MOUSE_CLICKED
static int MOUSE_DRAGGED
// etc
// ...
Static constants from MouseWheelEvent:
static int WHEEL_BLOCK_SCROLL
static int WHEEL_UNIT_SCROLL
or is enum type not applicable in this matter? if so, when is enum
applicable?
as an example where the former is the latter's subclass, how can the
constants be made into enum type?
Static constants from MouseEvent:
static int MOUSE_CLICKED
static int MOUSE_DRAGGED
// etc
// ...
Static constants from MouseWheelEvent:
static int WHEEL_BLOCK_SCROLL
static int WHEEL_UNIT_SCROLL
or is enum type not applicable in this matter? if so, when is enum
applicable?