TableView

object TableView

Object companion for scalafx.scene.controlTableView.

Object companion for scalafx.scene.controlTableView.

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

Object companion for scalafx.scene.controlTableView.ResizeFeatures.

Object companion for scalafx.scene.controlTableView.ResizeFeatures.

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

Wraps a JavaFX ResizeFeatures.

Wraps a JavaFX ResizeFeatures.

Value Params
delegate

JavaFX ResizeFeatures to be wrapped.

Constructor

Creates a new ScalaFX ResizeFeatures from its JavaFX counterpart.

Companion
object

Object companion for scalafx.scene.controlTableView.TableViewFocusModel.

Object companion for scalafx.scene.controlTableView.TableViewFocusModel.

Companion
class
class TableViewFocusModel[S](val delegate: TableViewFocusModel[S]) extends TableFocusModel[S, TableColumn[S, _]] with SFXDelegate[TableViewFocusModel[S]]

Wraps a JavaFX TableViewFocusModel.

Wraps a JavaFX TableViewFocusModel.

Value Params
delegate

JavaFX TableViewFocusModel to be wrapped.

Constructor

Creates a new ScalaFX TableViewFocusModel from its JavaFX counterpart.

Companion
object

Object companion for scalafx.scene.controlTableView.TableViewSelectionModel.

Object companion for scalafx.scene.controlTableView.TableViewSelectionModel.

Companion
class
abstract class TableViewSelectionModel[S](val delegate: TableViewSelectionModel[S]) extends TableSelectionModel[S] with SFXDelegate[TableViewSelectionModel[S]]

Wraps a JavaFX TableViewSelectionModel.

Wraps a JavaFX TableViewSelectionModel.

Value Params
delegate

JavaFX TableViewSelectionModel to be wrapped.

Constructor

Creates a new ScalaFX TableViewSelectionModel from its JavaFX counterpart.

Companion
object

Value members

Concrete fields

val ConstrainedResizePolicy: Callback[ResizeFeatures[_], Boolean]

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.

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.

It delegates to JavaFX CONSTRAINED_RESIZE_POLICY

val UnconstrainedResizePolicy: Callback[ResizeFeatures[_], Boolean]

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 delegates to JavaFX UNCONSTRAINED_RESIZE_POLICY

Implicits

Implicits

implicit def sfxTableView2jfx[S](tv: TableView[S]): TableView[S]

Converts a ScalaFX TableView instance to its JavaFX counterpart.

Converts a ScalaFX TableView instance to its JavaFX counterpart.

Value Params
tv

ScalaFX TableView

Returns

JavaFX TableView