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_112) on Thu Jun 21 12:05:57 CEST 2018 -->
|
---|
6 | <title>Objective (Genius Core Documentation)</title>
|
---|
7 | <meta name="date" content="2018-06-21">
|
---|
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="Objective (Genius Core Documentation)";
|
---|
16 | }
|
---|
17 | }
|
---|
18 | catch(err) {
|
---|
19 | }
|
---|
20 | //-->
|
---|
21 | var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":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="class-use/Objective.html">Use</a></li>
|
---|
44 | <li><a href="package-tree.html">Tree</a></li>
|
---|
45 | <li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
---|
46 | <li><a href="../../../index-all.html">Index</a></li>
|
---|
47 | <li><a href="../../../help-doc.html">Help</a></li>
|
---|
48 | </ul>
|
---|
49 | </div>
|
---|
50 | <div class="subNav">
|
---|
51 | <ul class="navList">
|
---|
52 | <li><a href="../../../genius/core/issue/ISSUETYPE.html" title="enum in genius.core.issue"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
53 | <li><a href="../../../genius/core/issue/Value.html" title="class in genius.core.issue"><span class="typeNameLink">Next Class</span></a></li>
|
---|
54 | </ul>
|
---|
55 | <ul class="navList">
|
---|
56 | <li><a href="../../../index.html?genius/core/issue/Objective.html" target="_top">Frames</a></li>
|
---|
57 | <li><a href="Objective.html" target="_top">No Frames</a></li>
|
---|
58 | </ul>
|
---|
59 | <ul class="navList" id="allclasses_navbar_top">
|
---|
60 | <li><a href="../../../allclasses-noframe.html">All 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: </li>
|
---|
77 | <li>Nested | </li>
|
---|
78 | <li>Field | </li>
|
---|
79 | <li><a href="#constructor.summary">Constr</a> | </li>
|
---|
80 | <li><a href="#method.summary">Method</a></li>
|
---|
81 | </ul>
|
---|
82 | <ul class="subNavList">
|
---|
83 | <li>Detail: </li>
|
---|
84 | <li>Field | </li>
|
---|
85 | <li><a href="#constructor.detail">Constr</a> | </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">genius.core.issue</div>
|
---|
96 | <h2 title="Class Objective" class="title">Class Objective</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>genius.core.issue.Objective</li>
|
---|
104 | </ul>
|
---|
105 | </li>
|
---|
106 | </ul>
|
---|
107 | <div class="description">
|
---|
108 | <ul class="blockList">
|
---|
109 | <li class="blockList">
|
---|
110 | <dl>
|
---|
111 | <dt>All Implemented Interfaces:</dt>
|
---|
112 | <dd>java.io.Serializable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode</dd>
|
---|
113 | </dl>
|
---|
114 | <dl>
|
---|
115 | <dt>Direct Known Subclasses:</dt>
|
---|
116 | <dd><a href="../../../genius/core/issue/Issue.html" title="class in genius.core.issue">Issue</a></dd>
|
---|
117 | </dl>
|
---|
118 | <hr>
|
---|
119 | <br>
|
---|
120 | <pre>public class <span class="typeNameLabel">Objective</span>
|
---|
121 | extends java.lang.Object
|
---|
122 | implements javax.swing.tree.MutableTreeNode, java.io.Serializable</pre>
|
---|
123 | <div class="block">Objective is superclass of issues and can be configured in a parent-child
|
---|
124 | tree-like construction. Some work needs to be done to guarantee consistency
|
---|
125 | of the tree. Methods like setParent don't signal the parent that it has a new
|
---|
126 | child.</div>
|
---|
127 | <dl>
|
---|
128 | <dt><span class="simpleTagLabel">Author:</span></dt>
|
---|
129 | <dd>Richard Noorlandt, W. Pasman</dd>
|
---|
130 | <dt><span class="seeLabel">See Also:</span></dt>
|
---|
131 | <dd><a href="../../../serialized-form.html#genius.core.issue.Objective">Serialized Form</a></dd>
|
---|
132 | </dl>
|
---|
133 | </li>
|
---|
134 | </ul>
|
---|
135 | </div>
|
---|
136 | <div class="summary">
|
---|
137 | <ul class="blockList">
|
---|
138 | <li class="blockList">
|
---|
139 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
140 | <ul class="blockList">
|
---|
141 | <li class="blockList"><a name="constructor.summary">
|
---|
142 | <!-- -->
|
---|
143 | </a>
|
---|
144 | <h3>Constructor Summary</h3>
|
---|
145 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
---|
146 | <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
---|
147 | <tr>
|
---|
148 | <th class="colOne" scope="col">Constructor and Description</th>
|
---|
149 | </tr>
|
---|
150 | <tr class="altColor">
|
---|
151 | <td class="colOne"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#Objective--">Objective</a></span>()</code> </td>
|
---|
152 | </tr>
|
---|
153 | <tr class="rowColor">
|
---|
154 | <td class="colOne"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#Objective-genius.core.issue.Objective-">Objective</a></span>(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> parent)</code> </td>
|
---|
155 | </tr>
|
---|
156 | <tr class="altColor">
|
---|
157 | <td class="colOne"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#Objective-genius.core.issue.Objective-java.lang.String-int-">Objective</a></span>(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> parent,
|
---|
158 | java.lang.String name,
|
---|
159 | int nr)</code> </td>
|
---|
160 | </tr>
|
---|
161 | </table>
|
---|
162 | </li>
|
---|
163 | </ul>
|
---|
164 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
165 | <ul class="blockList">
|
---|
166 | <li class="blockList"><a name="method.summary">
|
---|
167 | <!-- -->
|
---|
168 | </a>
|
---|
169 | <h3>Method Summary</h3>
|
---|
170 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
---|
171 | <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>
|
---|
172 | <tr>
|
---|
173 | <th class="colFirst" scope="col">Modifier and Type</th>
|
---|
174 | <th class="colLast" scope="col">Method and Description</th>
|
---|
175 | </tr>
|
---|
176 | <tr id="i0" class="altColor">
|
---|
177 | <td class="colFirst"><code>void</code></td>
|
---|
178 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#addChild-genius.core.issue.Objective-">addChild</a></span>(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> newObjective)</code>
|
---|
179 | <div class="block">Adds a child to this Objective.</div>
|
---|
180 | </td>
|
---|
181 | </tr>
|
---|
182 | <tr id="i1" class="rowColor">
|
---|
183 | <td class="colFirst"><code>java.util.Enumeration<<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>></code></td>
|
---|
184 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#children--">children</a></span>()</code> </td>
|
---|
185 | </tr>
|
---|
186 | <tr id="i2" class="altColor">
|
---|
187 | <td class="colFirst"><code>boolean</code></td>
|
---|
188 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#equalContents-genius.core.issue.Objective-">equalContents</a></span>(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> obj)</code>
|
---|
189 | <div class="block">check the contents but don't check for the class type anymore.</div>
|
---|
190 | </td>
|
---|
191 | </tr>
|
---|
192 | <tr id="i3" class="rowColor">
|
---|
193 | <td class="colFirst"><code>boolean</code></td>
|
---|
194 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object o)</code> </td>
|
---|
195 | </tr>
|
---|
196 | <tr id="i4" class="altColor">
|
---|
197 | <td class="colFirst"><code>boolean</code></td>
|
---|
198 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getAllowsChildren--">getAllowsChildren</a></span>()</code> </td>
|
---|
199 | </tr>
|
---|
200 | <tr id="i5" class="rowColor">
|
---|
201 | <td class="colFirst"><code><a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a></code></td>
|
---|
202 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getChildAt-int-">getChildAt</a></span>(int childIndex)</code> </td>
|
---|
203 | </tr>
|
---|
204 | <tr id="i6" class="altColor">
|
---|
205 | <td class="colFirst"><code>int</code></td>
|
---|
206 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getChildCount--">getChildCount</a></span>()</code> </td>
|
---|
207 | </tr>
|
---|
208 | <tr id="i7" class="rowColor">
|
---|
209 | <td class="colFirst"><code>java.util.ArrayList<<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>></code></td>
|
---|
210 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getChildren--">getChildren</a></span>()</code>
|
---|
211 | <div class="block">Wouter: added bcause I dont have time to change all Vector and
|
---|
212 | Enumerators to ArrayList code</div>
|
---|
213 | </td>
|
---|
214 | </tr>
|
---|
215 | <tr id="i8" class="altColor">
|
---|
216 | <td class="colFirst"><code><a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a></code></td>
|
---|
217 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getChildWithID-int-">getChildWithID</a></span>(int ID)</code> </td>
|
---|
218 | </tr>
|
---|
219 | <tr id="i9" class="rowColor">
|
---|
220 | <td class="colFirst"><code>java.lang.String</code></td>
|
---|
221 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getDescription--">getDescription</a></span>()</code> </td>
|
---|
222 | </tr>
|
---|
223 | <tr id="i10" class="altColor">
|
---|
224 | <td class="colFirst"><code>int</code></td>
|
---|
225 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getHighestObjectiveNr-int-">getHighestObjectiveNr</a></span>(int lowerBound)</code>
|
---|
226 | <div class="block">This method recursively calculates the highest Objective / Issue number
|
---|
227 | in the subtree rooted at the callee.</div>
|
---|
228 | </td>
|
---|
229 | </tr>
|
---|
230 | <tr id="i11" class="rowColor">
|
---|
231 | <td class="colFirst"><code>int</code></td>
|
---|
232 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getIndex-javax.swing.tree.TreeNode-">getIndex</a></span>(javax.swing.tree.TreeNode node)</code> </td>
|
---|
233 | </tr>
|
---|
234 | <tr id="i12" class="altColor">
|
---|
235 | <td class="colFirst"><code>java.lang.String</code></td>
|
---|
236 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getName--">getName</a></span>()</code> </td>
|
---|
237 | </tr>
|
---|
238 | <tr id="i13" class="rowColor">
|
---|
239 | <td class="colFirst"><code>int</code></td>
|
---|
240 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getNumber--">getNumber</a></span>()</code> </td>
|
---|
241 | </tr>
|
---|
242 | <tr id="i14" class="altColor">
|
---|
243 | <td class="colFirst"><code><a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a></code></td>
|
---|
244 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getObjective-int-">getObjective</a></span>(int objectiveNr)</code>
|
---|
245 | <div class="block">This method does a recursive depth-first search on the subtree that is
|
---|
246 | rooted at the receiver, and returns the first Objective or Issue with the
|
---|
247 | given number.</div>
|
---|
248 | </td>
|
---|
249 | </tr>
|
---|
250 | <tr id="i15" class="rowColor">
|
---|
251 | <td class="colFirst"><code><a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a></code></td>
|
---|
252 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getParent--">getParent</a></span>()</code> </td>
|
---|
253 | </tr>
|
---|
254 | <tr id="i16" class="altColor">
|
---|
255 | <td class="colFirst"><code>javax.swing.tree.TreePath</code></td>
|
---|
256 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getPath--">getPath</a></span>()</code> </td>
|
---|
257 | </tr>
|
---|
258 | <tr id="i17" class="rowColor">
|
---|
259 | <td class="colFirst"><code>java.util.Enumeration<<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>></code></td>
|
---|
260 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getPreorderEnumeration--">getPreorderEnumeration</a></span>()</code>
|
---|
261 | <div class="block">Constructs an Enumeration of the entire subtree of the receiver
|
---|
262 | (including itself) in preorder.</div>
|
---|
263 | </td>
|
---|
264 | </tr>
|
---|
265 | <tr id="i18" class="altColor">
|
---|
266 | <td class="colFirst"><code>java.util.Enumeration<<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>></code></td>
|
---|
267 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getPreorderIssueEnumeration--">getPreorderIssueEnumeration</a></span>()</code>
|
---|
268 | <div class="block">Constructs an Enumeration of the entire subtree of the receiver
|
---|
269 | (including itself) in preorder, containing only the Issues, but not the
|
---|
270 | normal Objectives.</div>
|
---|
271 | </td>
|
---|
272 | </tr>
|
---|
273 | <tr id="i19" class="rowColor">
|
---|
274 | <td class="colFirst"><code>java.util.Enumeration<<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>></code></td>
|
---|
275 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getPreorderObjectiveEnumeration--">getPreorderObjectiveEnumeration</a></span>()</code>
|
---|
276 | <div class="block">Constructs an Enumeration of the entire subtree of the receiver
|
---|
277 | (including itself) in preorder, containting only the Ojectives, but not
|
---|
278 | the Issues..</div>
|
---|
279 | </td>
|
---|
280 | </tr>
|
---|
281 | <tr id="i20" class="altColor">
|
---|
282 | <td class="colFirst"><code><a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>[]</code></td>
|
---|
283 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getSiblings--">getSiblings</a></span>()</code> </td>
|
---|
284 | </tr>
|
---|
285 | <tr id="i21" class="rowColor">
|
---|
286 | <td class="colFirst"><code><a href="../../../genius/core/issue/ISSUETYPE.html" title="enum in genius.core.issue">ISSUETYPE</a></code></td>
|
---|
287 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getType--">getType</a></span>()</code>
|
---|
288 | <div class="block">This method is added for convenience.</div>
|
---|
289 | </td>
|
---|
290 | </tr>
|
---|
291 | <tr id="i22" class="altColor">
|
---|
292 | <td class="colFirst"><code>java.lang.Object</code></td>
|
---|
293 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#getUserObject--">getUserObject</a></span>()</code> </td>
|
---|
294 | </tr>
|
---|
295 | <tr id="i23" class="rowColor">
|
---|
296 | <td class="colFirst"><code>int</code></td>
|
---|
297 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#hashCode--">hashCode</a></span>()</code> </td>
|
---|
298 | </tr>
|
---|
299 | <tr id="i24" class="altColor">
|
---|
300 | <td class="colFirst"><code>void</code></td>
|
---|
301 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#insert-javax.swing.tree.MutableTreeNode-int-">insert</a></span>(javax.swing.tree.MutableTreeNode child,
|
---|
302 | int index)</code>
|
---|
303 | <div class="block">Adds child to the receiver at index.</div>
|
---|
304 | </td>
|
---|
305 | </tr>
|
---|
306 | <tr id="i25" class="rowColor">
|
---|
307 | <td class="colFirst"><code>boolean</code></td>
|
---|
308 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#isIssue--">isIssue</a></span>()</code> </td>
|
---|
309 | </tr>
|
---|
310 | <tr id="i26" class="altColor">
|
---|
311 | <td class="colFirst"><code>boolean</code></td>
|
---|
312 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#isLeaf--">isLeaf</a></span>()</code> </td>
|
---|
313 | </tr>
|
---|
314 | <tr id="i27" class="rowColor">
|
---|
315 | <td class="colFirst"><code>boolean</code></td>
|
---|
316 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#isObjective--">isObjective</a></span>()</code> </td>
|
---|
317 | </tr>
|
---|
318 | <tr id="i28" class="altColor">
|
---|
319 | <td class="colFirst"><code>boolean</code></td>
|
---|
320 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#isParent-genius.core.issue.Objective-">isParent</a></span>(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> child)</code>
|
---|
321 | <div class="block">Check whether or not a particular Objective is a child of the receiver.</div>
|
---|
322 | </td>
|
---|
323 | </tr>
|
---|
324 | <tr id="i29" class="rowColor">
|
---|
325 | <td class="colFirst"><code>void</code></td>
|
---|
326 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#remove-int-">remove</a></span>(int index)</code>
|
---|
327 | <div class="block">Removes the child at the given index, setting it's parent to null.</div>
|
---|
328 | </td>
|
---|
329 | </tr>
|
---|
330 | <tr id="i30" class="altColor">
|
---|
331 | <td class="colFirst"><code>void</code></td>
|
---|
332 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#remove-javax.swing.tree.MutableTreeNode-">remove</a></span>(javax.swing.tree.MutableTreeNode node)</code>
|
---|
333 | <div class="block">Removes node from the receiver's children, and sets it's parent to null.</div>
|
---|
334 | </td>
|
---|
335 | </tr>
|
---|
336 | <tr id="i31" class="rowColor">
|
---|
337 | <td class="colFirst"><code>void</code></td>
|
---|
338 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#removeFromParent--">removeFromParent</a></span>()</code>
|
---|
339 | <div class="block">Removes the subtree rooted at this node from the tree, giving this node a
|
---|
340 | null parent.</div>
|
---|
341 | </td>
|
---|
342 | </tr>
|
---|
343 | <tr id="i32" class="altColor">
|
---|
344 | <td class="colFirst"><code>void</code></td>
|
---|
345 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#setDescription-java.lang.String-">setDescription</a></span>(java.lang.String newDescription)</code>
|
---|
346 | <div class="block">Sets a new description for this node.</div>
|
---|
347 | </td>
|
---|
348 | </tr>
|
---|
349 | <tr id="i33" class="rowColor">
|
---|
350 | <td class="colFirst"><code>void</code></td>
|
---|
351 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#setName-java.lang.String-">setName</a></span>(java.lang.String newName)</code>
|
---|
352 | <div class="block">Sets a new name for this node.</div>
|
---|
353 | </td>
|
---|
354 | </tr>
|
---|
355 | <tr id="i34" class="altColor">
|
---|
356 | <td class="colFirst"><code>void</code></td>
|
---|
357 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#setNumber-int-">setNumber</a></span>(int nr)</code>
|
---|
358 | <div class="block">Sets the number of this Objective / Issue.</div>
|
---|
359 | </td>
|
---|
360 | </tr>
|
---|
361 | <tr id="i35" class="rowColor">
|
---|
362 | <td class="colFirst"><code>void</code></td>
|
---|
363 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#setParent-javax.swing.tree.MutableTreeNode-">setParent</a></span>(javax.swing.tree.MutableTreeNode newParent)</code>
|
---|
364 | <div class="block">Sets this node's parent to newParent but does not change the parent's
|
---|
365 | child array.</div>
|
---|
366 | </td>
|
---|
367 | </tr>
|
---|
368 | <tr id="i36" class="altColor">
|
---|
369 | <td class="colFirst"><code>void</code></td>
|
---|
370 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#setUserObject-java.lang.Object-">setUserObject</a></span>(java.lang.Object object)</code>
|
---|
371 | <div class="block">Sets a user object associated with the receiving Objective.</div>
|
---|
372 | </td>
|
---|
373 | </tr>
|
---|
374 | <tr id="i37" class="rowColor">
|
---|
375 | <td class="colFirst"><code>java.lang.String</code></td>
|
---|
376 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#toString--">toString</a></span>()</code> </td>
|
---|
377 | </tr>
|
---|
378 | <tr id="i38" class="altColor">
|
---|
379 | <td class="colFirst"><code><a href="../../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a></code></td>
|
---|
380 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/issue/Objective.html#toXML--">toXML</a></span>()</code>
|
---|
381 | <div class="block">Returns an xml representation of this Objective and all Objectives and
|
---|
382 | issues underneath it.</div>
|
---|
383 | </td>
|
---|
384 | </tr>
|
---|
385 | </table>
|
---|
386 | <ul class="blockList">
|
---|
387 | <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
---|
388 | <!-- -->
|
---|
389 | </a>
|
---|
390 | <h3>Methods inherited from class java.lang.Object</h3>
|
---|
391 | <code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
|
---|
392 | </ul>
|
---|
393 | </li>
|
---|
394 | </ul>
|
---|
395 | </li>
|
---|
396 | </ul>
|
---|
397 | </div>
|
---|
398 | <div class="details">
|
---|
399 | <ul class="blockList">
|
---|
400 | <li class="blockList">
|
---|
401 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
402 | <ul class="blockList">
|
---|
403 | <li class="blockList"><a name="constructor.detail">
|
---|
404 | <!-- -->
|
---|
405 | </a>
|
---|
406 | <h3>Constructor Detail</h3>
|
---|
407 | <a name="Objective--">
|
---|
408 | <!-- -->
|
---|
409 | </a>
|
---|
410 | <ul class="blockList">
|
---|
411 | <li class="blockList">
|
---|
412 | <h4>Objective</h4>
|
---|
413 | <pre>public Objective()</pre>
|
---|
414 | </li>
|
---|
415 | </ul>
|
---|
416 | <a name="Objective-genius.core.issue.Objective-">
|
---|
417 | <!-- -->
|
---|
418 | </a>
|
---|
419 | <ul class="blockList">
|
---|
420 | <li class="blockList">
|
---|
421 | <h4>Objective</h4>
|
---|
422 | <pre>public Objective(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> parent)</pre>
|
---|
423 | </li>
|
---|
424 | </ul>
|
---|
425 | <a name="Objective-genius.core.issue.Objective-java.lang.String-int-">
|
---|
426 | <!-- -->
|
---|
427 | </a>
|
---|
428 | <ul class="blockListLast">
|
---|
429 | <li class="blockList">
|
---|
430 | <h4>Objective</h4>
|
---|
431 | <pre>public Objective(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> parent,
|
---|
432 | java.lang.String name,
|
---|
433 | int nr)</pre>
|
---|
434 | </li>
|
---|
435 | </ul>
|
---|
436 | </li>
|
---|
437 | </ul>
|
---|
438 | <!-- ============ METHOD DETAIL ========== -->
|
---|
439 | <ul class="blockList">
|
---|
440 | <li class="blockList"><a name="method.detail">
|
---|
441 | <!-- -->
|
---|
442 | </a>
|
---|
443 | <h3>Method Detail</h3>
|
---|
444 | <a name="hashCode--">
|
---|
445 | <!-- -->
|
---|
446 | </a>
|
---|
447 | <ul class="blockList">
|
---|
448 | <li class="blockList">
|
---|
449 | <h4>hashCode</h4>
|
---|
450 | <pre>public int hashCode()</pre>
|
---|
451 | <dl>
|
---|
452 | <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
---|
453 | <dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
---|
454 | </dl>
|
---|
455 | </li>
|
---|
456 | </ul>
|
---|
457 | <a name="equals-java.lang.Object-">
|
---|
458 | <!-- -->
|
---|
459 | </a>
|
---|
460 | <ul class="blockList">
|
---|
461 | <li class="blockList">
|
---|
462 | <h4>equals</h4>
|
---|
463 | <pre>public boolean equals(java.lang.Object o)</pre>
|
---|
464 | <dl>
|
---|
465 | <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
---|
466 | <dd><code>equals</code> in class <code>java.lang.Object</code></dd>
|
---|
467 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
468 | <dd>true if given object is an Objective and number, name, and
|
---|
469 | children are the same we don't care about the description and
|
---|
470 | user objects.</dd>
|
---|
471 | </dl>
|
---|
472 | </li>
|
---|
473 | </ul>
|
---|
474 | <a name="equalContents-genius.core.issue.Objective-">
|
---|
475 | <!-- -->
|
---|
476 | </a>
|
---|
477 | <ul class="blockList">
|
---|
478 | <li class="blockList">
|
---|
479 | <h4>equalContents</h4>
|
---|
480 | <pre>public boolean equalContents(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> obj)</pre>
|
---|
481 | <div class="block">check the contents but don't check for the class type anymore.</div>
|
---|
482 | <dl>
|
---|
483 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
484 | <dd><code>obj</code> - the objective to be compared</dd>
|
---|
485 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
486 | <dd>true if number, name, and children are the same we don't care
|
---|
487 | about the description and user objects.</dd>
|
---|
488 | </dl>
|
---|
489 | </li>
|
---|
490 | </ul>
|
---|
491 | <a name="getName--">
|
---|
492 | <!-- -->
|
---|
493 | </a>
|
---|
494 | <ul class="blockList">
|
---|
495 | <li class="blockList">
|
---|
496 | <h4>getName</h4>
|
---|
497 | <pre>public java.lang.String getName()</pre>
|
---|
498 | <dl>
|
---|
499 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
500 | <dd>the name of this node.</dd>
|
---|
501 | </dl>
|
---|
502 | </li>
|
---|
503 | </ul>
|
---|
504 | <a name="setName-java.lang.String-">
|
---|
505 | <!-- -->
|
---|
506 | </a>
|
---|
507 | <ul class="blockList">
|
---|
508 | <li class="blockList">
|
---|
509 | <h4>setName</h4>
|
---|
510 | <pre>public void setName(java.lang.String newName)</pre>
|
---|
511 | <div class="block">Sets a new name for this node.</div>
|
---|
512 | <dl>
|
---|
513 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
514 | <dd><code>newName</code> - the new name for this node.</dd>
|
---|
515 | </dl>
|
---|
516 | </li>
|
---|
517 | </ul>
|
---|
518 | <a name="getNumber--">
|
---|
519 | <!-- -->
|
---|
520 | </a>
|
---|
521 | <ul class="blockList">
|
---|
522 | <li class="blockList">
|
---|
523 | <h4>getNumber</h4>
|
---|
524 | <pre>public int getNumber()</pre>
|
---|
525 | <dl>
|
---|
526 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
527 | <dd>the number of this Objective / Issue.</dd>
|
---|
528 | </dl>
|
---|
529 | </li>
|
---|
530 | </ul>
|
---|
531 | <a name="setNumber-int-">
|
---|
532 | <!-- -->
|
---|
533 | </a>
|
---|
534 | <ul class="blockList">
|
---|
535 | <li class="blockList">
|
---|
536 | <h4>setNumber</h4>
|
---|
537 | <pre>public void setNumber(int nr)</pre>
|
---|
538 | <div class="block">Sets the number of this Objective / Issue.</div>
|
---|
539 | </li>
|
---|
540 | </ul>
|
---|
541 | <a name="getDescription--">
|
---|
542 | <!-- -->
|
---|
543 | </a>
|
---|
544 | <ul class="blockList">
|
---|
545 | <li class="blockList">
|
---|
546 | <h4>getDescription</h4>
|
---|
547 | <pre>public java.lang.String getDescription()</pre>
|
---|
548 | <dl>
|
---|
549 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
550 | <dd>this node's description.</dd>
|
---|
551 | </dl>
|
---|
552 | </li>
|
---|
553 | </ul>
|
---|
554 | <a name="setDescription-java.lang.String-">
|
---|
555 | <!-- -->
|
---|
556 | </a>
|
---|
557 | <ul class="blockList">
|
---|
558 | <li class="blockList">
|
---|
559 | <h4>setDescription</h4>
|
---|
560 | <pre>public void setDescription(java.lang.String newDescription)</pre>
|
---|
561 | <div class="block">Sets a new description for this node.</div>
|
---|
562 | <dl>
|
---|
563 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
564 | <dd><code>newDescription</code> - the new description.</dd>
|
---|
565 | </dl>
|
---|
566 | </li>
|
---|
567 | </ul>
|
---|
568 | <a name="getUserObject--">
|
---|
569 | <!-- -->
|
---|
570 | </a>
|
---|
571 | <ul class="blockList">
|
---|
572 | <li class="blockList">
|
---|
573 | <h4>getUserObject</h4>
|
---|
574 | <pre>public java.lang.Object getUserObject()</pre>
|
---|
575 | <dl>
|
---|
576 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
577 | <dd>the user object containted within this node.</dd>
|
---|
578 | </dl>
|
---|
579 | </li>
|
---|
580 | </ul>
|
---|
581 | <a name="isObjective--">
|
---|
582 | <!-- -->
|
---|
583 | </a>
|
---|
584 | <ul class="blockList">
|
---|
585 | <li class="blockList">
|
---|
586 | <h4>isObjective</h4>
|
---|
587 | <pre>public boolean isObjective()</pre>
|
---|
588 | <dl>
|
---|
589 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
590 | <dd>true if and only if this node is of the Objective type, but not
|
---|
591 | of the Issue type. This is implemented by looking if the receiver
|
---|
592 | is instanceof Objective, but not instanceof Issue.</dd>
|
---|
593 | </dl>
|
---|
594 | </li>
|
---|
595 | </ul>
|
---|
596 | <a name="isIssue--">
|
---|
597 | <!-- -->
|
---|
598 | </a>
|
---|
599 | <ul class="blockList">
|
---|
600 | <li class="blockList">
|
---|
601 | <h4>isIssue</h4>
|
---|
602 | <pre>public boolean isIssue()</pre>
|
---|
603 | <dl>
|
---|
604 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
605 | <dd>true if and only if this node is of the Issue type. It is
|
---|
606 | implemented with instanceof Issue.</dd>
|
---|
607 | </dl>
|
---|
608 | </li>
|
---|
609 | </ul>
|
---|
610 | <a name="getType--">
|
---|
611 | <!-- -->
|
---|
612 | </a>
|
---|
613 | <ul class="blockList">
|
---|
614 | <li class="blockList">
|
---|
615 | <h4>getType</h4>
|
---|
616 | <pre>public <a href="../../../genius/core/issue/ISSUETYPE.html" title="enum in genius.core.issue">ISSUETYPE</a> getType()</pre>
|
---|
617 | <div class="block">This method is added for convenience. It is simply an alternative
|
---|
618 | implementation of the getType method from the Issue class. It will always
|
---|
619 | return that the type is Objective. This method must be overridden in
|
---|
620 | Issue to return the type of the Issue.</div>
|
---|
621 | <dl>
|
---|
622 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
623 | <dd>ISSUETYPE.OBJECTIVE</dd>
|
---|
624 | </dl>
|
---|
625 | </li>
|
---|
626 | </ul>
|
---|
627 | <a name="addChild-genius.core.issue.Objective-">
|
---|
628 | <!-- -->
|
---|
629 | </a>
|
---|
630 | <ul class="blockList">
|
---|
631 | <li class="blockList">
|
---|
632 | <h4>addChild</h4>
|
---|
633 | <pre>public void addChild(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> newObjective)</pre>
|
---|
634 | <div class="block">Adds a child to this Objective. The new child must be an Objective or an
|
---|
635 | issue. The child is messaged to set it's parent to the receiver.</div>
|
---|
636 | <dl>
|
---|
637 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
638 | <dd><code>newObjective</code> - a child to be added to this Objective.</dd>
|
---|
639 | </dl>
|
---|
640 | </li>
|
---|
641 | </ul>
|
---|
642 | <a name="getObjective-int-">
|
---|
643 | <!-- -->
|
---|
644 | </a>
|
---|
645 | <ul class="blockList">
|
---|
646 | <li class="blockList">
|
---|
647 | <h4>getObjective</h4>
|
---|
648 | <pre>public <a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> getObjective(int objectiveNr)</pre>
|
---|
649 | <div class="block">This method does a recursive depth-first search on the subtree that is
|
---|
650 | rooted at the receiver, and returns the first Objective or Issue with the
|
---|
651 | given number. If there is no matching node found, null is returned.</div>
|
---|
652 | <dl>
|
---|
653 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
654 | <dd><code>objectiveNr</code> - the Objective/Issue number that is being searched for.</dd>
|
---|
655 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
656 | <dd>the Objective/Issue with the given number, or null if the
|
---|
657 | requested Objective/Issue is not found in the subtree that is
|
---|
658 | rooted at the receiver.</dd>
|
---|
659 | </dl>
|
---|
660 | </li>
|
---|
661 | </ul>
|
---|
662 | <a name="toString--">
|
---|
663 | <!-- -->
|
---|
664 | </a>
|
---|
665 | <ul class="blockList">
|
---|
666 | <li class="blockList">
|
---|
667 | <h4>toString</h4>
|
---|
668 | <pre>public java.lang.String toString()</pre>
|
---|
669 | <dl>
|
---|
670 | <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
---|
671 | <dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
---|
672 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
673 | <dd>the name of this Objective.</dd>
|
---|
674 | </dl>
|
---|
675 | </li>
|
---|
676 | </ul>
|
---|
677 | <a name="getSiblings--">
|
---|
678 | <!-- -->
|
---|
679 | </a>
|
---|
680 | <ul class="blockList">
|
---|
681 | <li class="blockList">
|
---|
682 | <h4>getSiblings</h4>
|
---|
683 | <pre>public <a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>[] getSiblings()</pre>
|
---|
684 | <dl>
|
---|
685 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
686 | <dd>an Objective[] containing this node's siblings, or an empty array
|
---|
687 | if this Objective's parent is null.</dd>
|
---|
688 | </dl>
|
---|
689 | </li>
|
---|
690 | </ul>
|
---|
691 | <a name="isParent-genius.core.issue.Objective-">
|
---|
692 | <!-- -->
|
---|
693 | </a>
|
---|
694 | <ul class="blockList">
|
---|
695 | <li class="blockList">
|
---|
696 | <h4>isParent</h4>
|
---|
697 | <pre>public boolean isParent(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> child)</pre>
|
---|
698 | <div class="block">Check whether or not a particular Objective is a child of the receiver.
|
---|
699 | Comparison is based on simple pointer comparison.</div>
|
---|
700 | <dl>
|
---|
701 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
702 | <dd><code>child</code> - the potential child of the callee.</dd>
|
---|
703 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
704 | <dd>true iff child is a direct child of the receiving node.</dd>
|
---|
705 | </dl>
|
---|
706 | </li>
|
---|
707 | </ul>
|
---|
708 | <a name="children--">
|
---|
709 | <!-- -->
|
---|
710 | </a>
|
---|
711 | <ul class="blockList">
|
---|
712 | <li class="blockList">
|
---|
713 | <h4>children</h4>
|
---|
714 | <pre>public java.util.Enumeration<<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>> children()</pre>
|
---|
715 | <dl>
|
---|
716 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
717 | <dd><code>children</code> in interface <code>javax.swing.tree.TreeNode</code></dd>
|
---|
718 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
719 | <dd>an Enumeration of this Objective's children.</dd>
|
---|
720 | </dl>
|
---|
721 | </li>
|
---|
722 | </ul>
|
---|
723 | <a name="getChildren--">
|
---|
724 | <!-- -->
|
---|
725 | </a>
|
---|
726 | <ul class="blockList">
|
---|
727 | <li class="blockList">
|
---|
728 | <h4>getChildren</h4>
|
---|
729 | <pre>public java.util.ArrayList<<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>> getChildren()</pre>
|
---|
730 | <div class="block">Wouter: added bcause I dont have time to change all Vector and
|
---|
731 | Enumerators to ArrayList code</div>
|
---|
732 | </li>
|
---|
733 | </ul>
|
---|
734 | <a name="getAllowsChildren--">
|
---|
735 | <!-- -->
|
---|
736 | </a>
|
---|
737 | <ul class="blockList">
|
---|
738 | <li class="blockList">
|
---|
739 | <h4>getAllowsChildren</h4>
|
---|
740 | <pre>public boolean getAllowsChildren()</pre>
|
---|
741 | <dl>
|
---|
742 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
743 | <dd><code>getAllowsChildren</code> in interface <code>javax.swing.tree.TreeNode</code></dd>
|
---|
744 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
745 | <dd>true iff the node is an OBJECTIVE, of false if the node is an
|
---|
746 | ISSUE.</dd>
|
---|
747 | </dl>
|
---|
748 | </li>
|
---|
749 | </ul>
|
---|
750 | <a name="getChildAt-int-">
|
---|
751 | <!-- -->
|
---|
752 | </a>
|
---|
753 | <ul class="blockList">
|
---|
754 | <li class="blockList">
|
---|
755 | <h4>getChildAt</h4>
|
---|
756 | <pre>public <a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> getChildAt(int childIndex)</pre>
|
---|
757 | <dl>
|
---|
758 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
759 | <dd><code>getChildAt</code> in interface <code>javax.swing.tree.TreeNode</code></dd>
|
---|
760 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
761 | <dd>the child at the given index, or null if the index is invalid.</dd>
|
---|
762 | </dl>
|
---|
763 | </li>
|
---|
764 | </ul>
|
---|
765 | <a name="getChildWithID-int-">
|
---|
766 | <!-- -->
|
---|
767 | </a>
|
---|
768 | <ul class="blockList">
|
---|
769 | <li class="blockList">
|
---|
770 | <h4>getChildWithID</h4>
|
---|
771 | <pre>public <a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> getChildWithID(int ID)</pre>
|
---|
772 | <dl>
|
---|
773 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
774 | <dd><code>ID</code> - is the ID number of the needed child</dd>
|
---|
775 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
776 | <dd>Objective, or null.</dd>
|
---|
777 | </dl>
|
---|
778 | </li>
|
---|
779 | </ul>
|
---|
780 | <a name="getChildCount--">
|
---|
781 | <!-- -->
|
---|
782 | </a>
|
---|
783 | <ul class="blockList">
|
---|
784 | <li class="blockList">
|
---|
785 | <h4>getChildCount</h4>
|
---|
786 | <pre>public int getChildCount()</pre>
|
---|
787 | <dl>
|
---|
788 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
789 | <dd><code>getChildCount</code> in interface <code>javax.swing.tree.TreeNode</code></dd>
|
---|
790 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
791 | <dd>the number of children of this node.</dd>
|
---|
792 | </dl>
|
---|
793 | </li>
|
---|
794 | </ul>
|
---|
795 | <a name="getIndex-javax.swing.tree.TreeNode-">
|
---|
796 | <!-- -->
|
---|
797 | </a>
|
---|
798 | <ul class="blockList">
|
---|
799 | <li class="blockList">
|
---|
800 | <h4>getIndex</h4>
|
---|
801 | <pre>public int getIndex(javax.swing.tree.TreeNode node)</pre>
|
---|
802 | <dl>
|
---|
803 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
804 | <dd><code>getIndex</code> in interface <code>javax.swing.tree.TreeNode</code></dd>
|
---|
805 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
806 | <dd>the index of node in the receivers children. If the receiver does
|
---|
807 | not contain node, -1 will be returned.</dd>
|
---|
808 | </dl>
|
---|
809 | </li>
|
---|
810 | </ul>
|
---|
811 | <a name="getParent--">
|
---|
812 | <!-- -->
|
---|
813 | </a>
|
---|
814 | <ul class="blockList">
|
---|
815 | <li class="blockList">
|
---|
816 | <h4>getParent</h4>
|
---|
817 | <pre>public <a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> getParent()</pre>
|
---|
818 | <dl>
|
---|
819 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
820 | <dd><code>getParent</code> in interface <code>javax.swing.tree.TreeNode</code></dd>
|
---|
821 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
822 | <dd>the parent Objective of the receiver.</dd>
|
---|
823 | </dl>
|
---|
824 | </li>
|
---|
825 | </ul>
|
---|
826 | <a name="isLeaf--">
|
---|
827 | <!-- -->
|
---|
828 | </a>
|
---|
829 | <ul class="blockList">
|
---|
830 | <li class="blockList">
|
---|
831 | <h4>isLeaf</h4>
|
---|
832 | <pre>public boolean isLeaf()</pre>
|
---|
833 | <dl>
|
---|
834 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
835 | <dd><code>isLeaf</code> in interface <code>javax.swing.tree.TreeNode</code></dd>
|
---|
836 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
837 | <dd>is the receiving node is a leaf node. A Objective is a leaf node
|
---|
838 | when it is of the ISSUE type.</dd>
|
---|
839 | </dl>
|
---|
840 | </li>
|
---|
841 | </ul>
|
---|
842 | <a name="getHighestObjectiveNr-int-">
|
---|
843 | <!-- -->
|
---|
844 | </a>
|
---|
845 | <ul class="blockList">
|
---|
846 | <li class="blockList">
|
---|
847 | <h4>getHighestObjectiveNr</h4>
|
---|
848 | <pre>public int getHighestObjectiveNr(int lowerBound)</pre>
|
---|
849 | <div class="block">This method recursively calculates the highest Objective / Issue number
|
---|
850 | in the subtree rooted at the callee.</div>
|
---|
851 | <dl>
|
---|
852 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
853 | <dd><code>lowerBound</code> - the number to be returned must have at least this value. Used
|
---|
854 | for the recursive implementation.</dd>
|
---|
855 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
856 | <dd>the highest Objective number within this subtree that is greater
|
---|
857 | than lowerBound, or otherwise lowerBound.</dd>
|
---|
858 | </dl>
|
---|
859 | </li>
|
---|
860 | </ul>
|
---|
861 | <a name="insert-javax.swing.tree.MutableTreeNode-int-">
|
---|
862 | <!-- -->
|
---|
863 | </a>
|
---|
864 | <ul class="blockList">
|
---|
865 | <li class="blockList">
|
---|
866 | <h4>insert</h4>
|
---|
867 | <pre>public void insert(javax.swing.tree.MutableTreeNode child,
|
---|
868 | int index)</pre>
|
---|
869 | <div class="block">Adds child to the receiver at index. child will be messaged with
|
---|
870 | setParent. Nodes at the given index and above are moved one place up to
|
---|
871 | make room for the new node. If index > getChildCount() or index < 0,
|
---|
872 | nothing happens.</div>
|
---|
873 | <dl>
|
---|
874 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
875 | <dd><code>insert</code> in interface <code>javax.swing.tree.MutableTreeNode</code></dd>
|
---|
876 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
877 | <dd><code>child</code> - the Objective to be inserted. If child is no NegotionTreeNode,
|
---|
878 | a ClassCastException will be thrown.</dd>
|
---|
879 | <dd><code>index</code> - the index where the new node is to be inserted.</dd>
|
---|
880 | </dl>
|
---|
881 | </li>
|
---|
882 | </ul>
|
---|
883 | <a name="remove-int-">
|
---|
884 | <!-- -->
|
---|
885 | </a>
|
---|
886 | <ul class="blockList">
|
---|
887 | <li class="blockList">
|
---|
888 | <h4>remove</h4>
|
---|
889 | <pre>public void remove(int index)</pre>
|
---|
890 | <div class="block">Removes the child at the given index, setting it's parent to null. If
|
---|
891 | index >= getChildCount or index < 0, nothing happens.</div>
|
---|
892 | <dl>
|
---|
893 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
894 | <dd><code>remove</code> in interface <code>javax.swing.tree.MutableTreeNode</code></dd>
|
---|
895 | </dl>
|
---|
896 | </li>
|
---|
897 | </ul>
|
---|
898 | <a name="remove-javax.swing.tree.MutableTreeNode-">
|
---|
899 | <!-- -->
|
---|
900 | </a>
|
---|
901 | <ul class="blockList">
|
---|
902 | <li class="blockList">
|
---|
903 | <h4>remove</h4>
|
---|
904 | <pre>public void remove(javax.swing.tree.MutableTreeNode node)</pre>
|
---|
905 | <div class="block">Removes node from the receiver's children, and sets it's parent to null.
|
---|
906 | If node is not one of the receiver's children, nothing happens.</div>
|
---|
907 | <dl>
|
---|
908 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
909 | <dd><code>remove</code> in interface <code>javax.swing.tree.MutableTreeNode</code></dd>
|
---|
910 | </dl>
|
---|
911 | </li>
|
---|
912 | </ul>
|
---|
913 | <a name="removeFromParent--">
|
---|
914 | <!-- -->
|
---|
915 | </a>
|
---|
916 | <ul class="blockList">
|
---|
917 | <li class="blockList">
|
---|
918 | <h4>removeFromParent</h4>
|
---|
919 | <pre>public void removeFromParent()</pre>
|
---|
920 | <div class="block">Removes the subtree rooted at this node from the tree, giving this node a
|
---|
921 | null parent. Does nothing if this node is the root of its tree.</div>
|
---|
922 | <dl>
|
---|
923 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
924 | <dd><code>removeFromParent</code> in interface <code>javax.swing.tree.MutableTreeNode</code></dd>
|
---|
925 | </dl>
|
---|
926 | </li>
|
---|
927 | </ul>
|
---|
928 | <a name="setParent-javax.swing.tree.MutableTreeNode-">
|
---|
929 | <!-- -->
|
---|
930 | </a>
|
---|
931 | <ul class="blockList">
|
---|
932 | <li class="blockList">
|
---|
933 | <h4>setParent</h4>
|
---|
934 | <pre>public void setParent(javax.swing.tree.MutableTreeNode newParent)</pre>
|
---|
935 | <div class="block">Sets this node's parent to newParent but does not change the parent's
|
---|
936 | child array. This method is called from insert() and remove() to reassign
|
---|
937 | a child's parent, it should not be messaged from anywhere else. Also,
|
---|
938 | newParent is cast to a Objective. Calling this method with a different
|
---|
939 | type of TreeNode will result in a ClassCastException.</div>
|
---|
940 | <dl>
|
---|
941 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
942 | <dd><code>setParent</code> in interface <code>javax.swing.tree.MutableTreeNode</code></dd>
|
---|
943 | </dl>
|
---|
944 | </li>
|
---|
945 | </ul>
|
---|
946 | <a name="setUserObject-java.lang.Object-">
|
---|
947 | <!-- -->
|
---|
948 | </a>
|
---|
949 | <ul class="blockList">
|
---|
950 | <li class="blockList">
|
---|
951 | <h4>setUserObject</h4>
|
---|
952 | <pre>public void setUserObject(java.lang.Object object)</pre>
|
---|
953 | <div class="block">Sets a user object associated with the receiving Objective. This method
|
---|
954 | is primarily available in order to implement the MutableTreeNode
|
---|
955 | interface, but because the user object can be of any type it may well be
|
---|
956 | used to associate extra information about the node. For instance a
|
---|
957 | picture of this node's OBJECTIVE or ISSUE.</div>
|
---|
958 | <dl>
|
---|
959 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
960 | <dd><code>setUserObject</code> in interface <code>javax.swing.tree.MutableTreeNode</code></dd>
|
---|
961 | </dl>
|
---|
962 | </li>
|
---|
963 | </ul>
|
---|
964 | <a name="getPreorderEnumeration--">
|
---|
965 | <!-- -->
|
---|
966 | </a>
|
---|
967 | <ul class="blockList">
|
---|
968 | <li class="blockList">
|
---|
969 | <h4>getPreorderEnumeration</h4>
|
---|
970 | <pre>public java.util.Enumeration<<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>> getPreorderEnumeration()</pre>
|
---|
971 | <div class="block">Constructs an Enumeration of the entire subtree of the receiver
|
---|
972 | (including itself) in preorder. The enumeration is immediately
|
---|
973 | constructed against the current state of the tree, so modifications to
|
---|
974 | the tree afterwards are not reflected in the Enumeration.</div>
|
---|
975 | <dl>
|
---|
976 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
977 | <dd>the preorder Enumeration of the subtree.</dd>
|
---|
978 | </dl>
|
---|
979 | </li>
|
---|
980 | </ul>
|
---|
981 | <a name="getPreorderObjectiveEnumeration--">
|
---|
982 | <!-- -->
|
---|
983 | </a>
|
---|
984 | <ul class="blockList">
|
---|
985 | <li class="blockList">
|
---|
986 | <h4>getPreorderObjectiveEnumeration</h4>
|
---|
987 | <pre>public java.util.Enumeration<<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>> getPreorderObjectiveEnumeration()</pre>
|
---|
988 | <div class="block">Constructs an Enumeration of the entire subtree of the receiver
|
---|
989 | (including itself) in preorder, containting only the Ojectives, but not
|
---|
990 | the Issues.. The enumeration is immediately constructed against the
|
---|
991 | current state of the tree, so modifications to the tree afterwards are
|
---|
992 | not reflected in the Enumeration.</div>
|
---|
993 | <dl>
|
---|
994 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
995 | <dd>the preorder Enumeration of Objectives from the subtree.</dd>
|
---|
996 | </dl>
|
---|
997 | </li>
|
---|
998 | </ul>
|
---|
999 | <a name="getPreorderIssueEnumeration--">
|
---|
1000 | <!-- -->
|
---|
1001 | </a>
|
---|
1002 | <ul class="blockList">
|
---|
1003 | <li class="blockList">
|
---|
1004 | <h4>getPreorderIssueEnumeration</h4>
|
---|
1005 | <pre>public java.util.Enumeration<<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>> getPreorderIssueEnumeration()</pre>
|
---|
1006 | <div class="block">Constructs an Enumeration of the entire subtree of the receiver
|
---|
1007 | (including itself) in preorder, containing only the Issues, but not the
|
---|
1008 | normal Objectives. The enumeration is immediately constructed against the
|
---|
1009 | current state of the tree, so modifications to the tree afterwards are
|
---|
1010 | not reflected in the Enumeration.</div>
|
---|
1011 | <dl>
|
---|
1012 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
1013 | <dd>the preorder Enumeration of Issues from the subtree.</dd>
|
---|
1014 | </dl>
|
---|
1015 | </li>
|
---|
1016 | </ul>
|
---|
1017 | <a name="toXML--">
|
---|
1018 | <!-- -->
|
---|
1019 | </a>
|
---|
1020 | <ul class="blockList">
|
---|
1021 | <li class="blockList">
|
---|
1022 | <h4>toXML</h4>
|
---|
1023 | <pre>public <a href="../../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a> toXML()</pre>
|
---|
1024 | <div class="block">Returns an xml representation of this Objective and all Objectives and
|
---|
1025 | issues underneath it.</div>
|
---|
1026 | </li>
|
---|
1027 | </ul>
|
---|
1028 | <a name="getPath--">
|
---|
1029 | <!-- -->
|
---|
1030 | </a>
|
---|
1031 | <ul class="blockListLast">
|
---|
1032 | <li class="blockList">
|
---|
1033 | <h4>getPath</h4>
|
---|
1034 | <pre>public javax.swing.tree.TreePath getPath()</pre>
|
---|
1035 | <dl>
|
---|
1036 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
1037 | <dd>treepath to (and including) this objective. requires that the
|
---|
1038 | parent fields are set properly and that this implements
|
---|
1039 | MutableTreeNode.</dd>
|
---|
1040 | </dl>
|
---|
1041 | </li>
|
---|
1042 | </ul>
|
---|
1043 | </li>
|
---|
1044 | </ul>
|
---|
1045 | </li>
|
---|
1046 | </ul>
|
---|
1047 | </div>
|
---|
1048 | </div>
|
---|
1049 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
1050 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
1051 | <div class="bottomNav"><a name="navbar.bottom">
|
---|
1052 | <!-- -->
|
---|
1053 | </a>
|
---|
1054 | <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
---|
1055 | <a name="navbar.bottom.firstrow">
|
---|
1056 | <!-- -->
|
---|
1057 | </a>
|
---|
1058 | <ul class="navList" title="Navigation">
|
---|
1059 | <li><a href="../../../overview-summary.html">Overview</a></li>
|
---|
1060 | <li><a href="package-summary.html">Package</a></li>
|
---|
1061 | <li class="navBarCell1Rev">Class</li>
|
---|
1062 | <li><a href="class-use/Objective.html">Use</a></li>
|
---|
1063 | <li><a href="package-tree.html">Tree</a></li>
|
---|
1064 | <li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
---|
1065 | <li><a href="../../../index-all.html">Index</a></li>
|
---|
1066 | <li><a href="../../../help-doc.html">Help</a></li>
|
---|
1067 | </ul>
|
---|
1068 | </div>
|
---|
1069 | <div class="subNav">
|
---|
1070 | <ul class="navList">
|
---|
1071 | <li><a href="../../../genius/core/issue/ISSUETYPE.html" title="enum in genius.core.issue"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
1072 | <li><a href="../../../genius/core/issue/Value.html" title="class in genius.core.issue"><span class="typeNameLink">Next Class</span></a></li>
|
---|
1073 | </ul>
|
---|
1074 | <ul class="navList">
|
---|
1075 | <li><a href="../../../index.html?genius/core/issue/Objective.html" target="_top">Frames</a></li>
|
---|
1076 | <li><a href="Objective.html" target="_top">No Frames</a></li>
|
---|
1077 | </ul>
|
---|
1078 | <ul class="navList" id="allclasses_navbar_bottom">
|
---|
1079 | <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
---|
1080 | </ul>
|
---|
1081 | <div>
|
---|
1082 | <script type="text/javascript"><!--
|
---|
1083 | allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
---|
1084 | if(window==top) {
|
---|
1085 | allClassesLink.style.display = "block";
|
---|
1086 | }
|
---|
1087 | else {
|
---|
1088 | allClassesLink.style.display = "none";
|
---|
1089 | }
|
---|
1090 | //-->
|
---|
1091 | </script>
|
---|
1092 | </div>
|
---|
1093 | <div>
|
---|
1094 | <ul class="subNavList">
|
---|
1095 | <li>Summary: </li>
|
---|
1096 | <li>Nested | </li>
|
---|
1097 | <li>Field | </li>
|
---|
1098 | <li><a href="#constructor.summary">Constr</a> | </li>
|
---|
1099 | <li><a href="#method.summary">Method</a></li>
|
---|
1100 | </ul>
|
---|
1101 | <ul class="subNavList">
|
---|
1102 | <li>Detail: </li>
|
---|
1103 | <li>Field | </li>
|
---|
1104 | <li><a href="#constructor.detail">Constr</a> | </li>
|
---|
1105 | <li><a href="#method.detail">Method</a></li>
|
---|
1106 | </ul>
|
---|
1107 | </div>
|
---|
1108 | <a name="skip.navbar.bottom">
|
---|
1109 | <!-- -->
|
---|
1110 | </a></div>
|
---|
1111 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
1112 | </body>
|
---|
1113 | </html>
|
---|