TS 68 JavaFX CodeCompletion

Revision as of 11:14, 18 February 2010 by Sunflower (Talk | contribs)

Author: Alexandr Scherbatiy
Version: 1.1
Last update: 17 February 2010
Introduction:
Comments:


Contents



Keywords

File

  • Type in the editor:
         
pu
  • Invoke Code Completion (press <Ctrl+Space>).
    • EXPECTED RESULT: The following items should be suggested
         
  public
  public-read


Class

  • Type in the editor:
class A{         
   pu
}
  • Invoke Code Completion (press <Ctrl+Space>).
    • EXPECTED RESULT: The following items should be suggested
         
  public
  public-init
  public-read

Imports

Package

  • Type in the editor:
         
import ja
  • Invoke Code Completion (press <Ctrl+Space>).
    • EXPECTED RESULT: The following items should be suggested
         
  java
  javafx
  javax

Long Package

  • Type in the editor:
         
import javafx.
  • Invoke Code Completion (press <Ctrl+Space>).
    • EXPECTED RESULT: The following items should be suggested
         
  scene
  stage
  math
  ...

Class Names

  • Type in the editor:
         
import javafx.scene.
  • Invoke Code Completion (press <Ctrl+Space>).
    • EXPECTED RESULT: The following items should be suggested
         
  Scene
  Node
  Group
  ...

Object Literal

Package

  • Copy the code to the editor:
         
import javafx.scene.shape.Circle;

Circle {

}
  • Position the cursor inside the Circle component declaration
  • Invoke Code Completion (press <Ctrl+Space>).
    • EXPECTED RESULT: The following items should be suggested
         
  centerX
  centerY
  radius
  transforms
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