⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 event.html

📁 J2ME PDA开发PIM的技术规范,可使应用程序查看手机本地联系人列表, 本地文件
💻 HTML
📖 第 1 页 / 共 3 页
字号:
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#CLASS">CLASS</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field specifying 
						the desired access class for this contact.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#CLASS_CONFIDENTIAL">CLASS_CONFIDENTIAL</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constant indicating 
						this event's class of access is confidential.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#CLASS_PRIVATE">CLASS_PRIVATE</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constant indicating 
						this event's class of access is private.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#CLASS_PUBLIC">CLASS_PUBLIC</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constant indicating 
						this event's class of access is public.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#END">END</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field specifying 
						the non-inclusive date and time a single Event ends.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#LOCATION">LOCATION</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field identifying 
						the venue for this Event.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#NOTE">NOTE</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A String specifying 
						a more complete description than the <CODE>SUMMARY</CODE> for this Event.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#REVISION">REVISION</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field specifying 
						the last modification date and time of an Event item.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#START">START</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field specifying 
						the inclusive date and time a single Event starts.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#SUMMARY">SUMMARY</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field specifying 
						the summary or subject for this Event.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#UID">UID</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field specifying a 
						unique ID for an Event.</TD>
				</TR>
			</TABLE>
			&nbsp;<A NAME="fields_inherited_from_class_javax.microedition.pim.PIMItem"><!-- --></A>
			<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
				<TR BGCOLOR="#eeeeff" CLASS="TableSubHeadingColor">
					<TD><B>Fields inherited from interface javax.microedition.pim.<A HREF="../../../javax/microedition/pim/PIMItem.html">PIMItem</A></B></TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD><CODE><A HREF="../../../javax/microedition/pim/PIMItem.html#ATTR_NONE">ATTR_NONE</A>,
							<A HREF="../../../javax/microedition/pim/PIMItem.html#BINARY">BINARY</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#BOOLEAN">
								BOOLEAN</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#DATE">DATE</A>,
							<A HREF="../../../javax/microedition/pim/PIMItem.html#EXTENDED_ATTRIBUTE_MIN_VALUE">
								EXTENDED_ATTRIBUTE_MIN_VALUE</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#EXTENDED_FIELD_MIN_VALUE">
								EXTENDED_FIELD_MIN_VALUE</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#INT">
								INT</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#STRING">STRING</A>,
							<A HREF="../../../javax/microedition/pim/PIMItem.html#STRING_ARRAY">STRING_ARRAY</A></CODE></TD>
				</TR>
			</TABLE>
			&nbsp; 
			<!-- ======== CONSTRUCTOR SUMMARY ======== -->
			<!-- ========== METHOD SUMMARY =========== -->
			<A NAME="method_summary"><!-- --></A>
			<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
				<TR BGCOLOR="#ccccff" CLASS="TableHeadingColor">
					<TD COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;<A HREF="../../../javax/microedition/pim/RepeatRule.html">RepeatRule</A></CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#getRepeat()">getRepeat</A></B>()</CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a 
						RepeatRule object specifying how often and when this event occurs.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Event.html#setRepeat(javax.microedition.pim.RepeatRule)">setRepeat</A></B>(<A HREF="../../../javax/microedition/pim/RepeatRule.html">RepeatRule</A>&nbsp;value)</CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the RepeatRule 
						specifying how often and when this event occurs.</TD>
				</TR>
			</TABLE>
			&nbsp;<A NAME="methods_inherited_from_class_javax.microedition.pim.PIMItem"><!-- --></A>
			<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
				<TR BGCOLOR="#eeeeff" CLASS="TableSubHeadingColor">
					<TD><B>Methods inherited from interface javax.microedition.pim.<A HREF="../../../javax/microedition/pim/PIMItem.html">PIMItem</A></B></TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD><CODE><A HREF="../../../javax/microedition/pim/PIMItem.html#addBinary(int, int, byte[], int, int)">addBinary</A>,
							<A HREF="../../../javax/microedition/pim/PIMItem.html#addBoolean(int, int, boolean)">
								addBoolean</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#addDate(int, int, long)">
								addDate</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#addInt(int, int, int)">
								addInt</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#addString(int, int, java.lang.String)">
								addString</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#addStringArray(int, int, java.lang.String[])">
								addStringArray</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#addToCategory(java.lang.String)">
								addToCategory</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#commit()">
								commit</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#countValues(int)">
								countValues</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getAttributes(int, int)">
								getAttributes</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getBinary(int, int)">
								getBinary</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getBoolean(int, int)">
								getBoolean</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getCategories()">
								getCategories</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getDate(int, int)">
								getDate</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getFields()">
								getFields</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getInt(int, int)">
								getInt</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getPIMList()">
								getPIMList</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getString(int, int)">
								getString</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getStringArray(int, int)">
								getStringArray</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#isModified()">
								isModified</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#maxCategories()">
								maxCategories</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#removeFromCategory(java.lang.String)">
								removeFromCategory</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#removeValue(int, int)">
								removeValue</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setBinary(int, int, int, byte[], int, int)">
								setBinary</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setBoolean(int, int, int, boolean)">
								setBoolean</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setDate(int, int, int, long)">
								setDate</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setInt(int, int, int, int)">
								setInt</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setString(int, int, int, java.lang.String)">
								setString</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setStringArray(int, int, int, java.lang.String[])">
								setStringArray</A></CODE></TD>
				</TR>
			</TABLE>
		&nbsp;
		<P>
			<!-- ============ FIELD DETAIL =========== -->
			<A NAME="field_detail"><!-- --></A>
			<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
				<TR BGCOLOR="#ccccff" CLASS="TableHeadingColor">
					<TD COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TD>
				</TR>
			</TABLE>
			<A NAME="ALARM"><!-- --></A><H3>
				ALARM</H3>
			<PRE>
public static final int <B>ALARM</B></PRE>
			<DL>
				<DD>
					Field specifying a relative time for an Alarm for this Event. Data for this 
					field is expressed with an int data type. The alarm is expressed in seconds and 
					derived by subtracting the alarm value from every date/time occurrence of this 
					Event. For example, if this field has a value of 600, then the alarm first 
					occurs 600 seconds before the date/time value specified by <code>Event.START</code>. 
					For reoccurrences of the event, the alarm is calculated by substracting the 
					stored value from the date/time of the specific event occurrence.
					<P></P>
					<P>
						Note that the value provided may be rounded-down by an implementation due to 
						platform restrictions. For example, should a native Event database only support 
						alarm values with granularity in terms of minutes, then the provided alarm 
						value is rounded down to the nearest minute (e.g. 636 seconds would become 600 
						seconds).
					</P>
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Event.ALARM">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="CLASS"><!-- --></A><H3>
				CLASS</H3>
			<PRE>
public static final int <B>CLASS</B></PRE>
			<DL>
				<DD>
					Field specifying the desired access class for this contact. Data associated 
					with this field is of int type, and can be one of the values <A HREF="../../../javax/microedition/pim/Event.html#CLASS_PRIVATE">
						<CODE>CLASS_PRIVATE</CODE></A>, <A HREF="../../../javax/microedition/pim/Event.html#CLASS_PUBLIC">
						<CODE>CLASS_PUBLIC</CODE></A>, or <A HREF="../../../javax/microedition/pim/Event.html#CLASS_CONFIDENTIAL">
						<CODE>CLASS_CONFIDENTIAL</CODE></A>.
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Event.CLASS">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="END"><!-- --></A><H3>
				END</H3>
			<PRE>
public static final int <B>END</B></PRE>
			<DL>
				<DD>
					Field specifying the non-inclusive date and time a single Event ends. Data for 
					this field is expressed in the same long value format as java.util.Date, which 
					is milliseconds since the epoch (00:00:00 GMT, January 1, 1970).
					<P></P>
					<P>
						If <CODE>START</CODE> and <CODE>END</CODE> are the same this event is an all 
						day event. If <CODE>END</CODE> is specified but <CODE>START</CODE> is not, the 
						event occurs only at the instance specified by <CODE>END</CODE>.
					</P>
					<P>
						Note that the value provided may be rounded-down by an implementation due to 
						platform restrictions. For example, should a native Event database only support 
						event date values with granularity in terms of seconds, then the provided date 
						value is rounded down to a date time with a full second.
					</P>
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../javax/microedition/pim/Event.html#START"><CODE>START</CODE></A>,
									<A HREF="../../../constant-values.html#javax.microedition.pim.Event.END">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="LOCATION"><!-- --></A><H3>
				LOCATION</H3>
			<PRE>
public static final int <B>LOCATION</B></PRE>
			<DL>
				<DD>
					Field identifying the venue for this Event. Data for this field is a string 
					value. For example:
					<BR>
					"Conference Room - F123, Bldg. 002"
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Event.LOCATION">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="NOTE"><!-- --></A><H3>
				NOTE</H3>
			<PRE>
public static final int <B>NOTE</B></PRE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -