4
%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
6
%% The contents of this file are subject to the Erlang Public License,
7
%% Version 1.1, (the "License"); you may not use this file except in
8
%% compliance with the License. You should have received a copy of the
9
%% Erlang Public License along with this software. If not, it can be
10
%% retrieved online at http://www.erlang.org/.
12
%% Software distributed under the License is distributed on an "AS IS"
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
%% the License for the specific language governing rights and limitations
18
%% This file is generated DO NOT EDIT
20
%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarevent.html">wxCalendarEvent</a>.
21
%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
22
%% <dd><em>calendar_sel_changed</em>, <em>calendar_day_changed</em>, <em>calendar_month_changed</em>, <em>calendar_year_changed</em>, <em>calendar_doubleclicked</em>, <em>calendar_weekday_clicked</em></dd></dl>
23
%% See also the message variant {@link wxEvtHandler:wxCalendar(). #wxCalendar{}} event record type.
25
%% <p>This class is derived (and can use functions) from:
26
%% <br />{@link wxDateEvent}
27
%% <br />{@link wxCommandEvent}
28
%% <br />{@link wxEvent}
30
%% @type wxCalendarEvent(). An object reference, The representation is internal
31
%% and can be changed without notice. It can't be used for comparsion
32
%% stored on disc or distributed for use on other nodes.
34
-module(wxCalendarEvent).
36
-export([getWeekDay/1]).
39
-export([getClientData/1,getDate/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,
40
getSkipped/1,getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,
41
isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2,
42
shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
45
parent_class(wxDateEvent) -> true;
46
parent_class(wxCommandEvent) -> true;
47
parent_class(wxEvent) -> true;
48
parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
50
%% @spec (This::wxCalendarEvent()) -> WeekDay
51
%% WeekDay = integer()
52
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarevent.html#wxcalendareventgetweekday">external documentation</a>.
53
%%<br /> WeekDay is one of ?wxDateTime_Sun | ?wxDateTime_Mon | ?wxDateTime_Tue | ?wxDateTime_Wed | ?wxDateTime_Thu | ?wxDateTime_Fri | ?wxDateTime_Sat | ?wxDateTime_Inv_WeekDay
54
getWeekDay(#wx_ref{type=ThisT,ref=ThisRef}) ->
55
?CLASS(ThisT,wxCalendarEvent),
56
wxe_util:call(?wxCalendarEvent_GetWeekDay,
61
getDate(This) -> wxDateEvent:getDate(This).
62
%% From wxCommandEvent
64
setString(This,S) -> wxCommandEvent:setString(This,S).
66
setInt(This,I) -> wxCommandEvent:setInt(This,I).
68
isSelection(This) -> wxCommandEvent:isSelection(This).
70
isChecked(This) -> wxCommandEvent:isChecked(This).
72
getString(This) -> wxCommandEvent:getString(This).
74
getSelection(This) -> wxCommandEvent:getSelection(This).
76
getInt(This) -> wxCommandEvent:getInt(This).
78
getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
80
getClientData(This) -> wxCommandEvent:getClientData(This).
83
stopPropagation(This) -> wxEvent:stopPropagation(This).
85
skip(This, Options) -> wxEvent:skip(This, Options).
87
skip(This) -> wxEvent:skip(This).
89
shouldPropagate(This) -> wxEvent:shouldPropagate(This).
91
resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
93
isCommandEvent(This) -> wxEvent:isCommandEvent(This).
95
getTimestamp(This) -> wxEvent:getTimestamp(This).
97
getSkipped(This) -> wxEvent:getSkipped(This).
99
getId(This) -> wxEvent:getId(This).