📄 jscrollpane.html
字号:
Gets the AccessibleContext associated with this JScrollPane.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/JViewport.html">JViewport</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollPane.html#getColumnHeader()">getColumnHeader</A></B>()</CODE><BR> Returns the column header.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/awt/Component.html">Component</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollPane.html#getCorner(java.lang.String)">getCorner</A></B>(<A HREF="../../java/lang/String.html">String</A> key)</CODE><BR> Returns the component at the specified corner.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/JScrollBar.html">JScrollBar</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollPane.html#getHorizontalScrollBar()">getHorizontalScrollBar</A></B>()</CODE><BR> Returns the horizontal scroll bar that controls the viewport's horizontal view position.</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="../../javax/swing/JScrollPane.html#getHorizontalScrollBarPolicy()">getHorizontalScrollBarPolicy</A></B>()</CODE><BR> Returns the horizontal scroll bar policy value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/JViewport.html">JViewport</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollPane.html#getRowHeader()">getRowHeader</A></B>()</CODE><BR> Returns the row header.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/plaf/ScrollPaneUI.html">ScrollPaneUI</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollPane.html#getUI()">getUI</A></B>()</CODE><BR> Returns the look and feel (L&F) object that renders this component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollPane.html#getUIClassID()">getUIClassID</A></B>()</CODE><BR> Returns the suffix used to construct the name of the L&F class used to render this component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/JScrollBar.html">JScrollBar</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollPane.html#getVerticalScrollBar()">getVerticalScrollBar</A></B>()</CODE><BR> Returns the vertical scroll bar that controls the viewports vertical view position.</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="../../javax/swing/JScrollPane.html#getVerticalScrollBarPolicy()">getVerticalScrollBarPolicy</A></B>()</CODE><BR> Returns the vertical scroll bar policy value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/JViewport.html">JViewport</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollPane.html#getViewport()">getViewport</A></B>()</CODE><BR> Returns the current <code>JViewport</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollPane.html#getViewportBorder()">getViewportBorder</A></B>()</CODE><BR> Returns the <code>Border</code> object that surrounds the viewport.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/awt/Rectangle.html">Rectangle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollPane.html#getViewportBorderBounds()">getViewportBorderBounds</A></B>()</CODE><BR> Returns the bounds of the viewport's border.</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="../../javax/swing/JScrollPane.html#isValidateRoot()">isValidateRoot</A></B>()</CODE><BR> Calls <code>revalidate</code> on any descendant of this <code>JScrollPane</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollPane.html#paramString()">paramString</A></B>()</CODE><BR> Returns a string representation of this <code>JScrollPane</code>.</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><A HREF="../../javax/swing/JScrollPane.html#setColumnHeader(javax.swing.JViewport)">setColumnHeader</A></B>(<A HREF="../../javax/swing/JViewport.html">JViewport</A> columnHeader)</CODE><BR> Removes the old columnHeader, if it exists.</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><A HREF="../../javax/swing/JScrollPane.html#setColumnHeaderView(java.awt.Component)">setColumnHeaderView</A></B>(<A HREF="../../java/awt/Component.html">Component</A> view)</CODE><BR> Creates a column-header viewport if necessary, sets its view, and then adds the column-header viewport to the scrollpane.</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><A HREF="../../javax/swing/JScrollPane.html#setComponentOrientation(java.awt.ComponentOrientation)">setComponentOrientation</A></B>(<A HREF="../../java/awt/ComponentOrientation.html">ComponentOrientation</A> co)</CODE><BR> Sets the orientation for the vertical and horizontal scrollbars as determined by the <code>ComponentOrientation</code> argument.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -