<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_77) on Fri Apr 22 13:46:52 UTC 2016 --> <title>KeyCharacterCombination (JavaFX 8)</title> <meta name="date" content="2016-04-22"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="KeyCharacterCombination (JavaFX 8)"; } } catch(err) { } //--> var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/KeyCharacterCombination.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../javafx/scene/input/InputMethodTextRun.html" title="class in javafx.scene.input"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/input/KeyCode.html" title="enum in javafx.scene.input"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/input/KeyCharacterCombination.html" target="_top">Frames</a></li> <li><a href="KeyCharacterCombination.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.classes.inherited.from.class.javafx.scene.input.KeyCombination">Nested</a> | </li> <li><a href="#fields.inherited.from.class.javafx.scene.input.KeyCombination">Field</a> | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">javafx.scene.input</div> <h2 title="Class KeyCharacterCombination" class="title">Class KeyCharacterCombination</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> <li> <ul class="inheritance"> <li><a href="../../../javafx/scene/input/KeyCombination.html" title="class in javafx.scene.input">javafx.scene.input.KeyCombination</a></li> <li> <ul class="inheritance"> <li>javafx.scene.input.KeyCharacterCombination</li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <hr> <br> <pre>public final class <span class="typeNameLabel">KeyCharacterCombination</span> extends <a href="../../../javafx/scene/input/KeyCombination.html" title="class in javafx.scene.input">KeyCombination</a></pre> <div class="block">This class represents a key combination in which the main key is specified by its character. Such key combination is dependent on the keyboard functional layout configured by the user at the time of key combination matching.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.0</dd> </dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested.class.summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <ul class="blockList"> <li class="blockList"><a name="nested.classes.inherited.from.class.javafx.scene.input.KeyCombination"> <!-- --> </a> <h3>Nested classes/interfaces inherited from class javafx.scene.input.<a href="../../../javafx/scene/input/KeyCombination.html" title="class in javafx.scene.input">KeyCombination</a></h3> <code><a href="../../../javafx/scene/input/KeyCombination.Modifier.html" title="class in javafx.scene.input">KeyCombination.Modifier</a>, <a href="../../../javafx/scene/input/KeyCombination.ModifierValue.html" title="enum in javafx.scene.input">KeyCombination.ModifierValue</a></code></li> </ul> </li> </ul> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field.summary"> <!-- --> </a> <h3>Field Summary</h3> <ul class="blockList"> <li class="blockList"><a name="fields.inherited.from.class.javafx.scene.input.KeyCombination"> <!-- --> </a> <h3>Fields inherited from class javafx.scene.input.<a href="../../../javafx/scene/input/KeyCombination.html" title="class in javafx.scene.input">KeyCombination</a></h3> <code><a href="../../../javafx/scene/input/KeyCombination.html#ALT_ANY">ALT_ANY</a>, <a href="../../../javafx/scene/input/KeyCombination.html#ALT_DOWN">ALT_DOWN</a>, <a href="../../../javafx/scene/input/KeyCombination.html#CONTROL_ANY">CONTROL_ANY</a>, <a href="../../../javafx/scene/input/KeyCombination.html#CONTROL_DOWN">CONTROL_DOWN</a>, <a href="../../../javafx/scene/input/KeyCombination.html#META_ANY">META_ANY</a>, <a href="../../../javafx/scene/input/KeyCombination.html#META_DOWN">META_DOWN</a>, <a href="../../../javafx/scene/input/KeyCombination.html#NO_MATCH">NO_MATCH</a>, <a href="../../../javafx/scene/input/KeyCombination.html#SHIFT_ANY">SHIFT_ANY</a>, <a href="../../../javafx/scene/input/KeyCombination.html#SHIFT_DOWN">SHIFT_DOWN</a>, <a href="../../../javafx/scene/input/KeyCombination.html#SHORTCUT_ANY">SHORTCUT_ANY</a>, <a href="../../../javafx/scene/input/KeyCombination.html#SHORTCUT_DOWN">SHORTCUT_DOWN</a></code></li> </ul> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/KeyCharacterCombination.html#KeyCharacterCombination-java.lang.String-javafx.scene.input.KeyCombination.Modifier...-">KeyCharacterCombination</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> character, <a href="../../../javafx/scene/input/KeyCombination.Modifier.html" title="class in javafx.scene.input">KeyCombination.Modifier</a>... modifiers)</code> <div class="block">Constructs a <code>KeyCharacterCombination</code> for the specified main key character and the specified list of modifiers.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/KeyCharacterCombination.html#KeyCharacterCombination-java.lang.String-javafx.scene.input.KeyCombination.ModifierValue-javafx.scene.input.KeyCombination.ModifierValue-javafx.scene.input.KeyCombination.ModifierValue-javafx.scene.input.KeyCombination.ModifierValue-javafx.scene.input.KeyCombination.ModifierValue-">KeyCharacterCombination</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> character, <a href="../../../javafx/scene/input/KeyCombination.ModifierValue.html" title="enum in javafx.scene.input">KeyCombination.ModifierValue</a> shift, <a href="../../../javafx/scene/input/KeyCombination.ModifierValue.html" title="enum in javafx.scene.input">KeyCombination.ModifierValue</a> control, <a href="../../../javafx/scene/input/KeyCombination.ModifierValue.html" title="enum in javafx.scene.input">KeyCombination.ModifierValue</a> alt, <a href="../../../javafx/scene/input/KeyCombination.ModifierValue.html" title="enum in javafx.scene.input">KeyCombination.ModifierValue</a> meta, <a href="../../../javafx/scene/input/KeyCombination.ModifierValue.html" title="enum in javafx.scene.input">KeyCombination.ModifierValue</a> shortcut)</code> <div class="block">Constructs a <code>KeyCharacterCombination</code> for the specified main key character and with an explicit specification of all modifier keys.</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/KeyCharacterCombination.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code> <div class="block">Tests whether this <code>KeyCharacterCombination</code> equals to the specified object.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/KeyCharacterCombination.html#getCharacter--">getCharacter</a></span>()</code> <div class="block">Gets the key character associated with this key combination.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/KeyCharacterCombination.html#getDisplayText--">getDisplayText</a></span>()</code> <div class="block">Returns a string representation of this <code>KeyCombination</code> that is suitable for display in a user interface (for example, beside a menu item).</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/KeyCharacterCombination.html#getName--">getName</a></span>()</code> <div class="block">Returns a string representation of this <code>KeyCharacterCombination</code>.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/KeyCharacterCombination.html#hashCode--">hashCode</a></span>()</code> <div class="block">Returns a hash code value for this <code>KeyCharacterCombination</code>.</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/KeyCharacterCombination.html#match-javafx.scene.input.KeyEvent-">match</a></span>(<a href="../../../javafx/scene/input/KeyEvent.html" title="class in javafx.scene.input">KeyEvent</a> event)</code> <div class="block">Tests whether this key combination matches the key combination in the given <code>KeyEvent</code>.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.javafx.scene.input.KeyCombination"> <!-- --> </a> <h3>Methods inherited from class javafx.scene.input.<a href="../../../javafx/scene/input/KeyCombination.html" title="class in javafx.scene.input">KeyCombination</a></h3> <code><a href="../../../javafx/scene/input/KeyCombination.html#getAlt--">getAlt</a>, <a href="../../../javafx/scene/input/KeyCombination.html#getControl--">getControl</a>, <a href="../../../javafx/scene/input/KeyCombination.html#getMeta--">getMeta</a>, <a href="../../../javafx/scene/input/KeyCombination.html#getShift--">getShift</a>, <a href="../../../javafx/scene/input/KeyCombination.html#getShortcut--">getShortcut</a>, <a href="../../../javafx/scene/input/KeyCombination.html#keyCombination-java.lang.String-">keyCombination</a>, <a href="../../../javafx/scene/input/KeyCombination.html#toString--">toString</a>, <a href="../../../javafx/scene/input/KeyCombination.html#valueOf-java.lang.String-">valueOf</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="KeyCharacterCombination-java.lang.String-javafx.scene.input.KeyCombination.ModifierValue-javafx.scene.input.KeyCombination.ModifierValue-javafx.scene.input.KeyCombination.ModifierValue-javafx.scene.input.KeyCombination.ModifierValue-javafx.scene.input.KeyCombination.ModifierValue-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>KeyCharacterCombination</h4> <pre>public KeyCharacterCombination(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> character, <a href="../../../javafx/scene/input/KeyCombination.ModifierValue.html" title="enum in javafx.scene.input">KeyCombination.ModifierValue</a> shift, <a href="../../../javafx/scene/input/KeyCombination.ModifierValue.html" title="enum in javafx.scene.input">KeyCombination.ModifierValue</a> control, <a href="../../../javafx/scene/input/KeyCombination.ModifierValue.html" title="enum in javafx.scene.input">KeyCombination.ModifierValue</a> alt, <a href="../../../javafx/scene/input/KeyCombination.ModifierValue.html" title="enum in javafx.scene.input">KeyCombination.ModifierValue</a> meta, <a href="../../../javafx/scene/input/KeyCombination.ModifierValue.html" title="enum in javafx.scene.input">KeyCombination.ModifierValue</a> shortcut)</pre> <div class="block">Constructs a <code>KeyCharacterCombination</code> for the specified main key character and with an explicit specification of all modifier keys. Each modifier key can be set to <code>PRESSED</code>, <code>RELEASED</code> or <code>IGNORED</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>character</code> - the main key character</dd> <dd><code>shift</code> - the value of the <code>shift</code> modifier key</dd> <dd><code>control</code> - the value of the <code>control</code> modifier key</dd> <dd><code>alt</code> - the value of the <code>alt</code> modifier key</dd> <dd><code>meta</code> - the value of the <code>meta</code> modifier key</dd> <dd><code>shortcut</code> - the value of the <code>shortcut</code> modifier key</dd> </dl> </li> </ul> <a name="KeyCharacterCombination-java.lang.String-javafx.scene.input.KeyCombination.Modifier...-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>KeyCharacterCombination</h4> <pre>public KeyCharacterCombination(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> character, <a href="../../../javafx/scene/input/KeyCombination.Modifier.html" title="class in javafx.scene.input">KeyCombination.Modifier</a>... modifiers)</pre> <div class="block">Constructs a <code>KeyCharacterCombination</code> for the specified main key character and the specified list of modifiers. All modifier keys which are not explicitly listed are set to the default <code>RELEASED</code> value. <p> All possible modifiers which change the default modifier value are defined as constants in the <code>KeyCombination</code> class.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>character</code> - the main key character</dd> <dd><code>modifiers</code> - the list of modifier keys and their corresponding values</dd> </dl> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="getCharacter--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getCharacter</h4> <pre>public final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCharacter()</pre> <div class="block">Gets the key character associated with this key combination.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The key character associated with this key combination</dd> </dl> </li> </ul> <a name="match-javafx.scene.input.KeyEvent-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>match</h4> <pre>public boolean match(<a href="../../../javafx/scene/input/KeyEvent.html" title="class in javafx.scene.input">KeyEvent</a> event)</pre> <div class="block">Tests whether this key combination matches the key combination in the given <code>KeyEvent</code>. The key character of this object is first translated to the key code which is capable of producing the character in the current keyboard layout and then the resulting key code together with the modifier keys are matched against the key code and key modifiers from the <code>KeyEvent</code>. This means that the method can return <code>true</code> only for <code>KEY_PRESSED</code> and <code>KEY_RELEASED</code> events, but not for <code>KEY_TYPED</code> events, which don't have valid key codes.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../../javafx/scene/input/KeyCombination.html#match-javafx.scene.input.KeyEvent-">match</a></code> in class <code><a href="../../../javafx/scene/input/KeyCombination.html" title="class in javafx.scene.input">KeyCombination</a></code></dd> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>event</code> - the key event</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd><code>true</code> if the key combinations match, <code>false</code> otherwise</dd> </dl> </li> </ul> <a name="getName--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getName</h4> <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getName()</pre> <div class="block">Returns a string representation of this <code>KeyCharacterCombination</code>. <p> The string representation consists of sections separated by plus characters. Each section specifies either a modifier key or the main key. <p> A modifier key section contains the <code>KeyCode</code> name of a modifier key. It can be prefixed with the <code>Ignored</code> keyword. A non-prefixed modifier key implies its <code>PRESSED</code> value while the prefixed version implies the <code>IGNORED</code> value. If some modifier key is not specified in the string at all, it means it has the default <code>RELEASED</code> value. <p> The main key section contains the main key character enclosed in single quotes and is the last section in the returned string.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../../javafx/scene/input/KeyCombination.html#getName--">getName</a></code> in class <code><a href="../../../javafx/scene/input/KeyCombination.html" title="class in javafx.scene.input">KeyCombination</a></code></dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>the string representation of this <code>KeyCharacterCombination</code></dd> </dl> </li> </ul> <a name="getDisplayText--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getDisplayText</h4> <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getDisplayText()</pre> <div class="block">Returns a string representation of this <code>KeyCombination</code> that is suitable for display in a user interface (for example, beside a menu item).</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../../javafx/scene/input/KeyCombination.html#getDisplayText--">getDisplayText</a></code> in class <code><a href="../../../javafx/scene/input/KeyCombination.html" title="class in javafx.scene.input">KeyCombination</a></code></dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>A string representation of this <code>KeyCombination</code>, suitable for display in a user interface.</dd> </dl> </li> </ul> <a name="equals-java.lang.Object-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>equals</h4> <pre>public boolean equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre> <div class="block">Tests whether this <code>KeyCharacterCombination</code> equals to the specified object.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../../javafx/scene/input/KeyCombination.html#equals-java.lang.Object-">equals</a></code> in class <code><a href="../../../javafx/scene/input/KeyCombination.html" title="class in javafx.scene.input">KeyCombination</a></code></dd> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>obj</code> - the object to compare to</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd><code>true</code> if the objects are equal, <code>false</code> otherwise</dd> </dl> </li> </ul> <a name="hashCode--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>hashCode</h4> <pre>public int hashCode()</pre> <div class="block">Returns a hash code value for this <code>KeyCharacterCombination</code>.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../../javafx/scene/input/KeyCombination.html#hashCode--">hashCode</a></code> in class <code><a href="../../../javafx/scene/input/KeyCombination.html" title="class in javafx.scene.input">KeyCombination</a></code></dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>the hash code value</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/KeyCharacterCombination.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../javafx/scene/input/InputMethodTextRun.html" title="class in javafx.scene.input"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/input/KeyCode.html" title="enum in javafx.scene.input"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/input/KeyCharacterCombination.html" target="_top">Frames</a></li> <li><a href="KeyCharacterCombination.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.classes.inherited.from.class.javafx.scene.input.KeyCombination">Nested</a> | </li> <li><a href="#fields.inherited.from.class.javafx.scene.input.KeyCombination">Field</a> | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small><small><a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html">Copyright</a> (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.</small></small></p> </body> </html>