📄 page.html
字号:
</TABLE>
<A NAME="Page(jexi.core.Document)"><!-- --></A><H3>
Page</H3>
<PRE>
public <B>Page</B>(<A HREF="../../jexi/core/Document.html" title="class in jexi.core">Document</A> document)</PRE>
<DL>
<DD>Create a new page.
<P>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - </DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getRows()"><!-- --></A><H3>
getRows</H3>
<PRE>
public java.util.List <B>getRows</B>()</PRE>
<DL>
<DD>Get the list of rows.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>List of rows.</DL>
</DD>
</DL>
<HR>
<A NAME="addRow(int, jexi.core.Row)"><!-- --></A><H3>
addRow</H3>
<PRE>
public void <B>addRow</B>(int index, <A HREF="../../jexi/core/Row.html" title="class in jexi.core">Row</A> r)</PRE>
<DL>
<DD>Add a Row object.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The position to be added to.<DD><CODE>r</CODE> - The Row object.</DL>
</DD>
</DL>
<HR>
<A NAME="addRow(jexi.core.Row)"><!-- --></A><H3>
addRow</H3>
<PRE>
public void <B>addRow</B>(<A HREF="../../jexi/core/Row.html" title="class in jexi.core">Row</A> r)</PRE>
<DL>
<DD>Add a Row object in the end of the list.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>r</CODE> - The Row object.</DL>
</DD>
</DL>
<HR>
<A NAME="getRow(int)"><!-- --></A><H3>
getRow</H3>
<PRE>
public <A HREF="../../jexi/core/Row.html" title="class in jexi.core">Row</A> <B>getRow</B>(int index)</PRE>
<DL>
<DD>Get the child row.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the row.<DT><B>Returns:</B><DD>The row object.</DL>
</DD>
</DL>
<HR>
<A NAME="indexOfRow(jexi.core.Row)"><!-- --></A><H3>
indexOfRow</H3>
<PRE>
public int <B>indexOfRow</B>(<A HREF="../../jexi/core/Row.html" title="class in jexi.core">Row</A> row)</PRE>
<DL>
<DD>Get the index of the row in this page.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>row</CODE> - The row to be tested.<DT><B>Returns:</B><DD>The index of the row, or (-1) if not found.</DL>
</DD>
</DL>
<HR>
<A NAME="removeRow(jexi.core.Row)"><!-- --></A><H3>
removeRow</H3>
<PRE>
public void <B>removeRow</B>(<A HREF="../../jexi/core/Row.html" title="class in jexi.core">Row</A> row)</PRE>
<DL>
<DD>Remove the specified row.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>row</CODE> - The specified row to be removed.</DL>
</DD>
</DL>
<HR>
<A NAME="getRowsCount()"><!-- --></A><H3>
getRowsCount</H3>
<PRE>
public int <B>getRowsCount</B>()</PRE>
<DL>
<DD>Get the count of the rows this page contains.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The count of the rows.</DL>
</DD>
</DL>
<HR>
<A NAME="width()"><!-- --></A><H3>
width</H3>
<PRE>
public int <B>width</B>()</PRE>
<DL>
<DD>Get the width of the page. (the whole width.)
<P>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../jexi/core/Glyph.html#width()"><CODE>Glyph.width()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="height()"><!-- --></A><H3>
height</H3>
<PRE>
public int <B>height</B>()</PRE>
<DL>
<DD>Get the height of the page. (the whole height.)
<P>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../jexi/core/Glyph.html#height()"><CODE>Glyph.height()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="scaleWidth()"><!-- --></A><H3>
scaleWidth</H3>
<PRE>
public int <B>scaleWidth</B>()</PRE>
<DL>
<DD>Get the available width of the page used to layout.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The available width.</DL>
</DD>
</DL>
<HR>
<A NAME="scaleHeight()"><!-- --></A><H3>
scaleHeight</H3>
<PRE>
public int <B>scaleHeight</B>()</PRE>
<DL>
<DD>Get the available height of the page used to layout.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The available height.</DL>
</DD>
</DL>
<HR>
<A NAME="rowsHeight()"><!-- --></A><H3>
rowsHeight</H3>
<PRE>
public int <B>rowsHeight</B>()</PRE>
<DL>
<DD>Get the rows' total height.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The rows' total height.</DL>
</DD>
</DL>
<HR>
<A NAME="draw(jexi.ui.Graphics, jexi.core.Selection)"><!-- --></A><H3>
draw</H3>
<PRE>
public void <B>draw</B>(<A HREF="../../jexi/ui/Graphics.html" title="interface in jexi.ui">Graphics</A> g, <A HREF="../../jexi/core/Selection.html" title="class in jexi.core">Selection</A> sel)</PRE>
<DL>
<DD>Draw glyphs on this page.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="intersects(int, int)"><!-- --></A><H3>
intersects</H3>
<PRE>
public boolean <B>intersects</B>(int x, int y)</PRE>
<DL>
<DD>If this point is in this page.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="debug()"><!-- --></A><H3>
debug</H3>
<PRE>
public void <B>debug</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isEditRegion(int, int)"><!-- --></A><H3>
isEditRegion</H3>
<PRE>
public boolean <B>isEditRegion</B>(int x, int y)</PRE>
<DL>
<DD>Test the point (x, y) is in the edit region of this page.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The point x.<DD><CODE>y</CODE> - The point y.<DT><B>Returns:</B><DD>True if the point is in the edit region.</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=3 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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Page.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="../../jexi/core/Glyph.html" title="interface in jexi.core"><B>PREV CLASS</B></A>
<A HREF="../../jexi/core/Paragraph.html" title="class in jexi.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="Page.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -