The future is now. Read Hardware inputs from devices plugged into a computer, cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
jinput2.10/docs/net/java/games/input/class-use/Component.html

251 lines
19 KiB

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) on Wed Jun 22 19:13:29 UTC 2022 -->
<title>Uses of Interface net.java.games.input.Component (jinput API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-06-22">
<meta name="description" content="use: package: net.java.games.input, interface: Component">
<meta name="generator" content="javadoc/ClassUseWriter">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-use-page">
<script type="text/javascript">var pathtoroot = "../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../Component.html" title="interface in net.java.games.input">Class</a></li>
<li class="nav-bar-cell1-rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html#use">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header">
<h1 title="Uses of Interface net.java.games.input.Component" class="title">Uses of Interface<br>net.java.games.input.Component</h1>
</div>
<div class="caption"><span>Packages that use <a href="../Component.html" title="interface in net.java.games.input">Component</a></span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><a href="#net.java.games.input">net.java.games.input</a></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="net.java.games.input">
<h2>Uses of <a href="../Component.html" title="interface in net.java.games.input">Component</a> in <a href="../package-summary.html">net.java.games.input</a></h2>
<div class="caption"><span>Classes in <a href="../package-summary.html">net.java.games.input</a> that implement <a href="../Component.html" title="interface in net.java.games.input">Component</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Class</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>class&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../AbstractComponent.html" class="type-name-link" title="class in net.java.games.input">AbstractComponent</a></code></div>
<div class="col-last even-row-color">
<div class="block">Skeleton implementation of a named axis.</div>
</div>
<div class="col-first odd-row-color"><code>class&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../LinuxJoystickPOV.html" class="type-name-link" title="class in net.java.games.input">LinuxJoystickPOV</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>class&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../WinTabButtonComponent.html" class="type-name-link" title="class in net.java.games.input">WinTabButtonComponent</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>class&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../WinTabComponent.html" class="type-name-link" title="class in net.java.games.input">WinTabComponent</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>class&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../WinTabCursorComponent.html" class="type-name-link" title="class in net.java.games.input">WinTabCursorComponent</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../package-summary.html">net.java.games.input</a> that return <a href="../Component.html" title="interface in net.java.games.input">Component</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getBack()" class="member-name-link">getBack</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the back mouse button, null if the mouse hasn't
got one.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getButton3()" class="member-name-link">getButton3</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns forth mouse button, null if the mouse hasn't
got one.</div>
</div>
<div class="col-first even-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getButton4()" class="member-name-link">getButton4</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns fifth mouse button, null if the mouse hasn't
got one.</div>
</div>
<div class="col-first odd-row-color"><code>final <a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">AbstractController.</span><code><a href="../AbstractController.html#getComponent(net.java.games.input.Component.Identifier)" class="member-name-link">getComponent</a><wbr>(<a href="../Component.Identifier.html" title="class in net.java.games.input">Component.Identifier</a>&nbsp;id)</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns a single component based on its identifier, or null
if no component with the specified type could be found.</div>
</div>
<div class="col-first even-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Controller.</span><code><a href="../Controller.html#getComponent(net.java.games.input.Component.Identifier)" class="member-name-link">getComponent</a><wbr>(<a href="../Component.Identifier.html" title="class in net.java.games.input">Component.Identifier</a>&nbsp;id)</code></div>
<div class="col-last even-row-color">
<div class="block">Returns a single axis based on its type, or null
if no axis with the specified type could be found.</div>
</div>
<div class="col-first odd-row-color"><code>final <a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Event.</span><code><a href="../Event.html#getComponent()" class="member-name-link">getComponent</a>()</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>final <a href="../Component.html" title="interface in net.java.games.input">Component</a>[]</code></div>
<div class="col-second even-row-color"><span class="type-name-label">AbstractController.</span><code><a href="../AbstractController.html#getComponents()" class="member-name-link">getComponents</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the components on this controller, in order of assignment priority.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a>[]</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Controller.</span><code><a href="../Controller.html#getComponents()" class="member-name-link">getComponents</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns the components on this controller, in order of assignment priority.</div>
</div>
<div class="col-first even-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getExtra()" class="member-name-link">getExtra</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the extra or 5th mouse button, null if the mouse has
fewer than 5 buttons.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getForward()" class="member-name-link">getForward</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns the forward mouse button, null if the mouse hasn't
got one.</div>
</div>
<div class="col-first even-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getLeft()" class="member-name-link">getLeft</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the left mouse button.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getMiddle()" class="member-name-link">getMiddle</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns the middle, null if the mouse has fewer than three buttons.</div>
</div>
<div class="col-first even-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getPrimaryButton()" class="member-name-link">getPrimaryButton</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the left or primary mouse button, never null.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getRight()" class="member-name-link">getRight</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns the right, null if the mouse is a single-button mouse.</div>
</div>
<div class="col-first even-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getSecondaryButton()" class="member-name-link">getSecondaryButton</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the right or secondary mouse button, null if the mouse is
a single-button mouse.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getSide()" class="member-name-link">getSide</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns the side or 4th mouse button, null if the mouse has
fewer than 4 buttons.</div>
</div>
<div class="col-first even-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getTertiaryButton()" class="member-name-link">getTertiaryButton</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the middle or tertiary mouse button, null if the mouse has
fewer than three buttons.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getWheel()" class="member-name-link">getWheel</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns the mouse wheel, or null if no mouse wheel is present.</div>
</div>
<div class="col-first even-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getX()" class="member-name-link">getX</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns the x-axis for the mouse ball, never null.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../Component.html" title="interface in net.java.games.input">Component</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Mouse.</span><code><a href="../Mouse.html#getY()" class="member-name-link">getY</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns the y-axis for the mouse ball, never null.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../package-summary.html">net.java.games.input</a> with parameters of type <a href="../Component.html" title="interface in net.java.games.input">Component</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>final void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">Event.</span><code><a href="../Event.html#set(net.java.games.input.Component,float,long)" class="member-name-link">set</a><wbr>(<a href="../Component.html" title="interface in net.java.games.input">Component</a>&nbsp;component,
float&nbsp;value,
long&nbsp;nanos)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Constructors in <a href="../package-summary.html">net.java.games.input</a> with parameters of type <a href="../Component.html" title="interface in net.java.games.input">Component</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier</div>
<div class="table-header col-second">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>protected </code></div>
<div class="col-second even-row-color"><code><a href="../AbstractController.html#%3Cinit%3E(java.lang.String,net.java.games.input.Component%5B%5D,net.java.games.input.AbstractController%5B%5D,net.java.games.input.Rumbler%5B%5D)" class="member-name-link">AbstractController</a><wbr>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;name,
<a href="../Component.html" title="interface in net.java.games.input">Component</a>[]&nbsp;components,
<a href="../AbstractController.html" title="class in net.java.games.input">AbstractController</a>[]&nbsp;children,
<a href="../Rumbler.html" title="interface in net.java.games.input">Rumbler</a>[]&nbsp;rumblers)</code></div>
<div class="col-last even-row-color">
<div class="block">Protected constructor for a controller containing the specified
axes, child controllers, and rumblers</div>
</div>
<div class="col-first odd-row-color"><code>protected </code></div>
<div class="col-second odd-row-color"><code><a href="../Keyboard.html#%3Cinit%3E(java.lang.String,net.java.games.input.Component%5B%5D,net.java.games.input.AbstractController%5B%5D,net.java.games.input.Rumbler%5B%5D)" class="member-name-link">Keyboard</a><wbr>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;name,
<a href="../Component.html" title="interface in net.java.games.input">Component</a>[]&nbsp;keys,
<a href="../AbstractController.html" title="class in net.java.games.input">AbstractController</a>[]&nbsp;children,
<a href="../Rumbler.html" title="interface in net.java.games.input">Rumbler</a>[]&nbsp;rumblers)</code></div>
<div class="col-last odd-row-color">
<div class="block">Protected constructor.</div>
</div>
<div class="col-first even-row-color"><code>protected </code></div>
<div class="col-second even-row-color"><code><a href="../Mouse.html#%3Cinit%3E(java.lang.String,net.java.games.input.Component%5B%5D,net.java.games.input.AbstractController%5B%5D,net.java.games.input.Rumbler%5B%5D)" class="member-name-link">Mouse</a><wbr>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;name,
<a href="../Component.html" title="interface in net.java.games.input">Component</a>[]&nbsp;components,
<a href="../AbstractController.html" title="class in net.java.games.input">AbstractController</a>[]&nbsp;children,
<a href="../Rumbler.html" title="interface in net.java.games.input">Rumbler</a>[]&nbsp;rumblers)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>