Top Fields Constructors Methods
impl.org.controlsfx.skin

public Class ListSelectionViewSkin<T>

extends SkinBase<ListSelectionView<T>>
Class Inheritance
Imports
javafx.beans.InvalidationListener, javafx.beans.binding.Bindings, javafx.collections.FXCollections, .ObservableList, javafx.geometry.Orientation, .Pos, .Side, javafx.scene.Node, javafx.scene.control.Button, .ListView, .Separator, .SkinBase, javafx.scene.input.MouseButton, javafx.scene.layout.ColumnConstraints, .GridPane, .HBox, .Pane, .Priority, .RowConstraints, .StackPane, .VBox, org.controlsfx.control.ListActionView, .ListSelectionView, org.controlsfx.control.action.Action, .ActionUtils, java.util.ArrayList, .List

Field Summary

Modifier and TypeField and Description
private GridPane
private ListActionView<T>
private ListView<T>
private ListActionView<T>
private ListView<T>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private Button
private Node
private ObservableList<Node>
private GridPane
private HBox
private ListActionView<T>
private ListView<T>
protected ListView<T>

Returns:

the source list view
createSourceListView
()

Creates the ListView instance used on the left-hand side as the source list.

protected ListView<T>

Returns:

the target list view
createTargetListView
()

Creates the ListView instance used on the right-hand side as the target list.

private VBox
public final ListView<T>

Returns:

the source list view
getSourceListView
()

Returns the source list view (shown on the left-hand side).

public final ListView<T>

Returns:

the target list view
getTargetListView
()

Returns the target list view (shown on the right-hand side).

private void
private void
move(ListView<T> viewA, ListView<T> viewB)

private void
move(ListView<T> viewA, ListView<T> viewB, List<T> items)

private void
private void
private void
private void
private void
Inherited from javafx.scene.control.SkinBase:
computeBaselineOffsetcomputeMaxHeightcomputeMaxWidthcomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthconsumeMouseEventsdisposeexecuteAccessibleActiongetChildrengetClassCssMetaDatagetCssMetaDatagetNodegetSkinnablelayoutChildrenlayoutInArealayoutInArealayoutInAreapositionInAreapositionInAreapseudoClassStateChangedqueryAccessibleAttributeregisterChangeListenerregisterInvalidationListenerregisterListChangeListenersnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYunregisterChangeListenersunregisterInvalidationListenersunregisterListChangeListeners

Field Detail

gridPaneback to summary
private GridPane gridPane
sourceListActionViewback to summary
private ListActionView<T> sourceListActionView
sourceListViewback to summary
private ListView<T> sourceListView
targetListActionViewback to summary
private ListActionView<T> targetListActionView
targetListViewback to summary
private ListView<T> targetListView

Constructor Detail

ListSelectionViewSkinback to summary
public ListSelectionViewSkin(ListSelectionView<T> view)

Method Detail

createActionButtonback to summary
private Button createActionButton(Action action)
createActionNodeback to summary
private Node createActionNode(Action action)
createButtonsFromActionsback to summary
private ObservableList<Node> createButtonsFromActions()
createGridPaneback to summary
private GridPane createGridPane()
createHorizontalButtonBoxback to summary
private HBox createHorizontalButtonBox()
createListActionViewback to summary
private ListActionView<T> createListActionView(ListView<T> listView)
createListViewback to summary
private ListView<T> createListView()
createSourceListViewback to summary
protected ListView<T> createSourceListView()

Creates the ListView instance used on the left-hand side as the source list. This method can be overridden to provide a customized list view control.

Returns:ListView<T>

the source list view

createTargetListViewback to summary
protected ListView<T> createTargetListView()

Creates the ListView instance used on the right-hand side as the target list. This method can be overridden to provide a customized list view control.

Returns:ListView<T>

the target list view

createVerticalButtonBoxback to summary
private VBox createVerticalButtonBox()
getSourceListViewback to summary
public final ListView<T> getSourceListView()

Returns the source list view (shown on the left-hand side).

Returns:ListView<T>

the source list view

getTargetListViewback to summary
public final ListView<T> getTargetListView()

Returns the target list view (shown on the right-hand side).

Returns:ListView<T>

the target list view

initializeListSelectionActionback to summary
private void initializeListSelectionAction(Action action)
moveback to summary
private void move(ListView<T> viewA, ListView<T> viewB)
moveback to summary
private void move(ListView<T> viewA, ListView<T> viewB, List<T> items)
moveToSourceback to summary
private void moveToSource()
moveToTargetback to summary
private void moveToTarget()
setHorizontalViewConstraintsback to summary
private void setHorizontalViewConstraints()
setVerticalViewConstraintsback to summary
private void setVerticalViewConstraints()
updateViewback to summary
private void updateView()