PageRenderTime 45ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/indent/IndentAction.Decrease.html

#
HTML | 310 lines | 260 code | 36 blank | 14 comment | 0 complexity | 4d9b2dfbebff84f9494adc083ebb08ce 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:02 GMT-08:00 2008 -->
  6. <TITLE>
  7. IndentAction.Decrease (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.indent.IndentAction.Decrease class">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  11. <NOSCRIPT>
  12. </NOSCRIPT>
  13. </HEAD>
  14. <BODY BGCOLOR="white" >
  15. <!-- ========= START OF TOP NAVBAR ======= -->
  16. <A NAME="navbar_top"><!-- --></A>
  17. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  18. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  19. <TR>
  20. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  21. <A NAME="navbar_top_firstrow"><!-- --></A>
  22. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  23. <TR ALIGN="center" VALIGN="top">
  24. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  25. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  26. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  27. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/IndentAction.Decrease.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  28. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  29. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  30. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  32. </TR>
  33. </TABLE>
  34. </TD>
  35. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  36. </EM>
  37. </TD>
  38. </TR>
  39. <TR>
  40. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  41. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.Collapse.html" title="class in org.gjt.sp.jedit.indent"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.Increase.html" title="class in org.gjt.sp.jedit.indent"><B>NEXT CLASS</B></A></FONT></TD>
  43. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  44. <A HREF="../../../../../index.html?org/gjt/sp/jedit/indent/IndentAction.Decrease.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="IndentAction.Decrease.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  46. &nbsp;
  47. <NOSCRIPT>
  48. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  49. </NOSCRIPT>
  50. </FONT></TD>
  51. </TR>
  52. <TR>
  53. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  54. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  55. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  56. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  57. </TR>
  58. </TABLE>
  59. <A NAME="skip-navbar_top"></A>
  60. <!-- ========= END OF TOP NAVBAR ========= -->
  61. <HR>
  62. <!-- ======== START OF CLASS DATA ======== -->
  63. <H2>
  64. <FONT SIZE="-1">
  65. org.gjt.sp.jedit.indent</FONT>
  66. <BR>
  67. Class IndentAction.Decrease</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.indent.IndentAction.Decrease</B>
  71. </PRE>
  72. <DL>
  73. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.html" title="interface in org.gjt.sp.jedit.indent">IndentAction</A></DD>
  74. </DL>
  75. <DL>
  76. <DT><B>Enclosing interface:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.html" title="interface in org.gjt.sp.jedit.indent">IndentAction</A></DD>
  77. </DL>
  78. <HR>
  79. <DL>
  80. <DT><PRE>public static class <B>IndentAction.Decrease</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.html" title="interface in org.gjt.sp.jedit.indent">IndentAction</A></DL>
  81. </PRE>
  82. <P>
  83. <HR>
  84. <P>
  85. <!-- ======== NESTED CLASS SUMMARY ======== -->
  86. <A NAME="nested_class_summary"><!-- --></A>
  87. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  88. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  89. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  90. <B>Nested Class Summary</B></FONT></TH>
  91. </TR>
  92. </TABLE>
  93. &nbsp;<A NAME="nested_classes_inherited_from_class_org.gjt.sp.jedit.indent.IndentAction"><!-- --></A>
  94. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  95. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  96. <TH ALIGN="left"><B>Nested classes/interfaces inherited from interface org.gjt.sp.jedit.indent.<A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.html" title="interface in org.gjt.sp.jedit.indent">IndentAction</A></B></TH>
  97. </TR>
  98. <TR BGCOLOR="white" CLASS="TableRowColor">
  99. <TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.AlignOffset.html" title="class in org.gjt.sp.jedit.indent">IndentAction.AlignOffset</A>, <A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.AlignParameter.html" title="class in org.gjt.sp.jedit.indent">IndentAction.AlignParameter</A>, <A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.Collapse.html" title="class in org.gjt.sp.jedit.indent">IndentAction.Collapse</A>, <A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.Decrease.html" title="class in org.gjt.sp.jedit.indent">IndentAction.Decrease</A>, <A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.Increase.html" title="class in org.gjt.sp.jedit.indent">IndentAction.Increase</A>, <A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.NoIncrease.html" title="class in org.gjt.sp.jedit.indent">IndentAction.NoIncrease</A>, <A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.Reset.html" title="class in org.gjt.sp.jedit.indent">IndentAction.Reset</A></CODE></TD>
  100. </TR>
  101. </TABLE>
  102. &nbsp;
  103. <!-- =========== FIELD SUMMARY =========== -->
  104. <A NAME="field_summary"><!-- --></A>
  105. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  106. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  107. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  108. <B>Field Summary</B></FONT></TH>
  109. </TR>
  110. </TABLE>
  111. &nbsp;<A NAME="fields_inherited_from_class_org.gjt.sp.jedit.indent.IndentAction"><!-- --></A>
  112. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  113. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  114. <TH ALIGN="left"><B>Fields inherited from interface org.gjt.sp.jedit.indent.<A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.html" title="interface in org.gjt.sp.jedit.indent">IndentAction</A></B></TH>
  115. </TR>
  116. <TR BGCOLOR="white" CLASS="TableRowColor">
  117. <TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.html#PrevCollapse">PrevCollapse</A>, <A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.html#PrevPrevCollapse">PrevPrevCollapse</A></CODE></TD>
  118. </TR>
  119. </TABLE>
  120. &nbsp;
  121. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  122. <A NAME="constructor_summary"><!-- --></A>
  123. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  124. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  125. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  126. <B>Constructor Summary</B></FONT></TH>
  127. </TR>
  128. <TR BGCOLOR="white" CLASS="TableRowColor">
  129. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.Decrease.html#IndentAction.Decrease()">IndentAction.Decrease</A></B>()</CODE>
  130. <BR>
  131. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  132. </TR>
  133. </TABLE>
  134. &nbsp;
  135. <!-- ========== METHOD SUMMARY =========== -->
  136. <A NAME="method_summary"><!-- --></A>
  137. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  138. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  139. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  140. <B>Method Summary</B></FONT></TH>
  141. </TR>
  142. <TR BGCOLOR="white" CLASS="TableRowColor">
  143. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  144. <CODE>&nbsp;int</CODE></FONT></TD>
  145. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.Decrease.html#calculateIndent(org.gjt.sp.jedit.buffer.JEditBuffer, int, int, int)">calculateIndent</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html" title="class in org.gjt.sp.jedit.buffer">JEditBuffer</A>&nbsp;buffer,
  146. int&nbsp;line,
  147. int&nbsp;oldIndent,
  148. int&nbsp;newIndent)</CODE>
  149. <BR>
  150. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  151. </TR>
  152. <TR BGCOLOR="white" CLASS="TableRowColor">
  153. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  154. <CODE>&nbsp;boolean</CODE></FONT></TD>
  155. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.Decrease.html#keepChecking()">keepChecking</A></B>()</CODE>
  156. <BR>
  157. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  158. </TR>
  159. </TABLE>
  160. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  161. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  162. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  163. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  164. </TR>
  165. <TR BGCOLOR="white" CLASS="TableRowColor">
  166. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  167. </TR>
  168. </TABLE>
  169. &nbsp;
  170. <P>
  171. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  172. <A NAME="constructor_detail"><!-- --></A>
  173. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  174. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  175. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  176. <B>Constructor Detail</B></FONT></TH>
  177. </TR>
  178. </TABLE>
  179. <A NAME="IndentAction.Decrease()"><!-- --></A><H3>
  180. IndentAction.Decrease</H3>
  181. <PRE>
  182. public <B>IndentAction.Decrease</B>()</PRE>
  183. <DL>
  184. </DL>
  185. <!-- ============ METHOD DETAIL ========== -->
  186. <A NAME="method_detail"><!-- --></A>
  187. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  188. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  189. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  190. <B>Method Detail</B></FONT></TH>
  191. </TR>
  192. </TABLE>
  193. <A NAME="calculateIndent(org.gjt.sp.jedit.buffer.JEditBuffer, int, int, int)"><!-- --></A><H3>
  194. calculateIndent</H3>
  195. <PRE>
  196. public int <B>calculateIndent</B>(<A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html" title="class in org.gjt.sp.jedit.buffer">JEditBuffer</A>&nbsp;buffer,
  197. int&nbsp;line,
  198. int&nbsp;oldIndent,
  199. int&nbsp;newIndent)</PRE>
  200. <DL>
  201. <DD><DL>
  202. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.html#calculateIndent(org.gjt.sp.jedit.buffer.JEditBuffer, int, int, int)">calculateIndent</A></CODE> in interface <CODE><A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.html" title="interface in org.gjt.sp.jedit.indent">IndentAction</A></CODE></DL>
  203. </DD>
  204. <DD><DL>
  205. <DT><B>Parameters:</B><DD><CODE>buffer</CODE> - The buffer<DD><CODE>line</CODE> - The line number that matched the rule; not necessarily
  206. the line being indented.<DD><CODE>oldIndent</CODE> - Original indent.<DD><CODE>newIndent</CODE> - The new indent -- ie, indent returned by previous
  207. indent action.</DL>
  208. </DD>
  209. </DL>
  210. <HR>
  211. <A NAME="keepChecking()"><!-- --></A><H3>
  212. keepChecking</H3>
  213. <PRE>
  214. public boolean <B>keepChecking</B>()</PRE>
  215. <DL>
  216. <DD><DL>
  217. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.html#keepChecking()">keepChecking</A></CODE> in interface <CODE><A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.html" title="interface in org.gjt.sp.jedit.indent">IndentAction</A></CODE></DL>
  218. </DD>
  219. <DD><DL>
  220. <DT><B>Returns:</B><DD>true if the indent engine should keep processing after
  221. this rule.</DL>
  222. </DD>
  223. </DL>
  224. <!-- ========= END OF CLASS DATA ========= -->
  225. <HR>
  226. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  227. <A NAME="navbar_bottom"><!-- --></A>
  228. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  229. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  230. <TR>
  231. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  232. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  233. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  234. <TR ALIGN="center" VALIGN="top">
  235. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  236. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  237. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  238. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/IndentAction.Decrease.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  239. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  240. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  241. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  242. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  243. </TR>
  244. </TABLE>
  245. </TD>
  246. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  247. </EM>
  248. </TD>
  249. </TR>
  250. <TR>
  251. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  252. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.Collapse.html" title="class in org.gjt.sp.jedit.indent"><B>PREV CLASS</B></A>&nbsp;
  253. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/indent/IndentAction.Increase.html" title="class in org.gjt.sp.jedit.indent"><B>NEXT CLASS</B></A></FONT></TD>
  254. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  255. <A HREF="../../../../../index.html?org/gjt/sp/jedit/indent/IndentAction.Decrease.html" target="_top"><B>FRAMES</B></A> &nbsp;
  256. &nbsp;<A HREF="IndentAction.Decrease.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  257. &nbsp;
  258. <NOSCRIPT>
  259. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  260. </NOSCRIPT>
  261. </FONT></TD>
  262. </TR>
  263. <TR>
  264. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  265. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  266. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  267. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  268. </TR>
  269. </TABLE>
  270. <A NAME="skip-navbar_bottom"></A>
  271. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  272. <HR>
  273. </BODY>
  274. </HTML>