📄 projectitem.html
字号:
boolean recurs)</CODE><BR> If the item and its branches has the input filename.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#isLocaleRole()">isLocaleRole</A></B>()</CODE><BR> Check the role of this file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#isProjectFile()">isProjectFile</A></B>()</CODE><BR> Check the role of this file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#isResourceFile()">isResourceFile</A></B>()</CODE><BR> Check the role of this file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#isSourceFile()">isSourceFile</A></B>()</CODE><BR> Check the role of this file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#removeBranch(int)">removeBranch</A></B>(int index)</CODE><BR> Remove a branch with the index.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#removeBranch(com.sun.tdc.toolkit.api.internal.ProjectItem)">removeBranch</A></B>(<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html">ProjectItem</A> item)</CODE><BR> Remove a branch with the item.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#removeBranches()">removeBranches</A></B>()</CODE><BR> Remove banches.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#setLocaleRole(com.sun.tdc.toolkit.api.internal.ProjectItem)">setLocaleRole</A></B>(<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html">ProjectItem</A> res)</CODE><BR> Set the role of this file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#setPathName(java.lang.String)">setPathName</A></B>(java.lang.String pathName)</CODE><BR> </TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#setProjectFile()">setProjectFile</A></B>()</CODE><BR> Set the role of this file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#setResourceFile()">setResourceFile</A></B>()</CODE><BR> Set the role of this file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#setSourceFile()">setSourceFile</A></B>()</CODE><BR> Set the role of this file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#toString()">toString</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html#workDirChanged(java.lang.String)">workDirChanged</A></B>(java.lang.String cwd)</CODE><BR> </TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD><CODE><clinit>, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" ID="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="dir"><!-- --></A><H3>dir</H3><PRE>java.lang.String <B>dir</B></PRE><DL><DD>Relative dir to Project work directory.</DL><HR><A NAME="fileName"><!-- --></A><H3>fileName</H3><PRE>java.lang.String <B>fileName</B></PRE><DL><DD>File name of ite,.</DL><HR><A NAME="role"><!-- --></A><H3>role</H3><PRE>java.lang.String <B>role</B></PRE><DL><DD>Define the role of this item. A java file, a property, a resource file, or a image file.</DL><HR><A NAME="branches"><!-- --></A><H3>branches</H3><PRE>java.util.Vector <B>branches</B></PRE><DL><DD>Sub items of this one.</DL><HR><A NAME="project"><!-- --></A><H3>project</H3><PRE><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectInterface.html">ProjectInterface</A> <B>project</B></PRE><DL><DD>Project which contains this item.</DL><HR><A NAME="ROOT_ROLE"><!-- --></A><H3>ROOT_ROLE</H3><PRE>public static final java.lang.String <B>ROOT_ROLE</B></PRE><DL></DL><HR><A NAME="SOURCE_ROLE"><!-- --></A><H3>SOURCE_ROLE</H3><PRE>public static final java.lang.String <B>SOURCE_ROLE</B></PRE><DL></DL><HR><A NAME="RESOURCE_ROLE"><!-- --></A><H3>RESOURCE_ROLE</H3><PRE>public static final java.lang.String <B>RESOURCE_ROLE</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" ID="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ProjectItem(java.lang.String, com.sun.tdc.toolkit.api.internal.ProjectInterface)"><!-- --></A><H3>ProjectItem</H3><PRE>public <B>ProjectItem</B>(java.lang.String fileName, <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectInterface.html">ProjectInterface</A> prj)</PRE><DL><DD>Constructor.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" ID="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD>clone in class java.lang.Object</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD>toString in class java.lang.Object</DL></DD></DL><HR><A NAME="workDirChanged(java.lang.String)"><!-- --></A><H3>workDirChanged</H3><PRE>public void <B>workDirChanged</B>(java.lang.String cwd)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setPathName(java.lang.String)"><!-- --></A><H3>setPathName</H3><PRE>public void <B>setPathName</B>(java.lang.String pathName)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="addBranch(com.sun.tdc.toolkit.api.internal.ProjectItem)"><!-- --></A><H3>addBranch</H3><PRE>public boolean <B>addBranch</B>(<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html">ProjectItem</A> item)</PRE><DL><DD>Add sub item<DD><DL></DL></DD></DL><HR><A NAME="removeBranch(int)"><!-- --></A><H3>removeBranch</H3><PRE>public boolean <B>removeBranch</B>(int index)</PRE><DL><DD>Remove a branch with the index.<DD><DL></DL></DD></DL><HR><A NAME="removeBranch(com.sun.tdc.toolkit.api.internal.ProjectItem)"><!-- --></A><H3>removeBranch</H3><PRE>public boolean <B>removeBranch</B>(<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.html">ProjectItem</A> item)</PRE><DL><DD>Remove a branch with the item.<DD><DL></DL></DD></DL><HR><A NAME="removeBranches()"><!-- --></A><H3>removeBranches</H3><PRE>public void <B>removeBranches</B>()</PRE><DL><DD>Remove banches.<DD><DL></DL></DD></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -