JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

A data grid control.

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publiccolumnsGridColumn[]

The columns displayed in the grid.

publiccomparatorComparator

A java.util.Comparator object used for comparing of grid items during sorting.

publicitemsObject[]

The items displayed in the grid.

publicqueryConverterfunction(:Object):Converter

Invoked for an object in order to fetch a converter for this object.

Invoked for an object in order to fetch a converter for this object. Return null if the object is one of the primitive types - Boolean, Integer, Number, String, or java.util.GregorianCalendar, which have built-in conveters.

 
publicqueryEditorfunction(:Object):InlineEditor

Invoked for an object in order to fetch an editor for this object.

Invoked for an object in order to fetch an editor for this object. Return null if the object is one of the following types to use their built-in conevrters: Boolean, Integer, Number, String, java.util.GregorianCalendar and javafx.scene.image.Image.

 
publicqueryValuefunction(:Object,:String):Object

Invoked for the specified item in order to fetch its value for a specific member.

Invoked for the specified item in order to fetch its value for a specific member. If this variable is not specified, the value of the item member will be obtained through reflection, which can be extremely inefficient.

 
publicrowHeightNumber18

The height of an individual row in the grid.

publicsortableColumnsBooleanfalse

A value indicating whether the grid can be sorted interactively by clicking on the column headers.

publicsortColumnIndexInteger-1

The index of the grid column by which is the grid is sorted, or -1, if there is no sorting.

publicsortTypeIntegerUNSORTED

The sorting type, if the grid is sorted.

The sorting type, if the grid is sorted. One of the values defined in the SortType class.

UNSORTED  

Inherited Variables

Inherited Functions