JavaFXComposerNewInM8

Revision as of 12:43, 2 August 2010 by Msandor (Talk | contribs)

Contents

New Data Source API

Classes

Structure

Filter

Location

Write Support

Unlike in the previous API version, every Record is now read/write. Attributes of a Record can be modified using the setAttr() method and its value can be changed with the setValue() method. Whenever data in a Record change, the Record is marked dirty, see the next paragraph.

Dirty Flag

When a Record is modified it is marked dirty and all its parent Records are marked dirty as well. Dirty flag is a synthetic attribute of a Record and can be read and written by getDirty() and setDirty() methods. When you reset the dirty flag with the setDirty() method, all descendant Records are marked clean again. So to day, setDirty(true) marks all parents dirty and setDirty(false) marks all descentants clean. You can check the dirty flag to see whether it is necessary to commit changes, ie. synchronize in-memory data with the original data source.

Data Source Customizer

New Data Source Components

Sequence-based Controls

The DSListView, DSChoiceBox controls are working with a sequence of the Records taken from a specified DataSource and Filter.

Item-based Controls

The DSCheckBox, DSLabel, DSPasswordBox, DSTextBox controls are working with a single attribute value specified by a Location within a DataSource.

New Validation Component

Form Customizer Improvements

Design usability improvements

  • The behavior of image placeholder has changed, allowing user to switch between standard and placeholder view.
  • Improved and simplified guidelines to lower confusion
  • Added new handlers to allow easily move parent container if child is selected.

Palette

Some categories in the Palette are collapsed initially, so only Layouts, Controls, new Data Sources and Templates categories are expanded.

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