| org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyList
TabbedPropertyList | public class TabbedPropertyList extends Composite (Code) | | Shows the list of tabs in the tabbed property sheet page.
author: Anthony Hunter |
Inner Class :public class ListElement extends Canvas | |
Inner Class :public class TopNavigationElement extends Canvas | |
Inner Class :public class BottomNavigationElement extends Canvas | |
Field Summary | |
final protected static int | INDENT | final protected static int | NONE |
Method Summary | |
public Point | computeSize(int wHint, int hHint, boolean changed) | protected void | computeTabsThatFitInComposite() Calculate the number of tabs that will fit in the tab list composite. | public void | deselectAll() Deselects all the elements in the list. | public void | dispose() | public Object | getElementAt(int index) Returns the element with the given index from this list viewer. | public int | getSelectionIndex() Returns the zero-relative index of the item which is currently selected
in the receiver, or -1 if no item is selected. | public void | removeAll() Removes all elements from this list. | protected void | select(int index) Selects one of the elements in the list. | public void | setElements(Object[] children) Sets the new list elements. |
INDENT | final protected static int INDENT(Code) | | |
NONE | final protected static int NONE(Code) | | |
TabbedPropertyList | public TabbedPropertyList(Composite parent, TabbedPropertySheetWidgetFactory factory)(Code) | | Constructor for TabbedPropertyList.
Parameters: parent - the parent widget. Parameters: factory - the widget factory. |
computeSize | public Point computeSize(int wHint, int hHint, boolean changed)(Code) | | |
computeTabsThatFitInComposite | protected void computeTabsThatFitInComposite()(Code) | | Calculate the number of tabs that will fit in the tab list composite.
|
deselectAll | public void deselectAll()(Code) | | Deselects all the elements in the list.
|
dispose | public void dispose()(Code) | | |
getElementAt | public Object getElementAt(int index)(Code) | | Returns the element with the given index from this list viewer. Returns
null if the index is out of range.
Parameters: index - the zero-based index the element at the given index, or null if theindex is out of range |
getSelectionIndex | public int getSelectionIndex()(Code) | | Returns the zero-relative index of the item which is currently selected
in the receiver, or -1 if no item is selected.
the index of the selected item |
removeAll | public void removeAll()(Code) | | Removes all elements from this list.
|
select | protected void select(int index)(Code) | | Selects one of the elements in the list.
Parameters: index - the index of the element to select. |
setElements | public void setElements(Object[] children)(Code) | | Sets the new list elements.
Parameters: children - |
|
|