|
| 1 | +<!DOCTYPE HTML> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | +<!-- Generated by javadoc (27) --> |
| 5 | +<title>Action (Bio7 4.0 API)</title> |
| 6 | +<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 8 | +<meta name="description" content="declaration: package: com.eco.bio7.simulation, annotation type: Action"> |
| 9 | +<meta name="generator" content="javadoc/ClassWriter"> |
| 10 | +<link rel="stylesheet" type="text/css" href="../../../../resource-files/stylesheet.css"> |
| 11 | +<script type="text/javascript" src="../../../../script-files/script.js"></script> |
| 12 | +</head> |
| 13 | +<body class="class-declaration-page"> |
| 14 | +<script type="text/javascript">const pathtoroot = "../../../../"; |
| 15 | +loadScripts(); |
| 16 | +initTheme(); |
| 17 | +</script> |
| 18 | +<noscript> |
| 19 | +<div>JavaScript is disabled on your browser.</div> |
| 20 | +</noscript> |
| 21 | +<header role="banner"> |
| 22 | +<nav role="navigation"> |
| 23 | +<!-- ========= START OF TOP NAVBAR ======= --> |
| 24 | +<div class="top-nav" id="navbar-top"> |
| 25 | +<div class="nav-content"> |
| 26 | +<div class="nav-menu-button"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button></div> |
| 27 | +<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| 28 | +<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| 29 | +<li><a href="../../../../index.html">Overview</a></li> |
| 30 | +<li class="nav-bar-cell1-rev">Class</li> |
| 31 | +<li><a href="package-tree.html">Tree</a></li> |
| 32 | +<li><a href="../../../../index-all.html">Index</a></li> |
| 33 | +<li><a href="../../../../search.html">Search</a></li> |
| 34 | +<li><a href="../../../../help-doc.html#class">Help</a></li> |
| 35 | +<li><button id="theme-button" aria-label="Select Theme" title="Select Theme"></button></li> |
| 36 | +</ul> |
| 37 | +<div id="theme-panel"> |
| 38 | +<div>Select Theme</div> |
| 39 | +<div><label for="theme-light"><input type="radio" id="theme-light" disabled name="theme" value="theme-light"><span>Light</span></label><label for="theme-dark"><input type="radio" id="theme-dark" disabled name="theme" value="theme-dark"><span>Dark</span></label><label for="theme-os"><input type="radio" id="theme-os" disabled name="theme" value="theme-os"><span>System Setting</span></label></div> |
| 40 | +</div> |
| 41 | +<div class="about-language">Bio7 4.0 API</div> |
| 42 | +</div> |
| 43 | +</div> |
| 44 | +<div class="sub-nav"> |
| 45 | +<div class="nav-content"> |
| 46 | +<ol class="sub-nav-list"> |
| 47 | +<li><a href="package-summary.html" title="Package com.eco.bio7.simulation">com.eco.bio7.simulation</a></li> |
| 48 | +<li><a href="Action.html" title="Annotation Interface Action" class="current-selection">Action</a></li> |
| 49 | +</ol> |
| 50 | +<div class="nav-list-search"><input type="text" id="search-input" disabled title="Search documentation (type /)" placeholder="Search documentation (type /)" aria-label="Search in documentation" autocomplete="off" spellcheck="false"><input type="reset" id="reset-search" disabled value="Reset"></div> |
| 51 | +<div id="search-result-section"> |
| 52 | +<div class="search-form"> |
| 53 | +<div><label for="search-input">Search for</label></div> |
| 54 | +<div id="search-input-container"></div> |
| 55 | +</div> |
| 56 | +<div id="search-result-container"></div> |
| 57 | +<div class="search-links"> |
| 58 | +<div><a href="../../../../search.html" id="search-page-link">Search page</a></div> |
| 59 | +<div><a href="../../../../help-doc.html#search">Search help</a></div> |
| 60 | +</div> |
| 61 | +</div> |
| 62 | +</div> |
| 63 | +</div> |
| 64 | +<!-- ========= END OF TOP NAVBAR ========= --> |
| 65 | +<span class="skip-nav" id="skip-navbar-top"></span></nav> |
| 66 | +</header> |
| 67 | +<div class="main-grid"> |
| 68 | +<nav role="navigation" class="toc" aria-label="Table of contents"> |
| 69 | +<div class="toc-header">Contents <input type="text" class="filter-input" disabled title="Filter contents (type .)" placeholder="Filter contents (type .)" aria-label="Filter table of contents" autocomplete="off" spellcheck="false"><input type="reset" class="reset-filter" disabled tabindex="-1" value="Reset"> <button class="toc-sort-toggle" id="toc-lexical-order-toggle"><img src="../../../../resource-files/sort-a-z.svg" alt="Sort member details in lexicographical order"></button></div> |
| 70 | +<ol class="toc-list" tabindex="-1"> |
| 71 | +<li><a href="#" tabindex="0">Description</a></li> |
| 72 | +<li><a href="#annotation-interface-optional-element-summary" tabindex="0">Optional Element Summary</a></li> |
| 73 | +<li><a href="#annotation-interface-element-detail" tabindex="0">Element Details</a> |
| 74 | +<ol class="toc-list"> |
| 75 | +<li><a href="#label()" tabindex="0">label</a></li> |
| 76 | +<li><a href="#group()" tabindex="0">group</a></li> |
| 77 | +</ol> |
| 78 | +</li> |
| 79 | +</ol> |
| 80 | +<button class="hide-sidebar"><span>Hide sidebar </span><img src="../../../../resource-files/left.svg" alt="Hide sidebar"></button><button class="show-sidebar"><img src="../../../../resource-files/right.svg" alt="Show sidebar"><span> Show sidebar</span></button></nav> |
| 81 | +<main role="main"> |
| 82 | +<!-- ======== START OF CLASS DATA ======== --> |
| 83 | +<div class="header"> |
| 84 | +<h1 title="Annotation Interface Action" class="title">Annotation Interface Action</h1> |
| 85 | +</div> |
| 86 | +<section class="class-description" id="class-description"> |
| 87 | +<hr> |
| 88 | +<div class="horizontal-scroll"> |
| 89 | +<div class="type-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/27/docs/api/java.base/java/lang/annotation/Retention.html" title="annotation interface in java.lang.annotation" class="external-link">@Retention</a>(<a href="https://docs.oracle.com/en/java/javase/27/docs/api/java.base/java/lang/annotation/RetentionPolicy.html#RUNTIME" class="external-link">RUNTIME</a>) |
| 90 | +<a href="https://docs.oracle.com/en/java/javase/27/docs/api/java.base/java/lang/annotation/Target.html" title="annotation interface in java.lang.annotation" class="external-link">@Target</a>(<a href="https://docs.oracle.com/en/java/javase/27/docs/api/java.base/java/lang/annotation/ElementType.html#METHOD" class="external-link">METHOD</a>) |
| 91 | +</span><span class="modifiers">public @interface </span><span class="element-name type-name-label">Action</span></div> |
| 92 | +<div class="block">Marks a method of a simulation model (public, without parameters) as an |
| 93 | +action: a button in the settings of Bio7 and of the HTML export (e.g., "Add |
| 94 | +a glider"). The view is updated after the call. The buttons of a group are |
| 95 | +shown below the settings of the group (sorted by the label).</div> |
| 96 | +</div> |
| 97 | +</section> |
| 98 | +<section class="summary"> |
| 99 | +<ul class="summary-list"> |
| 100 | +<!-- =========== ANNOTATION INTERFACE OPTIONAL MEMBER SUMMARY =========== --> |
| 101 | +<li> |
| 102 | +<section class="member-summary" id="annotation-interface-optional-element-summary"> |
| 103 | +<h2>Optional Element Summary</h2> |
| 104 | +<div class="caption"><span>Optional Elements</span></div> |
| 105 | +<div class="summary-table three-column-summary"> |
| 106 | +<div class="table-header col-first">Modifier and Type</div> |
| 107 | +<div class="table-header col-second">Optional Element</div> |
| 108 | +<div class="table-header col-last">Description</div> |
| 109 | +<div class="col-first even-row-color"><code><a href="https://docs.oracle.com/en/java/javase/27/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a></code></div> |
| 110 | +<div class="col-second even-row-color"><code><a href="#group()" class="member-name-link">group</a></code></div> |
| 111 | +<div class="col-last even-row-color"> |
| 112 | +<div class="block">The group (the heading of the settings with the same group, empty: the buttons at the end).</div> |
| 113 | +</div> |
| 114 | +<div class="col-first odd-row-color"><code><a href="https://docs.oracle.com/en/java/javase/27/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a></code></div> |
| 115 | +<div class="col-second odd-row-color"><code><a href="#label()" class="member-name-link">label</a></code></div> |
| 116 | +<div class="col-last odd-row-color"> |
| 117 | +<div class="block">The label of the button (default: the name of the method).</div> |
| 118 | +</div> |
| 119 | +</div> |
| 120 | +</section> |
| 121 | +</li> |
| 122 | +</ul> |
| 123 | +</section> |
| 124 | +<section class="details" id="annotation-interface-element-detail"> |
| 125 | +<ul class="details-list"> |
| 126 | +<!-- ============ ANNOTATION INTERFACE MEMBER DETAIL =========== --> |
| 127 | +<li> |
| 128 | +<section class="member-details"> |
| 129 | +<h2>Element Details</h2> |
| 130 | +<ul class="member-list"> |
| 131 | +<li> |
| 132 | +<section class="detail" id="label()"> |
| 133 | +<h3>label</h3> |
| 134 | +<div class="horizontal-scroll"> |
| 135 | +<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/27/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a></span> <span class="element-name">label</span></div> |
| 136 | +<div class="block">The label of the button (default: the name of the method).</div> |
| 137 | +<dl class="notes"> |
| 138 | +<dt>Default:</dt> |
| 139 | +<dd><code>""</code></dd> |
| 140 | +</dl> |
| 141 | +</div> |
| 142 | +</section> |
| 143 | +</li> |
| 144 | +<li> |
| 145 | +<section class="detail" id="group()"> |
| 146 | +<h3>group</h3> |
| 147 | +<div class="horizontal-scroll"> |
| 148 | +<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/27/docs/api/java.base/java/lang/String.html" title="class in java.lang" class="external-link">String</a></span> <span class="element-name">group</span></div> |
| 149 | +<div class="block">The group (the heading of the settings with the same group, empty: the buttons at the end).</div> |
| 150 | +<dl class="notes"> |
| 151 | +<dt>Default:</dt> |
| 152 | +<dd><code>""</code></dd> |
| 153 | +</dl> |
| 154 | +</div> |
| 155 | +</section> |
| 156 | +</li> |
| 157 | +</ul> |
| 158 | +</section> |
| 159 | +</li> |
| 160 | +</ul> |
| 161 | +</section> |
| 162 | +<!-- ========= END OF CLASS DATA ========= --> |
| 163 | +<footer> |
| 164 | +<hr> |
| 165 | +<p class="legal-copy"><small>Bio7 4.0 – Eclipse Public License 2.0 – <a href="https://bio7.org">bio7.org</a></small></p> |
| 166 | +</footer> |
| 167 | +</main> |
| 168 | +</div> |
| 169 | +</body> |
| 170 | +</html> |
0 commit comments