📄 jscrollbar.html
字号:
rigid along the other axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/BoundedRangeModel.html">BoundedRangeModel</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollBar.html#getModel()">getModel</A></B>()</CODE><BR> Returns data model that handles the scrollbar's four fundamental properties: minimum, maximum, value, extent.</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/JScrollBar.html#getOrientation()">getOrientation</A></B>()</CODE><BR> Returns the component's orientation (horizontal or vertical).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/plaf/ScrollBarUI.html">ScrollBarUI</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JScrollBar.html#getUI()">getUI</A></B>()</CODE><BR> Returns the delegate that implements the look and feel for 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/JScrollBar.html#getUIClassID()">getUIClassID</A></B>()</CODE><BR> Returns the name of the LookAndFeel class for this component.</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/JScrollBar.html#getUnitIncrement()">getUnitIncrement</A></B>()</CODE><BR> For backwards compatibility with java.awt.Scrollbar.</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/JScrollBar.html#getUnitIncrement(int)">getUnitIncrement</A></B>(int direction)</CODE><BR> Returns the amount to change the scrollbar's value by, given a unit up/down request.</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/JScrollBar.html#getValue()">getValue</A></B>()</CODE><BR> Returns the scrollbar's value.</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/JScrollBar.html#getValueIsAdjusting()">getValueIsAdjusting</A></B>()</CODE><BR> True if the scrollbar knob is being dragged.</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/JScrollBar.html#getVisibleAmount()">getVisibleAmount</A></B>()</CODE><BR> Returns the scrollbar's extent, aka its "visibleAmount".</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/JScrollBar.html#isFocusTraversable()">isFocusTraversable</A></B>()</CODE><BR> Identifies whether or not this component can receive the focus.</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/JScrollBar.html#paramString()">paramString</A></B>()</CODE><BR> Returns a string representation of this JScrollBar.</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/JScrollBar.html#removeAdjustmentListener(java.awt.event.AdjustmentListener)">removeAdjustmentListener</A></B>(<A HREF="../../java/awt/event/AdjustmentListener.html">AdjustmentListener</A> l)</CODE><BR> Removes an AdjustmentEvent listener.</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/JScrollBar.html#setBlockIncrement(int)">setBlockIncrement</A></B>(int blockIncrement)</CODE><BR> Sets the blockIncrement property.</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/JScrollBar.html#setEnabled(boolean)">setEnabled</A></B>(boolean x)</CODE><BR> Enables the component so that the knob position can be changed.</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/JScrollBar.html#setMaximum(int)">setMaximum</A></B>(int maximum)</CODE><BR> Sets the model's maximum property.</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/JScrollBar.html#setMinimum(int)">setMinimum</A></B>(int minimum)</CODE><BR> Sets the model's minimum property.</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/JScrollBar.html#setModel(javax.swing.BoundedRangeModel)">setModel</A></B>(<A HREF="../../javax/swing/BoundedRangeModel.html">BoundedRangeModel</A> newModel)</CODE><BR> Sets the model that handles the scrollbar's four fundamental properties: minimum, maximum, value, extent.</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/JScrollBar.html#setOrientation(int)">setOrientation</A></B>(int orientation)</CODE><BR> Set the scrollbar's orientation to either VERTICAL or HORIZONTAL.</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/JScrollBar.html#setUnitIncrement(int)">setUnitIncrement</A></B>(int unitIncrement)</CODE><BR> Sets the unitIncrement property.</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/JScrollBar.html#setValue(int)">setValue</A></B>(int value)</CODE><BR> Sets the scrollbar's value.</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/JScrollBar.html#setValueIsAdjusting(boolean)">setValueIsAdjusting</A></B>(boolean b)</CODE><BR> Sets the model's valueIsAdjusting property.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -