TreeTableView

scalafx.scene.control.TreeTableView
See theTreeTableView companion class
object TreeTableView

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class EditEvent[T](val delegate: EditEvent[T]) extends Event, 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 parameters

delegate

JavaFX EditEvent to be wrapped.

Attributes

Constructor

Creates a new ScalaFX EditEvent from its JavaFX counterpart.

Companion
object
Supertypes
class Event
trait SFXDelegate[EditEvent[T]]
class Object
trait Matchable
class Any
object EditEvent

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
EditEvent.type
class ResizeFeatures[S](val delegate: ResizeFeatures[S]) extends ResizeFeaturesBase[TreeItem[S]], 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 parameters

delegate

JavaFX ResizeFeatures to be wrapped.

Attributes

Constructor

Creates a new ScalaFX ResizeFeatures from its JavaFX counterpart.

Companion
object
Supertypes
class ResizeFeaturesBase[TreeItem[S]]
trait SFXDelegate[ResizeFeatures[S]]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class TreeTableViewFocusModel[S](val delegate: TreeTableViewFocusModel[S]) extends TableFocusModel[TreeItem[S], TreeTableColumn[S, _]], 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 parameters

delegate

JavaFX TreeTableViewFocusModel to be wrapped.

Attributes

Constructor

Creates a new ScalaFX TreeTableViewFocusModel from its JavaFX counterpart.

Companion
object
Supertypes
class TableFocusModel[TreeItem[S], TreeTableColumn[S, _]]
class FocusModel[TreeItem[S]]
trait SFXDelegate[TreeTableViewFocusModel[S]]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
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 parameters

delegate

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

Attributes

Constructor

Creates a new TreeTableViewSelectionModel from a JavaFX one.

Since

8.0

Companion
object
Supertypes
trait SFXDelegate[TreeTableViewSelectionModel[S]]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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 parameters

v

ScalaFX TreeTableView

Attributes

Returns

JavaFX TreeTableView