TS 69 JavaFX CodeTemplates

(Difference between revisions)
(Created page with ''''Author:''' [mailto:sunflower@netbeans.org Alexandr Scherbatiy] <br> '''Version:''' 1.0 <br> '''Last update:''' 05 August 2010 <br> '''Introduction:''' <br> '''Comments:''' <…')
(Keywords)
 
(9 intermediate revisions not shown)
Line 6: Line 6:
__TOC__
__TOC__
 +
 +
 +
Below are the tables of the JavaFX code templates. Write the  code from the first column and press &lt;Tab&gt;. The expected result is shown in the second column.
 +
 +
=== Keywords ===
 +
 +
{|- border="1"
 +
! Template
 +
! Result
 +
|- valign="top"
 +
| pa
 +
| package
 +
|- valign="top"
 +
| im
 +
| import
 +
|- valign="top"
 +
| pu
 +
| public
 +
|- valign="top"
 +
| pr
 +
| public-read
 +
|- valign="top"
 +
| bi
 +
| bind
 +
|}
 +
 +
=== Types ===
 +
 +
{|- border="1"
 +
! Template
 +
! Result
 +
|-
 +
| In
 +
| Integer
 +
|- valign="top"
 +
| Bo
 +
| Boolean
 +
|- valign="top"
 +
| Nu
 +
| Number
 +
|- valign="top"
 +
| St
 +
| String
 +
|}
 +
 +
=== Operators ===
 +
 +
{|- border="1"
 +
! Template
 +
! Result
 +
|- valign="top"
 +
| cn
 +
| continue;
 +
|- valign="top"
 +
| br
 +
| break;
 +
|- valign="top"
 +
| for
 +
| for (idx in arr) { }
 +
|- valign="top"
 +
| wh
 +
| while (exp) { }
 +
|- valign="top"
 +
| de
 +
| delete VariableOrAttribute
 +
|- valign="top"
 +
| tr
 +
| try { } catch (e) { }
 +
|}
 +
 +
=== Language Constructions ===
 +
 +
{|- border="1"
 +
! Template
 +
! Result
 +
|- valign="top"
 +
| cl
 +
| class Class1 { }
 +
|- valign="top"
 +
| def
 +
| def var1 = ;
 +
|- valign="top"
 +
| var
 +
| var var1 = ;
 +
|- valign="top"
 +
| fu
 +
| function FunctionName() {}
 +
|}

Current revision as of 15:12, 5 August 2010

Author: Alexandr Scherbatiy
Version: 1.0
Last update: 05 August 2010
Introduction:
Comments:

Contents


Below are the tables of the JavaFX code templates. Write the code from the first column and press <Tab>. The expected result is shown in the second column.

Keywords

Template Result
pa package
im import
pu public
pr public-read
bi bind

Types

Template Result
In Integer
Bo Boolean
Nu Number
St String

Operators

Template Result
cn continue;
br break;
for for (idx in arr) { }
wh while (exp) { }
de delete VariableOrAttribute
tr try { } catch (e) { }

Language Constructions

Template Result
cl class Class1 { }
def def var1 = ;
var var var1 = ;
fu function FunctionName() {}
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo