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

📄 usermodel.html

📁 visual modeler--gridsim资源工具
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getAllUserName()"><!-- --></A><H3>getAllUserName</H3><PRE>public Vector <B>getAllUserName</B>()</PRE><DL><DD>Gets all grid user names<P><DD><DL><DT><B>Returns:</B><DD>a list of names in Vector object<DT><B>Pre Condition:</B></DT>  <DD>$none</DD><DT><B>Post Condition:</B></DT>  <DD>$result != null</DD></DL></DD></DL><HR><A NAME="getUserCounter()"><!-- --></A><H3>getUserCounter</H3><PRE>public int <B>getUserCounter</B>()</PRE><DL><DD>Gets the grid user counter<P><DD><DL><DT><B>Returns:</B><DD>a counter<DT><B>Pre Condition:</B></DT>  <DD>$none</DD><DT><B>Post Condition:</B></DT>  <DD>$result >= 0</DD></DL></DD></DL><HR><A NAME="getTotalUser()"><!-- --></A><H3>getTotalUser</H3><PRE>public int <B>getTotalUser</B>()</PRE><DL><DD>Gets the total number of grid users<P><DD><DL><DT><B>Returns:</B><DD>total number<DT><B>Pre Condition:</B></DT>  <DD>$none</DD><DT><B>Post Condition:</B></DT>  <DD>$result >= 0</DD></DL></DD></DL><HR><A NAME="createUser(int, boolean)"><!-- --></A><H3>createUser</H3><PRE>public void <B>createUser</B>(int&nbsp;num,                       boolean&nbsp;random)</PRE><DL><DD>Creates a given number of grid users<P><DD><DL><DT><B>Parameters:</B><DD><CODE>num</CODE> - how many grid users to be created<DD><CODE>random</CODE> - a flag to indicate whether random values are needed or                  not<DT><B>Pre Condition:</B></DT>  <DD>num >= 0</DD><DT><B>Post Condition:</B></DT>  <DD>$none</DD></DL></DD></DL><HR><A NAME="removeAllUser()"><!-- --></A><H3>removeAllUser</H3><PRE>public void <B>removeAllUser</B>()</PRE><DL><DD>Removes all grid users<P><DD><DL><DT><B>Pre Condition:</B></DT>  <DD>$none</DD><DT><B>Post Condition:</B></DT>  <DD>$none</DD></DL></DD></DL><HR><A NAME="removeUser(int)"><!-- --></A><H3>removeUser</H3><PRE>public void <B>removeUser</B>(int&nbsp;index)</PRE><DL><DD>Remoes a grid user at a given location in a data structure<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - location in a data structure<DT><B>Pre Condition:</B></DT>  <DD>index >= 0</DD><DT><B>Post Condition:</B></DT>  <DD>$none</DD></DL></DD></DL><HR><A NAME="showProperty(int)"><!-- --></A><H3>showProperty</H3><PRE>public void <B>showProperty</B>(int&nbsp;index)</PRE><DL><DD>Shows the dialog properties of a given grid user<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - location in a data structure<DT><B>Pre Condition:</B></DT>  <DD>index >= 0</DD><DT><B>Post Condition:</B></DT>  <DD>$none</DD></DL></DD></DL><HR><A NAME="showProperty(java.lang.String)"><!-- --></A><H3>showProperty</H3><PRE>public void <B>showProperty</B>(String&nbsp;value)</PRE><DL><DD>Shows the dialog properties of a given grid user<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - a grid user name<DT><B>Pre Condition:</B></DT>  <DD>value != null</DD><DT><B>Post Condition:</B></DT>  <DD>$none</DD></DL></DD></DL><HR><A NAME="generateCode(java.lang.String)"><!-- --></A><H3>generateCode</H3><PRE>public String <B>generateCode</B>(String&nbsp;indent)</PRE><DL><DD>Generates a Java code regarding to grid users<P><DD><DL><DT><B>Parameters:</B><DD><CODE>indent</CODE> - indentation<DT><B>Returns:</B><DD>a Java code in String object<DT><B>Pre Condition:</B></DT>  <DD>indent != null</DD><DT><B>Post Condition:</B></DT>  <DD>$result != null</DD></DL></DD></DL><HR><A NAME="saveFile(java.lang.String)"><!-- --></A><H3>saveFile</H3><PRE>public String <B>saveFile</B>(String&nbsp;indent)</PRE><DL><DD>Generates a XML code regarding to grid users<P><DD><DL><DT><B>Parameters:</B><DD><CODE>indent</CODE> - indentation<DT><B>Returns:</B><DD>a XML code in String object<DT><B>Pre Condition:</B></DT>  <DD>indent != null</DD><DT><B>Post Condition:</B></DT>  <DD>$result != null</DD></DL></DD></DL><HR><A NAME="hasChanged()"><!-- --></A><H3>hasChanged</H3><PRE>public boolean <B>hasChanged</B>()</PRE><DL><DD>Checks whether the properties of grid user has changed or not<P><DD><DL><DT><B>Returns:</B><DD><tt>true</tt> if it has changed, <tt>false</tt> otherwise<DT><B>Pre Condition:</B></DT>  <DD>$none</DD><DT><B>Post Condition:</B></DT>  <DD>$none</DD></DL></DD></DL><HR><A NAME="newValue()"><!-- --></A><H3>newValue</H3><PRE>public void <B>newValue</B>()</PRE><DL><DD>Deletes all existing values and starts fresh<P><DD><DL><DT><B>Pre Condition:</B></DT>  <DD>$none</DD><DT><B>Post Condition:</B></DT>  <DD>$none</DD></DL></DD></DL><HR><A NAME="loadXml(org.w3c.dom.NodeList)"><!-- --></A><H3>loadXml</H3><PRE>public void <B>loadXml</B>(org.w3c.dom.NodeList&nbsp;nodeList)             throws Exception</PRE><DL><DD>Loads a XML code regarding to grid users<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nodeList</CODE> - a NodeList object<DT><B>Throws:</B><DD><CODE>Exception</CODE> - if error occurs on reading or parsing XML code<DT><B>Pre Condition:</B></DT>  <DD>nodeList != null</DD><DT><B>Post Condition:</B></DT>  <DD>$none</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../visualmodeler/ResourceProperty.html" title="class in visualmodeler"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../visualmodeler/UserProperty.html" title="class in visualmodeler"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="UserModel.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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