<!-- <questionid="arch-usecases"when="init"> <hint> Contentofthisanswerwillbedisplayedaspartofpageat http://www.netbeans.org/download/dev/javadoc/usecases.html Youcanusetags<usecasename="name>regularhtmldescription</usecase> andifyouwanttouseanURLyoucanprefixifwith@TOP@tobegin attherootofyourjavadoc </hint> Describethemain<ahref="http://openide.netbeans.org/tutorial/api-design.html#usecase"> usecases</a>ofthenewAPI.Whowilluseitunder whatcircumstances?Whatkindofcodewouldtypicallyneedtobewritten tousethemodule? </question>
-->
<answer id="arch-usecases">
<p>
<a onclick="target='_blank'"href="https://leanpub.com/nbp4beginners">
<img src="http://wiki.apidesign.org/images/0/03/NetBeansPlatformForBeginners.jpg"
style="float: right"
width="60" height="70" alt="Cover of NetBeans Platform for Beginners book"/>
</a>
For general overview of the concepts of NetBeans action system and related UI elements,
together with code samples, see chapter 5,
of <a onclick="target='_blank'"href="https://leanpub.com/nbp4beginners">NetBeans Platform for Beginners</a>
by Jason Wexbridge and Walter Nyland.
</p>
</answer>
<!-- <questionid="arch-what"when="init"> Whatisthisprojectgoodfor? <hint> Pleaseprovidehereafewlinesdescribingtheproject, whatproblemitshouldsolve,providelinkstodocumentation, specifications,etc. </hint> </question>
-->
<answer id="arch-what">
The <api name="org.openide.awt"type="export" category="official" url="@org-openide-awt@/org/openide/awt/package-summary.html" group="java"/>
provides API/SPI for UI related aspects of application.
</answer>
<!-- <questionid="exec-classloader"when="impl"> Doesyourcodecreateitsownclassloader(s)? <hint> Abitunusual.Pleaseexplainwhyandwhatfor. </hint> </question>
-->
<answer id="exec-classloader">
<p>
XXX no answer for exec-classloader
</p>
</answer>
<!-- <questionid="exec-component"when="impl"> Isexecutionofyourcodeinfluencedbyany(string)property ofanyofyourcomponents? <hint> Often<code>JComponent.getClientProperty</code>,<code>Action.getValue</code> or<code>PropertyDescriptor.getValue</code>,etc.areusedtoinfluence abehaviorofsomecode.Thisofcourseformsaninterfacethatshould bedocumented.Alsoifonedependsonsomeinterfacethatanobject implements(<code>componentinstanceofRunnable</code>)thatformsan APIaswell. </hint> </question>
-->
<answer id="exec-component">
<ul>
<li>
<api name="menuText" category="stable"type="export" group="property"url="@TOP@/org/openide/awt/Actions.html#connect(javax.swing.JMenuItem,javax.swing.Action,boolean)"/>
</li>
<li>
<api name="popupText" category="stable"type="export" group="property"url="@TOP@/org/openide/awt/Actions.html#connect(javax.swing.JMenuItem,javax.swing.Action,boolean)"/>
</li>
<li>
<api name="org.openide.awt.USE_MNEMONICS" category="stable"type="export" group="branding">
There is a way to enable mnemonics in popup menu items created via
<a href="@TOP@/org/openide/awt/Actions.html">Actions</a> factory methods
in your own application build on top of NetBeans Platform.
Just provide branding for <code>org/openide/awt/Bundle.properties</code>
file and modify <code>USE_MNEMONICS=always</code>. Other possible values
of this key include <code>default</code>, <code>never</code> or <code>always</code>.
</api>
</li>
</ul>
</answer>
<!-- <questionid="exec-privateaccess"when="final"> Areyouawareofanyotherpartsofthesystemcallingsomeof yourmethodsbyreflection? <hint> Ifso,describethe"contract"asanAPI.Likelyprivateorfriendone,but stillAPIandconsiderrewriteofit. </hint> </question>
-->
<answer id="exec-privateaccess">
<p>
XXX no answer for exec-privateaccess
</p>
</answer>
<!-- <questionid="exec-process"when="impl"> Doyouexecuteanexternalprocessfromyourmodule?Howdoyouensure thattheresultisthesameondifferentplatforms?Doyouparseoutput? Doyoudependonresultcode? <hint> Ifyoufeedaninput,parsetheoutputpleasedeclarethatasanAPI. </hint> </question>
-->
<answer id="exec-process">
<p>
XXX no answer for exec-process
</p>
</answer>
<!-- <questionid="exec-property"when="impl"> Isexecutionofyourcodeinfluencedbyanyenvironmentor Javasystem(<code>System.getProperty</code>)property? <hint> Ifthereisapropertythatcanchangethebehaviorofyour code,somebodywilllikelyuseit.Youshoulddescribewhatitdoes andthe<ahref="http://openide.netbeans.org/tutorial/api-design.html#life">stabilitycategory</a> ofthisAPI.Youmayuse <pre> <apitype="export"group="property"name="id"category="private"url="http://..."> descriptionoftheproperty,whereitisused,whatitinfluence,etc. </api> </pre> </hint> </question>
-->
<answer id="exec-property">
<p>
<api name="org.netbeans.ui.actions.UI_ACTION_BUTTON_PRESS" category="friend" group="logger"type="export">
There is a special support for notifying when an action wrapped by
<a href="@TOP@/org/openide/awt/Actions.html">Actions bridge</a> is
invoked and how. The support is using <a href="@JDK@@JDKMODULE_JAVA_LOGGING@/java/util/logging/Logger.html">
Logger.getLogger("org.netbeans.ui.actions")
</a> and sents a <a href="@JDK@@JDKMODULE_JAVA_LOGGING@/java/util/logging/LogRecord.html">LogRecord</a>
with message <code>UI_ACTION_BUTTON_PRESS</code>,
<code>FINER</code> <a href="@JDK@@JDKMODULE_JAVA_LOGGING@/java/util/logging/LogRecord.html">level</a>
and paramerters:
<ul>
<li>{<b>0</b>} instance of the button</li>
<li>{<b>1</b>} class of the button</li>
<li>{<b>2</b>} instance of the action</li>
<li>{<b>3</b>} class of the action</li>
<li>{<b>4</b>} display name of the action</li>
</ul>
whenever such action is invoked. This message can then be consumed
by enhanced UI logger that track what the user is going.
</api>
<api name="org.openide.awt.StatusDisplayer.DISPLAY_TIME" category="friend" group="systemproperty"type="export">
Status text set in <a href="@TOP@/org/openide/awt/StatusDisplayer.html">StatusDisplayer</a> is
by default shown in status line of NetBeans and is hidden after specified timeout.
If not overriden by this property it is done after 5000ms.
O means that the last text will be shown and not removed.
</api>
<api name="org.openide.awt.ActionReference.completion" category="devel" group="systemproperty"type="export">
If <a href="@JDK@@JDKMODULE_JAVA_BASE@/java/lang/System.html">System.getProperty("org.openide.awt.ActionReference.completion")</a>
is specified, then the dedicated processor for <a href="@TOP@/org/openide/awt/ActionReference.html">ActionReference</a>
tries to load such class, casts it to
<a href="@JDK@@JDKMODULE_JAVA_COMPILER@/javax/annotation/processing/Processor.html">Processor</a>
and asks it for additional completion items for its
<code>path</code> attribute. By default, when running inside NetBeans IDE,
<code>apisupport.project</code> registers such class and provides
items representing valid paths in current project.
</api>
</p>
</answer>
<!-- <questionid="exec-reflection"when="impl"> DoesyourcodeuseJavaReflectiontoexecuteothercode? <hint> ThisusuallyindicatesamissingorinsufficientAPIintheother partofthesystem.Iftheothersideisnotawareofyourdependency thiscontractcanbeeasilybroken. </hint> </question>
-->
<answer id="exec-reflection">
<p>
XXX no answer for exec-reflection
</p>
</answer>
<!-- <questionid="lookup-lookup"when="init"> Doesyourmoduleuse<code>org.openide.util.Lookup</code> oranysimilartechnologytofindanycomponentstocommunicatewith?Whichones? <hint> Pleasedescribetheinterfacesyouaresearchingfor,where aredefined,whetheryouaresearchingforjustoneormoreofthem, iftheorderisimportant,etc.Alsoclassifythestabilityofsuch APIcontract.Forthatuse<apigroup=&lookup&/>tag. </hint> </question>
-->
<answer id="lookup-lookup">
<api group="lookup" name="ButtonActionConnectorSPI"type="export" category="friend">
<p>
Objects implementing
<a href="@org-openide-awt@/org/openide/awt/Actions.ButtonActionConnector.html">ButtonActionConnector</a> are
looked up. Only the first instance found in the loookup is used to provide an alternative implementation
of connection between Actions and GUI components. If there isn't one
in the lookup the default implementation is used (it means there does
not have to be one).
</p>
</api>
</answer>
<!-- <questionid="lookup-register"when="final"> Doyouregisteranythingintolookupforothercodetofind? <hint> Doyouregisterusinglayerfileorusing<code>META-INF/services</code>? Whoissupposedtofindyourcomponent? </hint> </question>
-->
<answer id="lookup-register">
<p>
XXX no answer for lookup-register
</p>
</answer>
<!-- <questionid="lookup-remove"when="final"> Doyouremoveentriesofothermodulesfromlookup? <hint> Why?Ofcourse,thatispossible,butitcanbedangerous.Isthemodule youraremaskingresourcefromawareofwhatyouaredoing? </hint> </question>
-->
<answer id="lookup-remove">
<p>
XXX no answer for lookup-remove
</p>
</answer>
<!-- <questionid="perf-exit"when="final"> Doesyourmodulerunanycodeonexit? </question>
-->
<answer id="perf-exit">
<p>
XXX no answer for perf-exit
</p>
</answer>
<!-- <questionid="perf-huge_dialogs"when="final"> Doesyourmodulecontainanydialogsorwizardswithalargenumberof GUIcontrolssuchascomboboxes,lists,trees,ortextareas? </question>
-->
<answer id="perf-huge_dialogs">
<p>
XXX no answer for perf-huge_dialogs
</p>
</answer>
<!-- <questionid="perf-limit"when="init"> Arethereanyhard-codedorpracticallimitsinthenumberorsizeof elementsyourcodecanhandle? </question>
-->
<answer id="perf-limit">
<p>
XXX no answer for perf-limit
</p>
</answer>
<!-- <questionid="perf-mem"when="final"> Howmuchmemorydoesyourcomponentconsume?Estimate witharelationtothenumberofwindows,etc. </question>
-->
<answer id="perf-mem">
<p>
XXX no answer for perf-mem
</p>
</answer>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.