/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/class-use/Mode.html
HTML | 307 lines | 264 code | 37 blank | 6 comment | 0 complexity | 9ce0d59986b08c6d136e8027653b311c 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
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!--NewPage-->
- <HTML>
- <HEAD>
- <!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:14:19 GMT-08:00 2008 -->
- <TITLE>
- Uses of Class org.gjt.sp.jedit.Mode (jEdit API)
- </TITLE>
- <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
- <NOSCRIPT>
- </NOSCRIPT>
- </HEAD>
- <BODY BGCOLOR="white" >
- <!-- ========= START OF TOP NAVBAR ======= -->
- <A NAME="navbar_top"><!-- --></A>
- <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
- <TR>
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <A NAME="navbar_top_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> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
- </EM>
- </TD>
- </TR>
- <TR>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../../index.html?org/gjt/sp/jedit/class-use/Mode.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Mode.html" target="_top"><B>NO FRAMES</B></A>
-
- <NOSCRIPT>
- <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
- </NOSCRIPT>
- </FONT></TD>
- </TR>
- </TABLE>
- <A NAME="skip-navbar_top"></A>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <HR>
- <CENTER>
- <H2>
- <B>Uses of Class<br>org.gjt.sp.jedit.Mode</B></H2>
- </CENTER>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- Packages that use <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><A HREF="#org.gjt.sp.jedit"><B>org.gjt.sp.jedit</B></A></TD>
- <TD>This package contains jEdit's core classes. </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><A HREF="#org.gjt.sp.jedit.buffer"><B>org.gjt.sp.jedit.buffer</B></A></TD>
- <TD>Buffer event listeners, and classes used to implement jEdit's document model. </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><A HREF="#org.gjt.sp.jedit.syntax"><B>org.gjt.sp.jedit.syntax</B></A></TD>
- <TD>The jEdit syntax highlighting engine. </TD>
- </TR>
- </TABLE>
-
- <P>
- <A NAME="org.gjt.sp.jedit"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- Uses of <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A> in <A HREF="../../../../../org/gjt/sp/jedit/package-summary.html">org.gjt.sp.jedit</A></FONT></TH>
- </TR>
- </TABLE>
-
- <P>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/gjt/sp/jedit/package-summary.html">org.gjt.sp.jedit</A> that return <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></CODE></FONT></TD>
- <TD><CODE><B>jEdit.</B><B><A HREF="../../../../../org/gjt/sp/jedit/jEdit.html#getMode(java.lang.String)">getMode</A></B>(java.lang.String name)</CODE>
- <BR>
- Returns the edit mode with the specified name.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A>[]</CODE></FONT></TD>
- <TD><CODE><B>jEdit.</B><B><A HREF="../../../../../org/gjt/sp/jedit/jEdit.html#getModes()">getModes</A></B>()</CODE>
- <BR>
- Returns an array of installed edit modes.</TD>
- </TR>
- </TABLE>
-
- <P>
- <A NAME="org.gjt.sp.jedit.buffer"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- Uses of <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A> in <A HREF="../../../../../org/gjt/sp/jedit/buffer/package-summary.html">org.gjt.sp.jedit.buffer</A></FONT></TH>
- </TR>
- </TABLE>
-
- <P>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left" COLSPAN="2">Fields in <A HREF="../../../../../org/gjt/sp/jedit/buffer/package-summary.html">org.gjt.sp.jedit.buffer</A> declared as <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></CODE></FONT></TD>
- <TD><CODE><B>JEditBuffer.</B><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#mode">mode</A></B></CODE>
- <BR>
- </TD>
- </TR>
- </TABLE>
-
- <P>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/gjt/sp/jedit/buffer/package-summary.html">org.gjt.sp.jedit.buffer</A> that return <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></CODE></FONT></TD>
- <TD><CODE><B>JEditBuffer.</B><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#getMode()">getMode</A></B>()</CODE>
- <BR>
- Returns this buffer's edit mode.</TD>
- </TR>
- </TABLE>
-
- <P>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/gjt/sp/jedit/buffer/package-summary.html">org.gjt.sp.jedit.buffer</A> with parameters of type <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B>JEditBuffer.</B><B><A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#setMode(org.gjt.sp.jedit.Mode)">setMode</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A> mode)</CODE>
- <BR>
- Sets this buffer's edit mode.</TD>
- </TR>
- </TABLE>
-
- <P>
- <A NAME="org.gjt.sp.jedit.syntax"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- Uses of <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A> in <A HREF="../../../../../org/gjt/sp/jedit/syntax/package-summary.html">org.gjt.sp.jedit.syntax</A></FONT></TH>
- </TR>
- </TABLE>
-
- <P>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/gjt/sp/jedit/syntax/package-summary.html">org.gjt.sp.jedit.syntax</A> that return <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></CODE></FONT></TD>
- <TD><CODE><B>ModeProvider.</B><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ModeProvider.html#getMode(java.lang.String)">getMode</A></B>(java.lang.String name)</CODE>
- <BR>
- Returns the edit mode with the specified name.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></CODE></FONT></TD>
- <TD><CODE><B>ModeProvider.</B><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ModeProvider.html#getModeForFile(java.lang.String, java.lang.String)">getModeForFile</A></B>(java.lang.String filename,
- java.lang.String firstLine)</CODE>
- <BR>
- Get the appropriate mode that must be used for the file</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A>[]</CODE></FONT></TD>
- <TD><CODE><B>ModeProvider.</B><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ModeProvider.html#getModes()">getModes</A></B>()</CODE>
- <BR>
- Returns an array of installed edit modes.</TD>
- </TR>
- </TABLE>
-
- <P>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/gjt/sp/jedit/syntax/package-summary.html">org.gjt.sp.jedit.syntax</A> with parameters of type <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B>ModeProvider.</B><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ModeProvider.html#addMode(org.gjt.sp.jedit.Mode)">addMode</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A> mode)</CODE>
- <BR>
- Do not call this method.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B>ModeProvider.</B><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ModeProvider.html#loadMode(org.gjt.sp.jedit.Mode)">loadMode</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A> mode)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B>ModeProvider.</B><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ModeProvider.html#loadMode(org.gjt.sp.jedit.Mode, org.gjt.sp.jedit.syntax.XModeHandler)">loadMode</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit">Mode</A> mode,
- <A HREF="../../../../../org/gjt/sp/jedit/syntax/XModeHandler.html" title="class in org.gjt.sp.jedit.syntax">XModeHandler</A> xmh)</CODE>
- <BR>
- </TD>
- </TR>
- </TABLE>
-
- <P>
- <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=2 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> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/gjt/sp/jedit/Mode.html" title="class in org.gjt.sp.jedit"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
- </EM>
- </TD>
- </TR>
- <TR>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../../index.html?org/gjt/sp/jedit/class-use/Mode.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Mode.html" target="_top"><B>NO FRAMES</B></A>
-
- <NOSCRIPT>
- <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
- </NOSCRIPT>
- </FONT></TD>
- </TR>
- </TABLE>
- <A NAME="skip-navbar_bottom"></A>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- <HR>
- </BODY>
- </HTML>