/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html
HTML | 574 lines | 498 code | 62 blank | 14 comment | 0 complexity | 4223ceb77607a119f9eba5637f0b24bf 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:13:55 GMT-08:00 2008 -->
- <TITLE>
- ExtendedGridLayoutConstraints (jEdit API)
- </TITLE>
- <META NAME="keywords" CONTENT="org.gjt.sp.jedit.gui.ExtendedGridLayoutConstraints class">
- <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="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ExtendedGridLayoutConstraints.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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">
- <A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayout.html" title="class in org.gjt.sp.jedit.gui"><B>PREV CLASS</B></A>
- <A HREF="../../../../../org/gjt/sp/jedit/gui/FilesChangedDialog.html" title="class in org.gjt.sp.jedit.gui"><B>NEXT CLASS</B></A></FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../../index.html?org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html" target="_top"><B>FRAMES</B></A>
- <A HREF="ExtendedGridLayoutConstraints.html" target="_top"><B>NO FRAMES</B></A>
-
- <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="skip-navbar_top"></A>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <HR>
- <!-- ======== START OF CLASS DATA ======== -->
- <H2>
- <FONT SIZE="-1">
- org.gjt.sp.jedit.gui</FONT>
- <BR>
- Class ExtendedGridLayoutConstraints</H2>
- <PRE>
- java.lang.Object
- <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.gui.ExtendedGridLayoutConstraints</B>
- </PRE>
- <HR>
- <DL>
- <DT><PRE>public class <B>ExtendedGridLayoutConstraints</B><DT>extends java.lang.Object</DL>
- </PRE>
- <P>
- Specifies constraints for components
- that are laid out using the <code>ExtendedGridLayout</code> class.
- <P>
- <P>
- <DL>
- <DT><B>Since:</B></DT>
- <DD>jEdit 4.3pre10</DD>
- <DT><B>See Also:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayout.html" title="class in org.gjt.sp.jedit.gui"><CODE>ExtendedGridLayout</CODE></A></DL>
- <HR>
- <P>
- <!-- =========== FIELD SUMMARY =========== -->
- <A NAME="field_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Field Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#REMAINDER">REMAINDER</A></B></CODE>
- <BR>
- Specifies that this component is the
- last component in its column or row
- and takes up the remaining space.</TD>
- </TR>
- </TABLE>
-
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <A NAME="constructor_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Constructor Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#ExtendedGridLayoutConstraints(java.awt.Component)">ExtendedGridLayoutConstraints</A></B>(java.awt.Component component)</CODE>
- <BR>
- Creates an <code>ExtendedGridLayoutConstraints</code> object with
- all of its fields set to their default value.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#ExtendedGridLayoutConstraints(int, java.awt.Component)">ExtendedGridLayoutConstraints</A></B>(int row,
- java.awt.Component component)</CODE>
- <BR>
- Creates an <code>ExtendedGridLayoutConstraints</code> object with
- all of its fields set to their default value
- except of the row which is specified.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#ExtendedGridLayoutConstraints(int, int, int, java.awt.Component)">ExtendedGridLayoutConstraints</A></B>(int row,
- int colspan,
- int rowspan,
- java.awt.Component component)</CODE>
- <BR>
- Creates an <code>ExtendedGridLayoutConstraints</code> object with
- all of its fields set to the passed-in arguments.</TD>
- </TR>
- </TABLE>
-
- <!-- ========== METHOD SUMMARY =========== -->
- <A NAME="method_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Method Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object o)</CODE>
- <BR>
- Indicates whether some other object is "equal to" this one.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#getCol()">getCol</A></B>()</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#getColspan()">getColspan</A></B>()</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#getRow()">getRow</A></B>()</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#getRowspan()">getRowspan</A></B>()</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#hashCode()">hashCode</A></B>()</CODE>
- <BR>
- Returns a hash code value for the object.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#isPlaceholder()">isPlaceholder</A></B>()</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#toString()">toString</A></B>()</CODE>
- <BR>
- Returns a string representation of the object.</TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
- </TR>
- </TABLE>
-
- <P>
- <!-- ============ FIELD DETAIL =========== -->
- <A NAME="field_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Field Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="REMAINDER"><!-- --></A><H3>
- REMAINDER</H3>
- <PRE>
- public static final int <B>REMAINDER</B></PRE>
- <DL>
- <DD>Specifies that this component is the
- last component in its column or row
- and takes up the remaining space.
- <P>
- <DL>
- <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.gui.ExtendedGridLayoutConstraints.REMAINDER">Constant Field Values</A></DL>
- </DL>
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <A NAME="constructor_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Constructor Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="ExtendedGridLayoutConstraints(java.awt.Component)"><!-- --></A><H3>
- ExtendedGridLayoutConstraints</H3>
- <PRE>
- public <B>ExtendedGridLayoutConstraints</B>(java.awt.Component component)</PRE>
- <DL>
- <DD>Creates an <code>ExtendedGridLayoutConstraints</code> object with
- all of its fields set to their default value. For further information
- about the default values see
- <A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#ExtendedGridLayoutConstraints(int, int, int, java.awt.Component)"><CODE>ExtendedGridLayoutConstraints(int, int, int, java.awt.Component)</CODE></A>.
- <P>
- <DL>
- <DT><B>Parameters:</B><DD><CODE>component</CODE> - The <code>Component</code> this constraints object describes</DL>
- </DL>
- <HR>
- <A NAME="ExtendedGridLayoutConstraints(int, java.awt.Component)"><!-- --></A><H3>
- ExtendedGridLayoutConstraints</H3>
- <PRE>
- public <B>ExtendedGridLayoutConstraints</B>(int row,
- java.awt.Component component)</PRE>
- <DL>
- <DD>Creates an <code>ExtendedGridLayoutConstraints</code> object with
- all of its fields set to their default value
- except of the row which is specified. For further information
- about the default values see
- <A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#ExtendedGridLayoutConstraints(int, int, int, java.awt.Component)"><CODE>ExtendedGridLayoutConstraints(int, int, int, java.awt.Component)</CODE></A>.
- <P>
- <DL>
- <DT><B>Parameters:</B><DD><CODE>row</CODE> - The row in which a component starts its display area. First row is 0<DD><CODE>component</CODE> - The <code>Component</code> this constraints object d describes
- <DT><B>Throws:</B>
- <DD><CODE>java.lang.IllegalArgumentException</CODE> - If row < 0</DL>
- </DL>
- <HR>
- <A NAME="ExtendedGridLayoutConstraints(int, int, int, java.awt.Component)"><!-- --></A><H3>
- ExtendedGridLayoutConstraints</H3>
- <PRE>
- public <B>ExtendedGridLayoutConstraints</B>(int row,
- int colspan,
- int rowspan,
- java.awt.Component component)</PRE>
- <DL>
- <DD>Creates an <code>ExtendedGridLayoutConstraints</code> object with
- all of its fields set to the passed-in arguments.
- <P>
- <DL>
- <DT><B>Parameters:</B><DD><CODE>row</CODE> - The row in which a component starts its display area.
- First row is 0. Default value is 0.<DD><CODE>colspan</CODE> - The number of cells in a row for the component's display area.
- Use <code>REMAINDER</code> to specify that the component's
- display area will be from its grid position to the last
- cell in the row. Default value is 1.<DD><CODE>rowspan</CODE> - The number of cells in a column for the component's display area.
- Use <code>REMAINDER</code> to specify that the component's
- display area will be from its grid position to the last
- cell in the column. Default value is 1.<DD><CODE>component</CODE> - The <code>Component</code> this constraints object describes
- <DT><B>Throws:</B>
- <DD><CODE>java.lang.IllegalArgumentException</CODE> - If row < 0
- <DD><CODE>java.lang.IllegalArgumentException</CODE> - If colspan < 1
- <DD><CODE>java.lang.IllegalArgumentException</CODE> - If rowspan < 1</DL>
- </DL>
- <!-- ============ METHOD DETAIL ========== -->
- <A NAME="method_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Method Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="getRow()"><!-- --></A><H3>
- getRow</H3>
- <PRE>
- public int <B>getRow</B>()</PRE>
- <DL>
- <DD><DL>
- <DT><B>Returns:</B><DD>The row in which the component starts its display area.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getCol()"><!-- --></A><H3>
- getCol</H3>
- <PRE>
- public int <B>getCol</B>()</PRE>
- <DL>
- <DD><DL>
- <DT><B>Returns:</B><DD>The column in which the component starts its display area.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getColspan()"><!-- --></A><H3>
- getColspan</H3>
- <PRE>
- public int <B>getColspan</B>()</PRE>
- <DL>
- <DD><DL>
- <DT><B>Returns:</B><DD>The number of cells in a row for the component's display area
- or <code>REMAINDER</code> if the component's display area will be
- from its grid position to the last cell in the row.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getRowspan()"><!-- --></A><H3>
- getRowspan</H3>
- <PRE>
- public int <B>getRowspan</B>()</PRE>
- <DL>
- <DD><DL>
- <DT><B>Returns:</B><DD>The number of cells in a column for the component's display area
- or <code>REMAINDER</code> if the component's display area will be
- from its grid position to the last cell in the column.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="isPlaceholder()"><!-- --></A><H3>
- isPlaceholder</H3>
- <PRE>
- public boolean <B>isPlaceholder</B>()</PRE>
- <DL>
- <DD><DL>
- <DT><B>Returns:</B><DD>Whether this constraints object is a placeholder or not</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="equals(java.lang.Object)"><!-- --></A><H3>
- equals</H3>
- <PRE>
- public boolean <B>equals</B>(java.lang.Object o)</PRE>
- <DL>
- <DD>Indicates whether some other object is "equal to" this one.
- <p>
- The <code>equals</code> method implements an equivalence relation
- on non-null object references:
- <ul>
- <li>It is <i>reflexive</i>: for any non-null reference value
- <code>x</code>, <code>x.equals(x)</code> returns
- <code>true</code>.
- <li>It is <i>symmetric</i>: for any non-null reference values
- <code>x</code> and <code>y</code>, <code>x.equals(y)</code>
- returns <code>true</code> if and only if
- <code>y.equals(x)</code> returns <code>true</code>.
- <li>It is <i>transitive</i>: for any non-null reference values
- <code>x</code>, <code>y</code>, and <code>z</code>, if
- <code>x.equals(y)</code> returns <code>true</code> and
- <code>y.equals(z)</code> returns <code>true</code>, then
- <code>x.equals(z)</code> returns <code>true</code>.
- <li>It is <i>consistent</i>: for any non-null reference values
- <code>x</code> and <code>y</code>, multiple invocations of
- <tt>x.equals(y)</tt> consistently return <code>true</code>
- or consistently return <code>false</code>, provided no
- information used in <code>equals</code> comparisons on the
- objects is modified.
- <li>For any non-null reference value <code>x</code>,
- <code>x.equals(null)</code> returns <code>false</code>.
- </ul>
- <p>
- The <tt>equals</tt> method for class
- <code>ExtendedGridLayoutConstraints</code> returns <code>true</code>
- if and only if the constraints objects describe the same <code>Component</code>
- <P>
- <DD><DL>
- <DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>o</CODE> - the reference object with which to compare.
- <DT><B>Returns:</B><DD><code>true</code> if this object is the same as the o
- argument; <code>false</code> otherwise.<DT><B>See Also:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#hashCode()"><CODE>hashCode()</CODE></A>,
- <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Hashtable.html"><code>java.util.Hashtable</code></a></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="hashCode()"><!-- --></A><H3>
- hashCode</H3>
- <PRE>
- public int <B>hashCode</B>()</PRE>
- <DL>
- <DD>Returns a hash code value for the object. This method is
- supported for the benefit of hashtables such as those provided by
- <code>java.util.Hashtable</code>.
- <p>
- The general contract of <code>hashCode</code> is:
- <ul>
- <li>Whenever it is invoked on the same object more than once during
- an execution of a Java application, the <tt>hashCode</tt> method
- must consistently return the same integer, provided no information
- used in <tt>equals</tt> comparisons on the object is modified.
- This integer need not remain consistent from one execution of an
- application to another execution of the same application.
- <li>If two objects are equal according to the <tt>equals(Object)</tt>
- method, then calling the <code>hashCode</code> method on each of
- the two objects must produce the same integer result.
- <li>It is <em>not</em> required that if two objects are unequal
- according to the
- <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)"><code>java.lang.Object#equals(java.lang.Object)</code></a>
- method, then calling the <tt>hashCode</tt> method on each of the
- two objects must produce distinct integer results. However, the
- programmer should be aware that producing distinct integer results
- for unequal objects may improve the performance of hashtables.
- </ul>
- <P>
- <DD><DL>
- <DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Returns:</B><DD>a hash code value for this object.<DT><B>See Also:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html#equals(java.lang.Object)"><CODE>equals(java.lang.Object)</CODE></A>,
- <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Hashtable.html"><code>java.util.Hashtable</code></a></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="toString()"><!-- --></A><H3>
- toString</H3>
- <PRE>
- public java.lang.String <B>toString</B>()</PRE>
- <DL>
- <DD>Returns a string representation of the object. In general, the
- <code>toString</code> method returns a string that
- "textually represents" this object. The result should
- be a concise but informative representation that is easy for a
- person to read.
- <P>
- <DD><DL>
- <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Returns:</B><DD>a string representation of the object.</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=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="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ExtendedGridLayoutConstraints.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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">
- <A HREF="../../../../../org/gjt/sp/jedit/gui/ExtendedGridLayout.html" title="class in org.gjt.sp.jedit.gui"><B>PREV CLASS</B></A>
- <A HREF="../../../../../org/gjt/sp/jedit/gui/FilesChangedDialog.html" title="class in org.gjt.sp.jedit.gui"><B>NEXT CLASS</B></A></FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../../index.html?org/gjt/sp/jedit/gui/ExtendedGridLayoutConstraints.html" target="_top"><B>FRAMES</B></A>
- <A HREF="ExtendedGridLayoutConstraints.html" target="_top"><B>NO FRAMES</B></A>
-
- <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="skip-navbar_bottom"></A>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- <HR>
- </BODY>
- </HTML>