⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basiclistui.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selected the previous row and force it to be visible.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicListUI.html#uninstallDefaults()">uninstallDefaults</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the JList properties that haven't been explicitly overriden to null.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicListUI.html#uninstallKeyboardActions()">uninstallKeyboardActions</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unregister keyboard actions for the up and down arrow keys.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicListUI.html#uninstallListeners()">uninstallListeners</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the listeners for the JList, its model, and its selectionModel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicListUI.html#uninstallUI(javax.swing.JComponent)">uninstallUI</A></B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uninitializes <code>this.list</code> by calling <code>uninstallListeners()</code>, <code>uninstallKeyboardActions()</code>, and <code>uninstallDefaults()</code> in order.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicListUI.html#updateLayoutState()">updateLayoutState</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Recompute the value of cellHeight or cellHeights based and cellWidth, based on the current font and the current values of fixedCellWidth, fixedCellHeight, and prototypeCellValue.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.swing.plaf.ComponentUI"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.plaf.<A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html#contains(javax.swing.JComponent, int, int)">contains</A>, <A HREF="../../../../javax/swing/plaf/ComponentUI.html#getAccessibleChild(javax.swing.JComponent, int)">getAccessibleChild</A>, <A HREF="../../../../javax/swing/plaf/ComponentUI.html#getAccessibleChildrenCount(javax.swing.JComponent)">getAccessibleChildrenCount</A>, <A HREF="../../../../javax/swing/plaf/ComponentUI.html#update(java.awt.Graphics, javax.swing.JComponent)">update</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="list"><!-- --></A><H3>list</H3><PRE>protected <A HREF="../../../../javax/swing/JList.html">JList</A> <B>list</B></PRE><DL></DL><HR><A NAME="rendererPane"><!-- --></A><H3>rendererPane</H3><PRE>protected <A HREF="../../../../javax/swing/CellRendererPane.html">CellRendererPane</A> <B>rendererPane</B></PRE><DL></DL><HR><A NAME="focusListener"><!-- --></A><H3>focusListener</H3><PRE>protected <A HREF="../../../../java/awt/event/FocusListener.html">FocusListener</A> <B>focusListener</B></PRE><DL></DL><HR><A NAME="mouseInputListener"><!-- --></A><H3>mouseInputListener</H3><PRE>protected <A HREF="../../../../javax/swing/event/MouseInputListener.html">MouseInputListener</A> <B>mouseInputListener</B></PRE><DL></DL><HR><A NAME="listSelectionListener"><!-- --></A><H3>listSelectionListener</H3><PRE>protected <A HREF="../../../../javax/swing/event/ListSelectionListener.html">ListSelectionListener</A> <B>listSelectionListener</B></PRE><DL></DL><HR><A NAME="listDataListener"><!-- --></A><H3>listDataListener</H3><PRE>protected <A HREF="../../../../javax/swing/event/ListDataListener.html">ListDataListener</A> <B>listDataListener</B></PRE><DL></DL><HR><A NAME="propertyChangeListener"><!-- --></A><H3>propertyChangeListener</H3><PRE>protected <A HREF="../../../../java/beans/PropertyChangeListener.html">PropertyChangeListener</A> <B>propertyChangeListener</B></PRE><DL></DL><HR><A NAME="cellHeights"><!-- --></A><H3>cellHeights</H3><PRE>protected int[] <B>cellHeights</B></PRE><DL></DL><HR><A NAME="cellHeight"><!-- --></A><H3>cellHeight</H3><PRE>protected int <B>cellHeight</B></PRE><DL></DL><HR><A NAME="cellWidth"><!-- --></A><H3>cellWidth</H3><PRE>protected int <B>cellWidth</B></PRE><DL></DL><HR><A NAME="updateLayoutStateNeeded"><!-- --></A><H3>updateLayoutStateNeeded</H3><PRE>protected int <B>updateLayoutStateNeeded</B></PRE><DL></DL><HR><A NAME="modelChanged"><!-- --></A><H3>modelChanged</H3><PRE>protected static final int <B>modelChanged</B></PRE><DL></DL><HR><A NAME="selectionModelChanged"><!-- --></A><H3>selectionModelChanged</H3><PRE>protected static final int <B>selectionModelChanged</B></PRE><DL></DL><HR><A NAME="fontChanged"><!-- --></A><H3>fontChanged</H3><PRE>protected static final int <B>fontChanged</B></PRE><DL></DL><HR><A NAME="fixedCellWidthChanged"><!-- --></A><H3>fixedCellWidthChanged</H3><PRE>protected static final int <B>fixedCellWidthChanged</B></PRE><DL></DL><HR><A NAME="fixedCellHeightChanged"><!-- --></A><H3>fixedCellHeightChanged</H3><PRE>protected static final int <B>fixedCellHeightChanged</B></PRE><DL></DL><HR><A NAME="prototypeCellValueChanged"><!-- --></A><H3>prototypeCellValueChanged</H3><PRE>protected static final int <B>prototypeCellValueChanged</B></PRE><DL></DL><HR><A NAME="cellRendererChanged"><!-- --></A><H3>cellRendererChanged</H3><PRE>protected static final int <B>cellRendererChanged</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="BasicListUI()"><!-- --></A><H3>BasicListUI</H3><PRE>public <B>BasicListUI</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="paintCell(java.awt.Graphics, int, java.awt.Rectangle, javax.swing.ListCellRenderer, javax.swing.ListModel, javax.swing.ListSelectionModel, int)"><!-- --></A><H3>paintCell</H3><PRE>protected void <B>paintCell</B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,                         int&nbsp;row,                         <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A>&nbsp;rowBounds,                         <A HREF="../../../../javax/swing/ListCellRenderer.html">ListCellRenderer</A>&nbsp;cellRenderer,                         <A HREF="../../../../javax/swing/ListModel.html">ListModel</A>&nbsp;dataModel,                         <A HREF="../../../../javax/swing/ListSelectionModel.html">ListSelectionModel</A>&nbsp;selModel,                         int&nbsp;leadIndex)</PRE><DL><DD>Paint one List cell: compute the relevant state, get the "rubber stamp"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -