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

📄 jmenu.accessiblejmenu.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selects the <code>i</code>th menu in the menu.</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/JMenu.AccessibleJMenu.html#clearAccessibleSelection()">clearAccessibleSelection</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the selection in the object, so that nothing in the object is selected.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../javax/accessibility/Accessible.html">Accessible</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JMenu.AccessibleJMenu.html#getAccessibleChild(int)">getAccessibleChild</A></B>(int&nbsp;i)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the nth Accessible child of the object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JMenu.AccessibleJMenu.html#getAccessibleChildrenCount()">getAccessibleChildrenCount</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of accessible children in the object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../javax/accessibility/AccessibleRole.html">AccessibleRole</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JMenu.AccessibleJMenu.html#getAccessibleRole()">getAccessibleRole</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the role of this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../javax/accessibility/AccessibleSelection.html">AccessibleSelection</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JMenu.AccessibleJMenu.html#getAccessibleSelection()">getAccessibleSelection</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the AccessibleSelection associated with this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../javax/accessibility/Accessible.html">Accessible</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JMenu.AccessibleJMenu.html#getAccessibleSelection(int)">getAccessibleSelection</A></B>(int&nbsp;i)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the currently selected sub-menu if one is selected, otherwise null (there can only be one selection, and it can only be a sub-menu, as otherwise menu items don't remain selected).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JMenu.AccessibleJMenu.html#getAccessibleSelectionCount()">getAccessibleSelectionCount</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns 1 if a sub-menu is currently selected in this menu.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JMenu.AccessibleJMenu.html#isAccessibleChildSelected(int)">isAccessibleChildSelected</A></B>(int&nbsp;i)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the current child of this object is selected (that is, if this child is a popped-up submenu).</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/JMenu.AccessibleJMenu.html#removeAccessibleSelection(int)">removeAccessibleSelection</A></B>(int&nbsp;i)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the nth item from the selection.</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/JMenu.AccessibleJMenu.html#selectAllAccessibleSelection()">selectAllAccessibleSelection</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Normally causes every selected item in the object to be selected if the object supports multiple selections.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.swing.JMenuItem.AccessibleJMenuItem"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.<A HREF="../../javax/swing/JMenuItem.AccessibleJMenuItem.html">JMenuItem.AccessibleJMenuItem</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../javax/swing/JMenuItem.AccessibleJMenuItem.html#stateChanged(javax.swing.event.ChangeEvent)">stateChanged</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.swing.AbstractButton.AccessibleAbstractButton"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.<A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html">AbstractButton.AccessibleAbstractButton</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#doAccessibleAction(int)">doAccessibleAction</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getAccessibleAction()">getAccessibleAction</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getAccessibleActionCount()">getAccessibleActionCount</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getAccessibleActionDescription(int)">getAccessibleActionDescription</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getAccessibleIcon()">getAccessibleIcon</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getAccessibleName()">getAccessibleName</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getAccessibleRelationSet()">getAccessibleRelationSet</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getAccessibleStateSet()">getAccessibleStateSet</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getAccessibleText()">getAccessibleText</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getAccessibleValue()">getAccessibleValue</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getAfterIndex(int, int)">getAfterIndex</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getAtIndex(int, int)">getAtIndex</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getBeforeIndex(int, int)">getBeforeIndex</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getCaretPosition()">getCaretPosition</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getCharacterAttribute(int)">getCharacterAttribute</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getCharacterBounds(int)">getCharacterBounds</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getCharCount()">getCharCount</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getCurrentAccessibleValue()">getCurrentAccessibleValue</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getIndexAtPoint(java.awt.Point)">getIndexAtPoint</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getMaximumAccessibleValue()">getMaximumAccessibleValue</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getMinimumAccessibleValue()">getMinimumAccessibleValue</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getSelectedText()">getSelectedText</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getSelectionEnd()">getSelectionEnd</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#getSelectionStart()">getSelectionStart</A>, <A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html#setCurrentAccessibleValue(java.lang.Number)">setCurrentAccessibleValue</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.swing.JComponent.AccessibleJComponent"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.<A HREF="../../javax/swing/JComponent.AccessibleJComponent.html">JComponent.AccessibleJComponent</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../javax/swing/JComponent.AccessibleJComponent.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, <A HREF="../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleDescription()">getAccessibleDescription</A>, <A HREF="../../javax/swing/JComponent.AccessibleJComponent.html#getBorderTitle(javax.swing.border.Border)">getBorderTitle</A>, <A HREF="../../javax/swing/JComponent.AccessibleJComponent.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.awt.Container.AccessibleAWTContainer"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.<A HREF="../../java/awt/Container.AccessibleAWTContainer.html">Container.AccessibleAWTContainer</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../java/awt/Container.AccessibleAWTContainer.html#getAccessibleAt(java.awt.Point)">getAccessibleAt</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.awt.Component.AccessibleAWTComponent"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.<A HREF="../../java/awt/Component.AccessibleAWTComponent.html">Component.AccessibleAWTComponent</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html#addFocusListener(java.awt.event.FocusListener)">addFocusListener</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#contains(java.awt.Point)">contains</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getAccessibleComponent()">getAccessibleComponent</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getAccessibleIndexInParent()">getAccessibleIndexInParent</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getAccessibleParent()">getAccessibleParent</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getBackground()">getBackground</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getBounds()">getBounds</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getCursor()">getCursor</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getFont()">getFont</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getFontMetrics(java.awt.Font)">getFontMetrics</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getForeground()">getForeground</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getLocale()">getLocale</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getLocation()">getLocation</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getLocationOnScreen()">getLocationOnScreen</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getSize()">getSize</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#isEnabled()">isEnabled</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#isFocusTraversable()">isFocusTraversable</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#isShowing()">isShowing</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#isVisible()">isVisible</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#removeFocusListener(java.awt.event.FocusListener)">removeFocusListener</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#requestFocus()">requestFocus</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#setBackground(java.awt.Color)">setBackground</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#setBounds(java.awt.Rectangle)">setBounds</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#setCursor(java.awt.Cursor)">setCursor</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#setEnabled(boolean)">setEnabled</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#setFont(java.awt.Font)">setFont</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#setForeground(java.awt.Color)">setForeground</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#setLocation(java.awt.Point)">setLocation</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#setSize(java.awt.Dimension)">setSize</A>, <A HREF="../../java/awt/Component.AccessibleAWTComponent.html#setVisible(boolean)">setVisible</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.accessibility.AccessibleContext"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.accessibility.<A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../javax/accessibility/AccessibleContext.html#firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)">firePropertyChange</A>, <A HREF="../../javax/accessibility/AccessibleContext.html#getAccessibleTable()">getAccessibleTable</A>, <A HREF="../../javax/accessibility/AccessibleContext.html#setAccessibleDescription(java.lang.String)">setAccessibleDescription</A>, <A HREF="../../javax/accessibility/AccessibleContext.html#setAccessibleName(java.lang.String)">setAccessibleName</A>, <A HREF="../../javax/accessibility/AccessibleContext.html#setAccessibleParent(javax.accessibility.Accessible)">setAccessibleParent</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 =========== --><!-- ========= 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="JMenu.AccessibleJMenu(javax.swing.JMenu)"><!-- --></A><H3>JMenu.AccessibleJMenu</H3><PRE>protected <B>JMenu.AccessibleJMenu</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="getAccessibleChildrenCount()"><!-- --></A><H3>getAccessibleChildrenCount</H3><PRE>public int <B>getAccessibleChildrenCount</B>()</PRE><DL><DD>Returns the number of accessible children in the object.  If all of the children of this object implement Accessible, than this method should return the number of children of this object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleChildrenCount()">getAccessibleChildrenCount</A></CODE> in class <CODE><A HREF="../../javax/swing/JComponent.AccessibleJComponent.html">JComponent.AccessibleJComponent</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of accessible children in the object.</DL></DD></DL><HR>

⌨️ 快捷键说明

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