Spec-Zone .ru
спецификации, руководства, описания, API
|
static class TabPane.TabPaneSelectionModel extends SingleSelectionModel<Tab>
selectedIndex, selectedItem
Constructor and Description |
---|
TabPane.TabPaneSelectionModel(TabPane t) |
Modifier and Type | Method and Description |
---|---|
protected int |
getItemCount()
Gets the number of items available for the selection model.
|
protected Tab |
getModelItem(int index)
Gets the data model item associated with a specific index.
|
void |
select(int index)
Selects the given index.
|
void |
select(Tab tab)
Selects the index for the first instance of given object in the underlying
data model.
|
clearAndSelect, clearSelection, clearSelection, isEmpty, isSelected, selectFirst, selectLast, selectNext, selectPrevious
getSelectedIndex, getSelectedItem, selectedIndexProperty, selectedItemProperty, setSelectedIndex, setSelectedItem
public TabPane.TabPaneSelectionModel(TabPane t)
public void select(int index)
SingleSelectionModel
select
in class SingleSelectionModel<Tab>
index
- The position of the item to select in the selection model.public void select(Tab tab)
SingleSelectionModel
select
in class SingleSelectionModel<Tab>
tab
- The object to attempt to select in the underlying data model.protected Tab getModelItem(int index)
SingleSelectionModel
getModelItem
in class SingleSelectionModel<Tab>
index
- The position of the item in the underlying data model.protected int getItemCount()
SingleSelectionModel
getItemCount
in class SingleSelectionModel<Tab>
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to