TreeTableView

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

class EditEvent[T](val delegate: EditEvent[T]) extends Event with SFXDelegate[EditEvent[T]]

An Event subclass used specifically in TreeTableView for representing edit-related events. It provides additional API to easily access the TreeItem that the edit event took place on, as well as the input provided by the end user.

An Event subclass used specifically in TreeTableView for representing edit-related events. It provides additional API to easily access the TreeItem that the edit event took place on, as well as the input provided by the end user.

Wraps a JavaFX http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TreeTableView.EditEvent.html

Value Params
delegate

JavaFX EditEvent to be wrapped.

Constructor

Creates a new ScalaFX EditEvent from its JavaFX counterpart.

Companion
object
class ResizeFeatures[S](val delegate: ResizeFeatures[S]) extends ResizeFeaturesBase[TreeItem[S]] with SFXDelegate[ResizeFeatures[S]]

An immutable wrapper class for use in the TableView column resize functionality.

An immutable wrapper class for use in the TableView column resize functionality.

Wraps a JavaFX http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TreeTableView.ResizeFeatures.html

Value Params
delegate

JavaFX ResizeFeatures to be wrapped.

Constructor

Creates a new ScalaFX ResizeFeatures from its JavaFX counterpart.

Companion
object
class TreeTableViewFocusModel[S](val delegate: TreeTableViewFocusModel[S]) extends TableFocusModel[TreeItem[S], TreeTableColumn[S, _]] with SFXDelegate[TreeTableViewFocusModel[S]]

A FocusModel with additional functionality to support the requirements of a TableView control.

A FocusModel with additional functionality to support the requirements of a TableView control.

Wraps a JavaFX http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TreeTableView.TreeTableViewFocusModel.html

Value Params
delegate

JavaFX TreeTableViewFocusModel to be wrapped.

Constructor

Creates a new ScalaFX TreeTableViewFocusModel from its JavaFX counterpart.

Companion
object
abstract class TreeTableViewSelectionModel[S](val delegate: TreeTableViewSelectionModel[S]) extends SFXDelegate[TreeTableViewSelectionModel[S]]

A simple extension of the SelectionModel abstract class to allow for special support for TreeTableView controls.

A simple extension of the SelectionModel abstract class to allow for special support for TreeTableView controls.

Wraps a JavaFX http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TreeTableView.TreeTableViewSelectionModel.html

Value Params
delegate

A JavaFX TreeTableViewSelectionModel to be wrapped. Its default value is a new JavaFX TreeTableViewSelectionModel.

Constructor

Creates a new TreeTableViewSelectionModel from a JavaFX one.

Since

8.0

Companion
object

Value members

Concrete methods

def classCssMetaData: Buffer[CssMetaData[_ <: Styleable, _]]

The CssMetaData associated with this class, which may include the CssMetaData of its super classes.

The CssMetaData associated with this class, which may include the CssMetaData of its super classes.

Since

8.0

def editAnyEvent[T]: EventType[EditEvent[T]]

An EventType that indicates some edit event has occurred.

An EventType that indicates some edit event has occurred.

def editCancelEvent[T]: EventType[EditEvent[T]]

An EventType used to indicate that an edit event has just been canceled within the TreeTableView upon which the event was fired.

An EventType used to indicate that an edit event has just been canceled within the TreeTableView upon which the event was fired.

def editCommitEvent[T]: EventType[EditEvent[T]]

An EventType that is used to indicate that an edit in a TreeTableView has been committed.

An EventType that is used to indicate that an edit in a TreeTableView has been committed.

def editStartEvent[T]: EventType[EditEvent[T]]

An EventType used to indicate that an edit event has started within the TreeTableView upon which the event was fired.

An EventType used to indicate that an edit event has started within the TreeTableView upon which the event was fired.

Concrete fields

Simple policy that ensures the width of all visible leaf columns in this table sum up to equal the width of the table itself.

Simple policy that ensures the width of all visible leaf columns in this table sum up to equal the width of the table itself.

When the user resizes a column width with this policy, the table automatically adjusts the width of the right hand side columns. When the user increases a column width, the table decreases the width of the rightmost column until it reaches its minimum width. Then it decreases the width of the second rightmost column until it reaches minimum width and so on. When all right hand side columns reach minimum size, the user cannot increase the size of resized column any more.

val DefaultSortPolicy: TreeTableView[_] => Boolean

The default sort policy that this TreeTableView will use if no other policy is specified. The sort policy is a simple Callback that accepts a TreeTableView as the sole argument and expects a Boolean response representing whether the sort succeeded or not. A Boolean response of true represents success, and a response of false (or null) will be considered to represent failure.

The default sort policy that this TreeTableView will use if no other policy is specified. The sort policy is a simple Callback that accepts a TreeTableView as the sole argument and expects a Boolean response representing whether the sort succeeded or not. A Boolean response of true represents success, and a response of false (or null) will be considered to represent failure.

Very simple resize policy that just resizes the specified column by the provided delta and shifts all other columns (to the right of the given column) further to the right (when the delta is positive) or to the left (when the delta is negative).

Very simple resize policy that just resizes the specified column by the provided delta and shifts all other columns (to the right of the given column) further to the right (when the delta is positive) or to the left (when the delta is negative).

It also handles the case where we have nested columns by sharing the new space, or subtracting the removed space, evenly between all immediate children columns. Of course, the immediate children may themselves be nested, and they would then use this policy on their children.

Implicits

Implicits

implicit def sfxTreeTableView2jfx[T](v: TreeTableView[T]): TreeTableView[T]

Converts a ScalaFX TreeTableView instance to its JavaFX counterpart.

Converts a ScalaFX TreeTableView instance to its JavaFX counterpart.

Value Params
v

ScalaFX TreeTableView

Returns

JavaFX TreeTableView