blob: 5c2329cde805e2dfed9f6ae375d2a81e6fb8fb1a [file] [log] [blame]
<html devsite="true">
<head>
<title>FocusInteraction</title>
{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %}
{% include "_shared/_reference-head-tags.html" %}
</head>
<body>
<div id="metadata-info-block"></div>
<h1>FocusInteraction</h1>
<p>
<pre>public interface <a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.html">FocusInteraction</a> extends <a href="/reference/androidx/compose/foundation/interaction/Interaction.html">Interaction</a></pre>
</p>
<div class="devsite-table-wrapper"><devsite-expandable><span class="expand-control jd-sumtable-subclasses">Known direct subclasses
<div class="showalways" id="subclasses-direct"><a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.Focus.html">FocusInteraction.Focus</a>, <a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.Unfocus.html">FocusInteraction.Unfocus</a></div>
</span>
<div id="subclasses-direct-summary">
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<tbody class="list">
<tr>
<td width="40%"><code><a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.Focus.html">FocusInteraction.Focus</a></code></td>
<td>
<p>An interaction representing a focus event on a component.</p>
</td>
</tr>
<tr>
<td width="40%"><code><a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.Unfocus.html">FocusInteraction.Unfocus</a></code></td>
<td>
<p>An interaction representing a <code><a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.Focus.html">Focus</a></code> event being released on a component.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</devsite-expandable> </div>
<hr>
<p>An interaction related to focus events.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">See also</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td width="40%"><code><a href="/reference/androidx/compose/foundation/package-summary.html#(androidx.compose.ui.Modifier).focusable(kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource)">focusable</a></code></td>
<td></td>
</tr>
<tr>
<td width="40%"><code><a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.Focus.html">FocusInteraction.Focus</a></code></td>
<td></td>
</tr>
<tr>
<td width="40%"><code><a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.Unfocus.html">FocusInteraction.Unfocus</a></code></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%"><h3>Nested types</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td>
<div><code>public final class <a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.Focus.html">FocusInteraction.Focus</a> implements <a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.html">FocusInteraction</a></code></div>
<p>An interaction representing a focus event on a component.</p>
</td>
</tr>
<tr>
<td>
<div><code>public final class <a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.Unfocus.html">FocusInteraction.Unfocus</a> implements <a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.html">FocusInteraction</a></code></div>
<p>An interaction representing a <code><a href="/reference/androidx/compose/foundation/interaction/FocusInteraction.Focus.html">Focus</a></code> event being released on a component.</p>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>