| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> |
| <head> |
| <title>Change Method Parameters Dialog Box</title> |
| <link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/> |
| </head> |
| |
| <body> |
| <p><a id="org.netbeans.modules.refactoring.java.ui.ChangeParametersUI" name="org.netbeans.modules.refactoring.java.ui.ChangeParametersUI"></a></p> |
| <div id="NBCSH2882"><!-- infolevel="all" infotype="General" --><a id="sthref370" name="sthref370"></a> |
| <h1>Change Method Parameters Dialog Box</h1> |
| <a name="BEGIN" id="BEGIN"></a> |
| <p>Use to specify options for the <b>Change Method Parameters</b> refactoring command. |
| <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"> |
| <param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG587"> |
| <param name="text" value="<html><u>How?</u></html>"> |
| <param name="textFontSize" value="medium"> |
| <param name="textColor" value="blue"> |
| </object> |
| </p> |
| |
| <table summary="Descriptions of change method or parameter options." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0"> |
| <col width="42%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t2">Element</th> |
| <th align="left" valign="bottom" id="r1c2-t2">Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t2" headers="r1c1-t2"> |
| <p>Parameters</p> |
| </td> |
| <td align="left" headers="r2c1-t2 r1c2-t2">Lists parameters for the method. Click <b>Add</b>, <b>Move Up</b>, and <b>Move Down</b> to add and rearrange the order of parameters. |
| <p>Click <b>Remove</b> to remove any parameters that you have added in the dialog box but that you do not want to keep.</p> |
| <p>Click in a cell in the method type, name, and default value columns of the Parameters table to edit a value.</p> |
| <p>Press Ctrl-Space to use code completion to choose a parameter type and name.</p> |
| <p>Click the ellipsis button (...) on the left of the <b>Type</b> and <b>Return type</b> fields to display the Find Type dialog box.</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r3c1-t2" headers="r1c1-t2"> |
| <p>Access</p> |
| </td> |
| <td align="left" headers="r3c1-t2 r1c2-t2">Displays the four possible accessibility modifiers (<code dir="ltr">public</code>, <code dir="ltr">protected</code>, <i>default</i>, and <code dir="ltr">private</code>). |
| <p>Select the accessibility modifier that you want the method to have.</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r4c1-t2" headers="r1c1-t2"> |
| <p>Return type</p> |
| </td> |
| <td align="left" headers="r4c1-t2 r1c2-t2">Specifies a method's return type. |
| <p>Press Ctrl+Space to use the IDE's code completion feature.</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r5c1-t2" headers="r1c1-t2"> |
| <p>Code Generation</p> |
| </td> |
| <td align="left" headers="r5c1-t2 r1c2-t2">Generates the selected items: <b>Update Existing Method</b> and <b>Create new Method and Delegate from Existing Method</b>.</td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r6c1-t2" headers="r1c1-t2"> |
| <p> Update Existing Method</p> |
| </td> |
| <td align="left" headers="r6c1-t2 r1c2-t2">Regenerates the method and incorporate the most recent changes into the method's code</td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r7c1-t2" headers="r1c1-t2"> |
| <p> Create new Method and Delegate from Existing Method</p> |
| </td> |
| <td align="left" headers="r7c1-t2 r1c2-t2">Generates a new delegate method.</td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r8c1-t2" headers="r1c1-t2"> |
| <p> Method Signature Preview</p> |
| </td> |
| <td align="left" headers="r8c1-t2 r1c2-t2">(read-only) Displays what the method signature looks like if you apply the changes that you have specified in the dialog box.</td> |
| </tr> |
| </tbody> |
| </table> |
| <br /> |
| <!-- --> |
| <a id="NBCSH2890" name="NBCSH2890"></a> |
| <hr><p><b>Related Topics</b></p> |
| <p><i>Developing Applications with NetBeans IDE</i>, |
| <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"> |
| <param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG547"> |
| <param name="text" value="<html><u>"Refactoring Java Projects"</u></html>"> |
| <param name="textFontSize" value="medium"> |
| <param name="textColor" value="blue"> |
| </object> |
| </p> |
| |
| <!-- --> |
| <!-- Start Footer --> |
| |
| |
| <table summary="" cellspacing="0" cellpadding="0" width="100%"> |
| <tr> |
| <td align="left" width="86%"><a href="legal_notice.htm"> |
| Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a> |
| </td> |
| </tr> |
| </table> |
| <!-- --> |
| </body> |
| </html> |