indexing
	description: "Eiffel Vision key constants. Each constant defined here %Ncorresponds to a possible value of {EV_KEY}.code"
	legal: "See notice at end of class."
	status: "See notice at end of class."
	keywords: "key, code, constant"
	date: "generated"
	revision: "generated"

class interface
	EV_KEY_CONSTANTS

create 
	default_create
			-- Process instances of classes with no creation clause.
			-- (Default: do nothing.)
			-- (from ANY)

feature -- Access

	generating_type: STRING_8
			-- Name of current object's generating type
			-- (type of which it is a direct instance)
			-- (from ANY)

	generator: STRING_8
			-- Name of current object's generating class
			-- (base class of the type of which it is a direct instance)
			-- (from ANY)

	key_code_from_key_string (key_string: STRING_GENERAL): INTEGER_32
			-- Key code value from `key_string'
		require
			key_string_not_void: key_string /= Void

	key_strings: ARRAY [STRING_32]
			-- String representations of all key codes.
	
feature -- Comparison

	frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN
			-- Are `some' and `other' either both void
			-- or attached to isomorphic object structures?
			-- (from ANY)
		ensure -- from ANY
			shallow_implies_deep: standard_equal (some, other) implies Result
			both_or_none_void: (some = Void) implies (Result = (other = Void))
			same_type: (Result and (some /= Void)) implies some.same_type (other)
			symmetric: Result implies deep_equal (other, some)

	frozen equal (some: ANY; other: like arg #1): BOOLEAN
			-- Are `some' and `other' either both void or attached
			-- to objects considered equal?
			-- (from ANY)
		ensure -- from ANY
			definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))

	is_equal (other: like Current): BOOLEAN
			-- Is `other' attached to an object considered
			-- equal to current object?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			symmetric: Result implies other.is_equal (Current)
			consistent: standard_is_equal (other) implies Result

	frozen standard_equal (some: ANY; other: like arg #1): BOOLEAN
			-- Are `some' and `other' either both void or attached to
			-- field-by-field identical objects of the same type?
			-- Always uses default object comparison criterion.
			-- (from ANY)
		ensure -- from ANY
			definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other))

	frozen standard_is_equal (other: like Current): BOOLEAN
			-- Is `other' attached to an object of the same type
			-- as current object, and field-by-field identical to it?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			same_type: Result implies same_type (other)
			symmetric: Result implies other.standard_is_equal (Current)
	
feature -- Status report

	conforms_to (other: ANY): BOOLEAN
			-- Does type of current object conform to type
			-- of `other' (as per Eiffel: The Language, chapter 13)?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void

	same_type (other: ANY): BOOLEAN
			-- Is type of current object identical to type of `other'?
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			definition: Result = (conforms_to (other) and other.conforms_to (Current))
	
feature -- Duplication

	copy (other: like Current)
			-- Update current object using fields of object attached
			-- to `other', so as to yield equal objects.
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
			type_identity: same_type (other)
		ensure -- from ANY
			is_equal: is_equal (other)

	frozen deep_copy (other: like Current)
			-- Effect equivalent to that of:
			--		copy (`other' . deep_twin)
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
		ensure -- from ANY
			deep_equal: deep_equal (Current, other)

	frozen deep_twin: like Current
			-- New object structure recursively duplicated from Current.
			-- (from ANY)
		ensure -- from ANY
			deep_equal: deep_equal (Current, Result)

	frozen standard_copy (other: like Current)
			-- Copy every field of `other' onto corresponding field
			-- of current object.
			-- (from ANY)
		require -- from ANY
			other_not_void: other /= Void
			type_identity: same_type (other)
		ensure -- from ANY
			is_standard_equal: standard_is_equal (other)

	frozen standard_twin: like Current
			-- New object field-by-field identical to `other'.
			-- Always uses default copying semantics.
			-- (from ANY)
		ensure -- from ANY
			standard_twin_not_void: Result /= Void
			equal: standard_equal (Result, Current)

	frozen twin: like Current
			-- New object equal to `Current'
			-- twin calls copy; to change copying/twining semantics, redefine copy.
			-- (from ANY)
		ensure -- from ANY
			twin_not_void: Result /= Void
			is_equal: Result.is_equal (Current)
	
feature -- Basic operations

	frozen default: like Current
			-- Default value of object's type
			-- (from ANY)

	frozen default_pointer: POINTER
			-- Default value of type `POINTER'
			-- (Avoid the need to write `p'.default for
			-- some `p' of type `POINTER'.)
			-- (from ANY)

	default_rescue
			-- Process exception for routines with no Rescue clause.
			-- (Default: do nothing.)
			-- (from ANY)

	frozen do_nothing
			-- Execute a null action.
			-- (from ANY)
	
feature -- Constants

	key_0: INTEGER_32 is 1

	key_1: INTEGER_32 is 2

	key_2: INTEGER_32 is 3

	key_3: INTEGER_32 is 4

	key_4: INTEGER_32 is 5

	key_5: INTEGER_32 is 6

	key_6: INTEGER_32 is 7

	key_7: INTEGER_32 is 8

	key_8: INTEGER_32 is 9

	key_9: INTEGER_32 is 10

	key_a: INTEGER_32 is 68

	key_alt: INTEGER_32 is 96

	key_b: INTEGER_32 is 69

	key_back_space: INTEGER_32 is 40

	key_backquote: INTEGER_32 is 56

	key_backslash: INTEGER_32 is 54

	key_c: INTEGER_32 is 70

	key_caps_lock: INTEGER_32 is 45

	key_close_bracket: INTEGER_32 is 52

	key_comma: INTEGER_32 is 47

	key_ctrl: INTEGER_32 is 95

	key_d: INTEGER_32 is 71

	key_dash: INTEGER_32 is 57

	key_delete: INTEGER_32 is 67

	key_down: INTEGER_32 is 59

	key_e: INTEGER_32 is 72

	key_end: INTEGER_32 is 65

	key_enter: INTEGER_32 is 41

	key_equal: INTEGER_32 is 48

	key_escape: INTEGER_32 is 42

	key_f: INTEGER_32 is 73

	key_f1: INTEGER_32 is 27

	key_f10: INTEGER_32 is 36

	key_f11: INTEGER_32 is 37

	key_f12: INTEGER_32 is 38

	key_f2: INTEGER_32 is 28

	key_f3: INTEGER_32 is 29

	key_f4: INTEGER_32 is 30

	key_f5: INTEGER_32 is 31

	key_f6: INTEGER_32 is 32

	key_f7: INTEGER_32 is 33

	key_f8: INTEGER_32 is 34

	key_f9: INTEGER_32 is 35

	key_g: INTEGER_32 is 74

	key_h: INTEGER_32 is 75

	key_home: INTEGER_32 is 64

	key_i: INTEGER_32 is 76

	key_insert: INTEGER_32 is 66

	key_j: INTEGER_32 is 77

	key_k: INTEGER_32 is 78

	key_l: INTEGER_32 is 79

	key_left: INTEGER_32 is 60

	key_left_meta: INTEGER_32 is 97

	key_m: INTEGER_32 is 80

	key_menu: INTEGER_32 is 99

	key_n: INTEGER_32 is 81

	key_num_lock: INTEGER_32 is 24

	key_numpad_0: INTEGER_32 is 11

	key_numpad_1: INTEGER_32 is 12

	key_numpad_2: INTEGER_32 is 13

	key_numpad_3: INTEGER_32 is 14

	key_numpad_4: INTEGER_32 is 15

	key_numpad_5: INTEGER_32 is 16

	key_numpad_6: INTEGER_32 is 17

	key_numpad_7: INTEGER_32 is 18

	key_numpad_8: INTEGER_32 is 19

	key_numpad_9: INTEGER_32 is 20

	key_numpad_add: INTEGER_32 is 21

	key_numpad_decimal: INTEGER_32 is 26

	key_numpad_divide: INTEGER_32 is 22

	key_numpad_multiply: INTEGER_32 is 23

	key_numpad_subtract: INTEGER_32 is 25

	key_o: INTEGER_32 is 82

	key_open_bracket: INTEGER_32 is 51

	key_p: INTEGER_32 is 83

	key_page_down: INTEGER_32 is 63

	key_page_up: INTEGER_32 is 62

	key_pause: INTEGER_32 is 44

	key_period: INTEGER_32 is 49

	key_q: INTEGER_32 is 84

	key_quote: INTEGER_32 is 55

	key_r: INTEGER_32 is 85

	key_right: INTEGER_32 is 61

	key_right_meta: INTEGER_32 is 98

	key_s: INTEGER_32 is 86

	key_scroll_lock: INTEGER_32 is 46

	key_semicolon: INTEGER_32 is 50

	key_shift: INTEGER_32 is 94

	key_slash: INTEGER_32 is 53

	key_space: INTEGER_32 is 39

	key_t: INTEGER_32 is 87

	key_tab: INTEGER_32 is 43

	key_u: INTEGER_32 is 88

	key_up: INTEGER_32 is 58

	key_v: INTEGER_32 is 89

	key_w: INTEGER_32 is 90

	key_x: INTEGER_32 is 91

	key_y: INTEGER_32 is 92

	key_z: INTEGER_32 is 93
	
feature -- Contract support

	valid_key_code (a_code: INTEGER_32): BOOLEAN
			-- Is ``a_code'' a valid key code?
	
feature -- Output

	io: STD_FILES
			-- Handle to standard file setup
			-- (from ANY)

	out: STRING_8
			-- New string containing terse printable representation
			-- of current object
			-- Was declared in ANY as synonym of tagged_out.
			-- (from ANY)

	print (some: ANY)
			-- Write terse external representation of `some'
			-- on standard output.
			-- (from ANY)

	frozen tagged_out: STRING_8
			-- New string containing terse printable representation
			-- of current object
			-- Was declared in ANY as synonym of out.
			-- (from ANY)
	
feature -- Platform

	operating_environment: OPERATING_ENVIRONMENT
			-- Objects available from the operating system
			-- (from ANY)
	
invariant
		-- from ANY
	reflexive_equality: standard_is_equal (Current)
	reflexive_conformance: conforms_to (Current)

indexing
	copyright: "Copyright (c) 1984-2006, Eiffel Software and others"
	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
	source: "[
		Eiffel Software
		356 Storke Road, Goleta, CA 93117 USA
		Telephone 805-685-1006, Fax 805-685-6869
		Website http://www.eiffel.com
		Customer support http://support.eiffel.com
	]"

end -- class EV_KEY_CONSTANTS