PageRenderTime 48ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/indent/class-use/IndentAction.Collapse.html

#
HTML | 174 lines | 145 code | 23 blank | 6 comment | 0 complexity | beb50a215521aea2a7beb37a24b6a466 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:14:20 GMT-08:00 2008 -->
  6. <TITLE>
  7. Uses of Class org.gjt.sp.jedit.indent.IndentAction.Collapse (jEdit API)
  8. </TITLE>
  9. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
  10. <NOSCRIPT>
  11. </NOSCRIPT>
  12. </HEAD>
  13. <BODY BGCOLOR="white" >
  14. <!-- ========= START OF TOP NAVBAR ======= -->
  15. <A NAME="navbar_top"><!-- --></A>
  16. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  17. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  18. <TR>
  19. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  20. <A NAME="navbar_top_firstrow"><!-- --></A>
  21. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  22. <TR ALIGN="center" VALIGN="top">
  23. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  24. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  25. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../org/gjt/sp/jedit/indent/IndentAction.Collapse.html" title="class in org.gjt.sp.jedit.indent"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
  26. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
  27. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  28. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  29. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  30. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  31. </TR>
  32. </TABLE>
  33. </TD>
  34. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  35. </EM>
  36. </TD>
  37. </TR>
  38. <TR>
  39. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  40. &nbsp;PREV&nbsp;
  41. &nbsp;NEXT</FONT></TD>
  42. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  43. <A HREF="../../../../../../index.html?org/gjt/sp/jedit/indent/class-use/IndentAction.Collapse.html" target="_top"><B>FRAMES</B></A> &nbsp;
  44. &nbsp;<A HREF="IndentAction.Collapse.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  45. &nbsp;
  46. <NOSCRIPT>
  47. <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  48. </NOSCRIPT>
  49. </FONT></TD>
  50. </TR>
  51. </TABLE>
  52. <A NAME="skip-navbar_top"></A>
  53. <!-- ========= END OF TOP NAVBAR ========= -->
  54. <HR>
  55. <CENTER>
  56. <H2>
  57. <B>Uses of Class<br>org.gjt.sp.jedit.indent.IndentAction.Collapse</B></H2>
  58. </CENTER>
  59. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  60. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  61. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  62. Packages that use <A HREF="../../../../../../org/gjt/sp/jedit/indent/IndentAction.Collapse.html" title="class in org.gjt.sp.jedit.indent">IndentAction.Collapse</A></FONT></TH>
  63. </TR>
  64. <TR BGCOLOR="white" CLASS="TableRowColor">
  65. <TD><A HREF="#org.gjt.sp.jedit.indent"><B>org.gjt.sp.jedit.indent</B></A></TD>
  66. <TD>&nbsp;&nbsp;</TD>
  67. </TR>
  68. </TABLE>
  69. &nbsp;
  70. <P>
  71. <A NAME="org.gjt.sp.jedit.indent"><!-- --></A>
  72. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  73. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  74. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  75. Uses of <A HREF="../../../../../../org/gjt/sp/jedit/indent/IndentAction.Collapse.html" title="class in org.gjt.sp.jedit.indent">IndentAction.Collapse</A> in <A HREF="../../../../../../org/gjt/sp/jedit/indent/package-summary.html">org.gjt.sp.jedit.indent</A></FONT></TH>
  76. </TR>
  77. </TABLE>
  78. &nbsp;
  79. <P>
  80. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  81. <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
  82. <TH ALIGN="left" COLSPAN="2">Fields in <A HREF="../../../../../../org/gjt/sp/jedit/indent/package-summary.html">org.gjt.sp.jedit.indent</A> declared as <A HREF="../../../../../../org/gjt/sp/jedit/indent/IndentAction.Collapse.html" title="class in org.gjt.sp.jedit.indent">IndentAction.Collapse</A></FONT></TH>
  83. </TR>
  84. <TR BGCOLOR="white" CLASS="TableRowColor">
  85. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  86. <CODE>static&nbsp;<A HREF="../../../../../../org/gjt/sp/jedit/indent/IndentAction.Collapse.html" title="class in org.gjt.sp.jedit.indent">IndentAction.Collapse</A></CODE></FONT></TD>
  87. <TD><CODE><B>IndentAction.</B><B><A HREF="../../../../../../org/gjt/sp/jedit/indent/IndentAction.html#PrevCollapse">PrevCollapse</A></B></CODE>
  88. <BR>
  89. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This handles the following Java code:
  90. if(something)
  91. { // no indentation on this line, even though previous matches a rule</TD>
  92. </TR>
  93. <TR BGCOLOR="white" CLASS="TableRowColor">
  94. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  95. <CODE>static&nbsp;<A HREF="../../../../../../org/gjt/sp/jedit/indent/IndentAction.Collapse.html" title="class in org.gjt.sp.jedit.indent">IndentAction.Collapse</A></CODE></FONT></TD>
  96. <TD><CODE><B>IndentAction.</B><B><A HREF="../../../../../../org/gjt/sp/jedit/indent/IndentAction.html#PrevPrevCollapse">PrevPrevCollapse</A></B></CODE>
  97. <BR>
  98. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This handles cases like:
  99. if (foo)
  100. bar;
  101. for (something; condition; action) {
  102. }
  103. Without this the "for" line would be incorrectly indented.</TD>
  104. </TR>
  105. </TABLE>
  106. &nbsp;
  107. <P>
  108. <HR>
  109. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  110. <A NAME="navbar_bottom"><!-- --></A>
  111. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  112. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  113. <TR>
  114. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  115. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  116. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  117. <TR ALIGN="center" VALIGN="top">
  118. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  119. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  120. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../org/gjt/sp/jedit/indent/IndentAction.Collapse.html" title="class in org.gjt.sp.jedit.indent"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
  121. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
  122. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  123. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  124. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  125. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  126. </TR>
  127. </TABLE>
  128. </TD>
  129. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  130. </EM>
  131. </TD>
  132. </TR>
  133. <TR>
  134. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  135. &nbsp;PREV&nbsp;
  136. &nbsp;NEXT</FONT></TD>
  137. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  138. <A HREF="../../../../../../index.html?org/gjt/sp/jedit/indent/class-use/IndentAction.Collapse.html" target="_top"><B>FRAMES</B></A> &nbsp;
  139. &nbsp;<A HREF="IndentAction.Collapse.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  140. &nbsp;
  141. <NOSCRIPT>
  142. <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  143. </NOSCRIPT>
  144. </FONT></TD>
  145. </TR>
  146. </TABLE>
  147. <A NAME="skip-navbar_bottom"></A>
  148. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  149. <HR>
  150. </BODY>
  151. </HTML>