Newer
Older
ecologia / doc / javadoc / view / SimulationConfig.html
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_111) on Mon Dec 19 20:43:57 CET 2016 -->
  6. <title>SimulationConfig</title>
  7. <meta name="date" content="2016-12-19">
  8. <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="SimulationConfig";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10,"i3":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="../deprecated-list.html">Deprecated</a></li>
  45. <li><a href="../index-all.html">Index</a></li>
  46. <li><a href="../help-doc.html">Help</a></li>
  47. </ul>
  48. <div class="aboutLanguage">Ecologia</div>
  49. </div>
  50. <div class="subNav">
  51. <ul class="navList">
  52. <li><a href="../view/ProgramConfig.html" title="class in view"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li>Next&nbsp;Class</li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../index.html?view/SimulationConfig.html" target="_top">Frames</a></li>
  57. <li><a href="SimulationConfig.html" target="_top">No&nbsp;Frames</a></li>
  58. </ul>
  59. <ul class="navList" id="allclasses_navbar_top">
  60. <li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
  61. </ul>
  62. <div>
  63. <script type="text/javascript"><!--
  64. allClassesLink = document.getElementById("allclasses_navbar_top");
  65. if(window==top) {
  66. allClassesLink.style.display = "block";
  67. }
  68. else {
  69. allClassesLink.style.display = "none";
  70. }
  71. //-->
  72. </script>
  73. </div>
  74. <div>
  75. <ul class="subNavList">
  76. <li>Summary:&nbsp;</li>
  77. <li><a href="#nested.classes.inherited.from.class.javax.swing.JFrame">Nested</a>&nbsp;|&nbsp;</li>
  78. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  80. <li><a href="#method.summary">Method</a></li>
  81. </ul>
  82. <ul class="subNavList">
  83. <li>Detail:&nbsp;</li>
  84. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  86. <li><a href="#method.detail">Method</a></li>
  87. </ul>
  88. </div>
  89. <a name="skip.navbar.top">
  90. <!-- -->
  91. </a></div>
  92. <!-- ========= END OF TOP NAVBAR ========= -->
  93. <!-- ======== START OF CLASS DATA ======== -->
  94. <div class="header">
  95. <div class="subTitle">view</div>
  96. <h2 title="Class SimulationConfig" class="title">Class SimulationConfig</h2>
  97. </div>
  98. <div class="contentContainer">
  99. <ul class="inheritance">
  100. <li>java.lang.Object</li>
  101. <li>
  102. <ul class="inheritance">
  103. <li>java.awt.Component</li>
  104. <li>
  105. <ul class="inheritance">
  106. <li>java.awt.Container</li>
  107. <li>
  108. <ul class="inheritance">
  109. <li>java.awt.Window</li>
  110. <li>
  111. <ul class="inheritance">
  112. <li>java.awt.Frame</li>
  113. <li>
  114. <ul class="inheritance">
  115. <li>javax.swing.JFrame</li>
  116. <li>
  117. <ul class="inheritance">
  118. <li>view.SimulationConfig</li>
  119. </ul>
  120. </li>
  121. </ul>
  122. </li>
  123. </ul>
  124. </li>
  125. </ul>
  126. </li>
  127. </ul>
  128. </li>
  129. </ul>
  130. </li>
  131. </ul>
  132. <div class="description">
  133. <ul class="blockList">
  134. <li class="blockList">
  135. <dl>
  136. <dt>All Implemented Interfaces:</dt>
  137. <dd>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants</dd>
  138. </dl>
  139. <hr>
  140. <br>
  141. <pre>public class <span class="typeNameLabel">SimulationConfig</span>
  142. extends javax.swing.JFrame</pre>
  143. <div class="block">This class is used to graphically configure simulation parameters
  144. prior to the start of a run.</div>
  145. <dl>
  146. <dt><span class="seeLabel">See Also:</span></dt>
  147. <dd><a href="../serialized-form.html#view.SimulationConfig">Serialized Form</a></dd>
  148. </dl>
  149. </li>
  150. </ul>
  151. </div>
  152. <div class="summary">
  153. <ul class="blockList">
  154. <li class="blockList">
  155. <!-- ======== NESTED CLASS SUMMARY ======== -->
  156. <ul class="blockList">
  157. <li class="blockList"><a name="nested.class.summary">
  158. <!-- -->
  159. </a>
  160. <h3>Nested Class Summary</h3>
  161. <ul class="blockList">
  162. <li class="blockList"><a name="nested.classes.inherited.from.class.javax.swing.JFrame">
  163. <!-- -->
  164. </a>
  165. <h3>Nested classes/interfaces inherited from class&nbsp;javax.swing.JFrame</h3>
  166. <code>javax.swing.JFrame.AccessibleJFrame</code></li>
  167. </ul>
  168. <ul class="blockList">
  169. <li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Frame">
  170. <!-- -->
  171. </a>
  172. <h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Frame</h3>
  173. <code>java.awt.Frame.AccessibleAWTFrame</code></li>
  174. </ul>
  175. <ul class="blockList">
  176. <li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Window">
  177. <!-- -->
  178. </a>
  179. <h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Window</h3>
  180. <code>java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type</code></li>
  181. </ul>
  182. <ul class="blockList">
  183. <li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Container">
  184. <!-- -->
  185. </a>
  186. <h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Container</h3>
  187. <code>java.awt.Container.AccessibleAWTContainer</code></li>
  188. </ul>
  189. <ul class="blockList">
  190. <li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Component">
  191. <!-- -->
  192. </a>
  193. <h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Component</h3>
  194. <code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
  195. </ul>
  196. </li>
  197. </ul>
  198. <!-- =========== FIELD SUMMARY =========== -->
  199. <ul class="blockList">
  200. <li class="blockList"><a name="field.summary">
  201. <!-- -->
  202. </a>
  203. <h3>Field Summary</h3>
  204. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  205. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  206. <tr>
  207. <th class="colFirst" scope="col">Modifier and Type</th>
  208. <th class="colLast" scope="col">Field and Description</th>
  209. </tr>
  210. <tr class="altColor">
  211. <td class="colFirst"><code>private javax.swing.JButton</code></td>
  212. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#confirm">confirm</a></span></code>&nbsp;</td>
  213. </tr>
  214. <tr class="rowColor">
  215. <td class="colFirst"><code>private javax.swing.JLabel</code></td>
  216. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#dimensions">dimensions</a></span></code>&nbsp;</td>
  217. </tr>
  218. <tr class="altColor">
  219. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  220. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#energyCarnivores">energyCarnivores</a></span></code>&nbsp;</td>
  221. </tr>
  222. <tr class="rowColor">
  223. <td class="colFirst"><code>private javax.swing.JLabel</code></td>
  224. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#energyCarnLabel">energyCarnLabel</a></span></code>&nbsp;</td>
  225. </tr>
  226. <tr class="altColor">
  227. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  228. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#energyHerbivores">energyHerbivores</a></span></code>&nbsp;</td>
  229. </tr>
  230. <tr class="rowColor">
  231. <td class="colFirst"><code>private javax.swing.JLabel</code></td>
  232. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#energyHerbLabel">energyHerbLabel</a></span></code>&nbsp;</td>
  233. </tr>
  234. <tr class="altColor">
  235. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  236. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#grassDensity">grassDensity</a></span></code>&nbsp;</td>
  237. </tr>
  238. <tr class="rowColor">
  239. <td class="colFirst"><code>private javax.swing.JLabel</code></td>
  240. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#grassLabel">grassLabel</a></span></code>&nbsp;</td>
  241. </tr>
  242. <tr class="altColor">
  243. <td class="colFirst"><code>private javax.swing.JLabel</code></td>
  244. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#heading">heading</a></span></code>&nbsp;</td>
  245. </tr>
  246. <tr class="rowColor">
  247. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  248. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#height">height</a></span></code>&nbsp;</td>
  249. </tr>
  250. <tr class="altColor">
  251. <td class="colFirst"><code>private javax.swing.Box</code></td>
  252. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#mainBox">mainBox</a></span></code>&nbsp;</td>
  253. </tr>
  254. <tr class="rowColor">
  255. <td class="colFirst"><code>private javax.swing.JLabel</code></td>
  256. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#nCarnLabel">nCarnLabel</a></span></code>&nbsp;</td>
  257. </tr>
  258. <tr class="altColor">
  259. <td class="colFirst"><code>private javax.swing.JLabel</code></td>
  260. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#nHerbLabel">nHerbLabel</a></span></code>&nbsp;</td>
  261. </tr>
  262. <tr class="rowColor">
  263. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  264. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#no_carnivores">no_carnivores</a></span></code>&nbsp;</td>
  265. </tr>
  266. <tr class="altColor">
  267. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  268. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#no_herbivores">no_herbivores</a></span></code>&nbsp;</td>
  269. </tr>
  270. <tr class="rowColor">
  271. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  272. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#no_water_tiles">no_water_tiles</a></span></code>&nbsp;</td>
  273. </tr>
  274. <tr class="altColor">
  275. <td class="colFirst"><code>private boolean</code></td>
  276. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#showRestartDialog">showRestartDialog</a></span></code>&nbsp;</td>
  277. </tr>
  278. <tr class="rowColor">
  279. <td class="colFirst"><code>private javax.swing.JLabel</code></td>
  280. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#waterLabel">waterLabel</a></span></code>&nbsp;</td>
  281. </tr>
  282. <tr class="altColor">
  283. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  284. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#width">width</a></span></code>&nbsp;</td>
  285. </tr>
  286. </table>
  287. <ul class="blockList">
  288. <li class="blockList"><a name="fields.inherited.from.class.javax.swing.JFrame">
  289. <!-- -->
  290. </a>
  291. <h3>Fields inherited from class&nbsp;javax.swing.JFrame</h3>
  292. <code>accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled</code></li>
  293. </ul>
  294. <ul class="blockList">
  295. <li class="blockList"><a name="fields.inherited.from.class.java.awt.Frame">
  296. <!-- -->
  297. </a>
  298. <h3>Fields inherited from class&nbsp;java.awt.Frame</h3>
  299. <code>CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR</code></li>
  300. </ul>
  301. <ul class="blockList">
  302. <li class="blockList"><a name="fields.inherited.from.class.java.awt.Component">
  303. <!-- -->
  304. </a>
  305. <h3>Fields inherited from class&nbsp;java.awt.Component</h3>
  306. <code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
  307. </ul>
  308. <ul class="blockList">
  309. <li class="blockList"><a name="fields.inherited.from.class.javax.swing.WindowConstants">
  310. <!-- -->
  311. </a>
  312. <h3>Fields inherited from interface&nbsp;javax.swing.WindowConstants</h3>
  313. <code>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE</code></li>
  314. </ul>
  315. <ul class="blockList">
  316. <li class="blockList"><a name="fields.inherited.from.class.java.awt.image.ImageObserver">
  317. <!-- -->
  318. </a>
  319. <h3>Fields inherited from interface&nbsp;java.awt.image.ImageObserver</h3>
  320. <code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
  321. </ul>
  322. </li>
  323. </ul>
  324. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  325. <ul class="blockList">
  326. <li class="blockList"><a name="constructor.summary">
  327. <!-- -->
  328. </a>
  329. <h3>Constructor Summary</h3>
  330. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  331. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  332. <tr>
  333. <th class="colOne" scope="col">Constructor and Description</th>
  334. </tr>
  335. <tr class="altColor">
  336. <td class="colOne"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#SimulationConfig--">SimulationConfig</a></span>()</code>
  337. <div class="block">The constructor</div>
  338. </td>
  339. </tr>
  340. </table>
  341. </li>
  342. </ul>
  343. <!-- ========== METHOD SUMMARY =========== -->
  344. <ul class="blockList">
  345. <li class="blockList"><a name="method.summary">
  346. <!-- -->
  347. </a>
  348. <h3>Method Summary</h3>
  349. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  350. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  351. <tr>
  352. <th class="colFirst" scope="col">Modifier and Type</th>
  353. <th class="colLast" scope="col">Method and Description</th>
  354. </tr>
  355. <tr id="i0" class="altColor">
  356. <td class="colFirst"><code>private void</code></td>
  357. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#drawConfigWindow--">drawConfigWindow</a></span>()</code>
  358. <div class="block">Create the interface</div>
  359. </td>
  360. </tr>
  361. <tr id="i1" class="rowColor">
  362. <td class="colFirst"><code>void</code></td>
  363. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#refresh--">refresh</a></span>()</code>
  364. <div class="block">Refresh values displayed in the text fields.</div>
  365. </td>
  366. </tr>
  367. <tr id="i2" class="altColor">
  368. <td class="colFirst"><code>void</code></td>
  369. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#showConfig-boolean-">showConfig</a></span>(boolean&nbsp;showRestart)</code>
  370. <div class="block">Show the configuration window</div>
  371. </td>
  372. </tr>
  373. <tr id="i3" class="rowColor">
  374. <td class="colFirst"><code>void</code></td>
  375. <td class="colLast"><code><span class="memberNameLink"><a href="../view/SimulationConfig.html#updateWorld--">updateWorld</a></span>()</code>
  376. <div class="block">Extract all the settings from the text fields and update the world parameters</div>
  377. </td>
  378. </tr>
  379. </table>
  380. <ul class="blockList">
  381. <li class="blockList"><a name="methods.inherited.from.class.javax.swing.JFrame">
  382. <!-- -->
  383. </a>
  384. <h3>Methods inherited from class&nbsp;javax.swing.JFrame</h3>
  385. <code>addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update</code></li>
  386. </ul>
  387. <ul class="blockList">
  388. <li class="blockList"><a name="methods.inherited.from.class.java.awt.Frame">
  389. <!-- -->
  390. </a>
  391. <h3>Methods inherited from class&nbsp;java.awt.Frame</h3>
  392. <code>addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated</code></li>
  393. </ul>
  394. <ul class="blockList">
  395. <li class="blockList"><a name="methods.inherited.from.class.java.awt.Window">
  396. <!-- -->
  397. </a>
  398. <h3>Methods inherited from class&nbsp;java.awt.Window</h3>
  399. <code>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront</code></li>
  400. </ul>
  401. <ul class="blockList">
  402. <li class="blockList"><a name="methods.inherited.from.class.java.awt.Container">
  403. <!-- -->
  404. </a>
  405. <h3>Methods inherited from class&nbsp;java.awt.Container</h3>
  406. <code>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree</code></li>
  407. </ul>
  408. <ul class="blockList">
  409. <li class="blockList"><a name="methods.inherited.from.class.java.awt.Component">
  410. <!-- -->
  411. </a>
  412. <h3>Methods inherited from class&nbsp;java.awt.Component</h3>
  413. <code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
  414. </ul>
  415. <ul class="blockList">
  416. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  417. <!-- -->
  418. </a>
  419. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  420. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  421. </ul>
  422. <ul class="blockList">
  423. <li class="blockList"><a name="methods.inherited.from.class.java.awt.MenuContainer">
  424. <!-- -->
  425. </a>
  426. <h3>Methods inherited from interface&nbsp;java.awt.MenuContainer</h3>
  427. <code>getFont, postEvent</code></li>
  428. </ul>
  429. </li>
  430. </ul>
  431. </li>
  432. </ul>
  433. </div>
  434. <div class="details">
  435. <ul class="blockList">
  436. <li class="blockList">
  437. <!-- ============ FIELD DETAIL =========== -->
  438. <ul class="blockList">
  439. <li class="blockList"><a name="field.detail">
  440. <!-- -->
  441. </a>
  442. <h3>Field Detail</h3>
  443. <a name="mainBox">
  444. <!-- -->
  445. </a>
  446. <ul class="blockList">
  447. <li class="blockList">
  448. <h4>mainBox</h4>
  449. <pre>private&nbsp;javax.swing.Box mainBox</pre>
  450. </li>
  451. </ul>
  452. <a name="heading">
  453. <!-- -->
  454. </a>
  455. <ul class="blockList">
  456. <li class="blockList">
  457. <h4>heading</h4>
  458. <pre>private&nbsp;javax.swing.JLabel heading</pre>
  459. </li>
  460. </ul>
  461. <a name="dimensions">
  462. <!-- -->
  463. </a>
  464. <ul class="blockList">
  465. <li class="blockList">
  466. <h4>dimensions</h4>
  467. <pre>private&nbsp;javax.swing.JLabel dimensions</pre>
  468. </li>
  469. </ul>
  470. <a name="waterLabel">
  471. <!-- -->
  472. </a>
  473. <ul class="blockList">
  474. <li class="blockList">
  475. <h4>waterLabel</h4>
  476. <pre>private&nbsp;javax.swing.JLabel waterLabel</pre>
  477. </li>
  478. </ul>
  479. <a name="nCarnLabel">
  480. <!-- -->
  481. </a>
  482. <ul class="blockList">
  483. <li class="blockList">
  484. <h4>nCarnLabel</h4>
  485. <pre>private&nbsp;javax.swing.JLabel nCarnLabel</pre>
  486. </li>
  487. </ul>
  488. <a name="nHerbLabel">
  489. <!-- -->
  490. </a>
  491. <ul class="blockList">
  492. <li class="blockList">
  493. <h4>nHerbLabel</h4>
  494. <pre>private&nbsp;javax.swing.JLabel nHerbLabel</pre>
  495. </li>
  496. </ul>
  497. <a name="grassLabel">
  498. <!-- -->
  499. </a>
  500. <ul class="blockList">
  501. <li class="blockList">
  502. <h4>grassLabel</h4>
  503. <pre>private&nbsp;javax.swing.JLabel grassLabel</pre>
  504. </li>
  505. </ul>
  506. <a name="energyCarnLabel">
  507. <!-- -->
  508. </a>
  509. <ul class="blockList">
  510. <li class="blockList">
  511. <h4>energyCarnLabel</h4>
  512. <pre>private&nbsp;javax.swing.JLabel energyCarnLabel</pre>
  513. </li>
  514. </ul>
  515. <a name="energyHerbLabel">
  516. <!-- -->
  517. </a>
  518. <ul class="blockList">
  519. <li class="blockList">
  520. <h4>energyHerbLabel</h4>
  521. <pre>private&nbsp;javax.swing.JLabel energyHerbLabel</pre>
  522. </li>
  523. </ul>
  524. <a name="width">
  525. <!-- -->
  526. </a>
  527. <ul class="blockList">
  528. <li class="blockList">
  529. <h4>width</h4>
  530. <pre>private&nbsp;javax.swing.JTextField width</pre>
  531. </li>
  532. </ul>
  533. <a name="height">
  534. <!-- -->
  535. </a>
  536. <ul class="blockList">
  537. <li class="blockList">
  538. <h4>height</h4>
  539. <pre>private&nbsp;javax.swing.JTextField height</pre>
  540. </li>
  541. </ul>
  542. <a name="no_water_tiles">
  543. <!-- -->
  544. </a>
  545. <ul class="blockList">
  546. <li class="blockList">
  547. <h4>no_water_tiles</h4>
  548. <pre>private&nbsp;javax.swing.JTextField no_water_tiles</pre>
  549. </li>
  550. </ul>
  551. <a name="no_carnivores">
  552. <!-- -->
  553. </a>
  554. <ul class="blockList">
  555. <li class="blockList">
  556. <h4>no_carnivores</h4>
  557. <pre>private&nbsp;javax.swing.JTextField no_carnivores</pre>
  558. </li>
  559. </ul>
  560. <a name="no_herbivores">
  561. <!-- -->
  562. </a>
  563. <ul class="blockList">
  564. <li class="blockList">
  565. <h4>no_herbivores</h4>
  566. <pre>private&nbsp;javax.swing.JTextField no_herbivores</pre>
  567. </li>
  568. </ul>
  569. <a name="grassDensity">
  570. <!-- -->
  571. </a>
  572. <ul class="blockList">
  573. <li class="blockList">
  574. <h4>grassDensity</h4>
  575. <pre>private&nbsp;javax.swing.JTextField grassDensity</pre>
  576. </li>
  577. </ul>
  578. <a name="energyHerbivores">
  579. <!-- -->
  580. </a>
  581. <ul class="blockList">
  582. <li class="blockList">
  583. <h4>energyHerbivores</h4>
  584. <pre>private&nbsp;javax.swing.JTextField energyHerbivores</pre>
  585. </li>
  586. </ul>
  587. <a name="energyCarnivores">
  588. <!-- -->
  589. </a>
  590. <ul class="blockList">
  591. <li class="blockList">
  592. <h4>energyCarnivores</h4>
  593. <pre>private&nbsp;javax.swing.JTextField energyCarnivores</pre>
  594. </li>
  595. </ul>
  596. <a name="confirm">
  597. <!-- -->
  598. </a>
  599. <ul class="blockList">
  600. <li class="blockList">
  601. <h4>confirm</h4>
  602. <pre>private&nbsp;javax.swing.JButton confirm</pre>
  603. </li>
  604. </ul>
  605. <a name="showRestartDialog">
  606. <!-- -->
  607. </a>
  608. <ul class="blockListLast">
  609. <li class="blockList">
  610. <h4>showRestartDialog</h4>
  611. <pre>private&nbsp;boolean showRestartDialog</pre>
  612. </li>
  613. </ul>
  614. </li>
  615. </ul>
  616. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  617. <ul class="blockList">
  618. <li class="blockList"><a name="constructor.detail">
  619. <!-- -->
  620. </a>
  621. <h3>Constructor Detail</h3>
  622. <a name="SimulationConfig--">
  623. <!-- -->
  624. </a>
  625. <ul class="blockListLast">
  626. <li class="blockList">
  627. <h4>SimulationConfig</h4>
  628. <pre>public&nbsp;SimulationConfig()</pre>
  629. <div class="block">The constructor</div>
  630. </li>
  631. </ul>
  632. </li>
  633. </ul>
  634. <!-- ============ METHOD DETAIL ========== -->
  635. <ul class="blockList">
  636. <li class="blockList"><a name="method.detail">
  637. <!-- -->
  638. </a>
  639. <h3>Method Detail</h3>
  640. <a name="drawConfigWindow--">
  641. <!-- -->
  642. </a>
  643. <ul class="blockList">
  644. <li class="blockList">
  645. <h4>drawConfigWindow</h4>
  646. <pre>private&nbsp;void&nbsp;drawConfigWindow()</pre>
  647. <div class="block">Create the interface</div>
  648. </li>
  649. </ul>
  650. <a name="showConfig-boolean-">
  651. <!-- -->
  652. </a>
  653. <ul class="blockList">
  654. <li class="blockList">
  655. <h4>showConfig</h4>
  656. <pre>public&nbsp;void&nbsp;showConfig(boolean&nbsp;showRestart)</pre>
  657. <div class="block">Show the configuration window</div>
  658. <dl>
  659. <dt><span class="paramLabel">Parameters:</span></dt>
  660. <dd><code>showRestart</code> - Show the restart dialog when closing this window?</dd>
  661. </dl>
  662. </li>
  663. </ul>
  664. <a name="refresh--">
  665. <!-- -->
  666. </a>
  667. <ul class="blockList">
  668. <li class="blockList">
  669. <h4>refresh</h4>
  670. <pre>public&nbsp;void&nbsp;refresh()</pre>
  671. <div class="block">Refresh values displayed in the text fields.</div>
  672. </li>
  673. </ul>
  674. <a name="updateWorld--">
  675. <!-- -->
  676. </a>
  677. <ul class="blockListLast">
  678. <li class="blockList">
  679. <h4>updateWorld</h4>
  680. <pre>public&nbsp;void&nbsp;updateWorld()</pre>
  681. <div class="block">Extract all the settings from the text fields and update the world parameters</div>
  682. </li>
  683. </ul>
  684. </li>
  685. </ul>
  686. </li>
  687. </ul>
  688. </div>
  689. </div>
  690. <!-- ========= END OF CLASS DATA ========= -->
  691. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  692. <div class="bottomNav"><a name="navbar.bottom">
  693. <!-- -->
  694. </a>
  695. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  696. <a name="navbar.bottom.firstrow">
  697. <!-- -->
  698. </a>
  699. <ul class="navList" title="Navigation">
  700. <li><a href="../overview-summary.html">Overview</a></li>
  701. <li><a href="package-summary.html">Package</a></li>
  702. <li class="navBarCell1Rev">Class</li>
  703. <li><a href="package-tree.html">Tree</a></li>
  704. <li><a href="../deprecated-list.html">Deprecated</a></li>
  705. <li><a href="../index-all.html">Index</a></li>
  706. <li><a href="../help-doc.html">Help</a></li>
  707. </ul>
  708. <div class="aboutLanguage">Ecologia</div>
  709. </div>
  710. <div class="subNav">
  711. <ul class="navList">
  712. <li><a href="../view/ProgramConfig.html" title="class in view"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  713. <li>Next&nbsp;Class</li>
  714. </ul>
  715. <ul class="navList">
  716. <li><a href="../index.html?view/SimulationConfig.html" target="_top">Frames</a></li>
  717. <li><a href="SimulationConfig.html" target="_top">No&nbsp;Frames</a></li>
  718. </ul>
  719. <ul class="navList" id="allclasses_navbar_bottom">
  720. <li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
  721. </ul>
  722. <div>
  723. <script type="text/javascript"><!--
  724. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  725. if(window==top) {
  726. allClassesLink.style.display = "block";
  727. }
  728. else {
  729. allClassesLink.style.display = "none";
  730. }
  731. //-->
  732. </script>
  733. </div>
  734. <div>
  735. <ul class="subNavList">
  736. <li>Summary:&nbsp;</li>
  737. <li><a href="#nested.classes.inherited.from.class.javax.swing.JFrame">Nested</a>&nbsp;|&nbsp;</li>
  738. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  739. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  740. <li><a href="#method.summary">Method</a></li>
  741. </ul>
  742. <ul class="subNavList">
  743. <li>Detail:&nbsp;</li>
  744. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  745. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  746. <li><a href="#method.detail">Method</a></li>
  747. </ul>
  748. </div>
  749. <a name="skip.navbar.bottom">
  750. <!-- -->
  751. </a></div>
  752. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  753. </body>
  754. </html>