| org.netbeans.swing.tabcontrol.TabDisplayerUI org.netbeans.swing.tabcontrol.plaf.AbstractViewTabDisplayerUI
All known Subclasses: org.netbeans.swing.tabcontrol.plaf.WinXPViewTabDisplayerUI, org.netbeans.swing.tabcontrol.plaf.WinVistaViewTabDisplayerUI, org.netbeans.swing.tabcontrol.plaf.MetalViewTabDisplayerUI, org.netbeans.swing.tabcontrol.plaf.WinClassicViewTabDisplayerUI, org.netbeans.swing.tabcontrol.plaf.AquaViewTabDisplayerUI, org.netbeans.swing.tabcontrol.plaf.GtkViewTabDisplayerUI,
AbstractViewTabDisplayerUI | abstract public class AbstractViewTabDisplayerUI extends TabDisplayerUI (Code) | | Basic UI class for view tabs - non scrollable tabbed displayer, which shows all
tabs equally sized, proportionally. This class is independent on specific
L&F, acts as base class for specific L&F descendants.
XXX eventually this class should be deleted and a subclass of BasicTabDisplayer can be used;
currently this is simply a port of the original code to the new API. Do not introduce any new
subclasses of this.
author: Dafe Simonek |
Method Summary | |
protected void | cancelRequestAttention(int tab) | protected Controller | createController() | public Image | createImageOfTab(int index) | protected int | createRepaintPolicy() | final protected SingleSelectionModel | createSelectionModel() | public int | dropIndexOfPoint(Point p) | protected Component | getControlButtons() | public Controller | getController() | final protected TabDataModel | getDataModel() | final protected TabDisplayer | getDisplayer() | public Polygon | getExactTabIndication(int index) | public Polygon | getInsertTabIndication(int index) | final public TabLayoutModel | getLayoutModel() | final protected SingleSelectionModel | getSelectionModel() | public Rectangle | getTabRect(int index, Rectangle destination) | protected Font | getTxtFont() Specifies font to use for text and font metrics. | final protected FontMetrics | getTxtFontMetrics() | protected void | installControlButtons() | public void | installUI(JComponent c) | final protected boolean | isActive() | protected boolean | isAttention(int tab) | final protected boolean | isFocused(int index) | final protected boolean | isSelected(int index) | public void | paint(Graphics g, JComponent c) | abstract protected void | paintTabBackground(Graphics g, int index, int x, int y, int width, int height) | abstract protected void | paintTabBorder(Graphics g, int index, int x, int y, int width, int height) | abstract protected void | paintTabContent(Graphics g, int index, String text, int x, int y, int width, int height) | public void | registerShortcuts(JComponent comp) | protected void | requestAttention(int tab) | void | showHidePinButton() | public int | tabForCoordinate(Point p) | public void | uninstallUI(JComponent c) | public void | unregisterShortcuts(JComponent comp) |
controller | protected Controller controller(Code) | | |
cancelRequestAttention | protected void cancelRequestAttention(int tab)(Code) | | |
createController | protected Controller createController()(Code) | | |
createImageOfTab | public Image createImageOfTab(int index)(Code) | | Paints the rectangle occupied by a tab into an image and returns the result
|
createRepaintPolicy | protected int createRepaintPolicy()(Code) | | |
dropIndexOfPoint | public int dropIndexOfPoint(Point p)(Code) | | |
getControlButtons | protected Component getControlButtons()(Code) | | A component that holds all control buttons (maximize/restor, slide/pin, close) that are displayed in the active tab or null ifcontrol buttons are not supported. |
getController | public Controller getController()(Code) | | |
getExactTabIndication | public Polygon getExactTabIndication(int index)(Code) | | |
getInsertTabIndication | public Polygon getInsertTabIndication(int index)(Code) | | |
getTxtFont | protected Font getTxtFont()(Code) | | Specifies font to use for text and font metrics. Subclasses may override
to specify their own text font
|
installControlButtons | protected void installControlButtons()(Code) | | |
isActive | final protected boolean isActive()(Code) | | |
isAttention | protected boolean isAttention(int tab)(Code) | | Determine if the tab should be flashing
|
isFocused | final protected boolean isFocused(int index)(Code) | | |
isSelected | final protected boolean isSelected(int index)(Code) | | |
paintTabBackground | abstract protected void paintTabBackground(Graphics g, int index, int x, int y, int width, int height)(Code) | | |
paintTabBorder | abstract protected void paintTabBorder(Graphics g, int index, int x, int y, int width, int height)(Code) | | |
paintTabContent | abstract protected void paintTabContent(Graphics g, int index, String text, int x, int y, int width, int height)(Code) | | |
registerShortcuts | public void registerShortcuts(JComponent comp)(Code) | | Registers shortcut for enable/ disable auto-hide functionality
|
requestAttention | protected void requestAttention(int tab)(Code) | | |
showHidePinButton | void showHidePinButton()(Code) | | |
tabForCoordinate | public int tabForCoordinate(Point p)(Code) | | |
unregisterShortcuts | public void unregisterShortcuts(JComponent comp)(Code) | | Registers shortcut for enable/ disable auto-hide functionality
|
|
|