站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

WinVistaViewTabDisplayerUI (Tab Control) - NetBeans API Javadoc (Current Development Version)

org.netbeans.swing.tabcontrol 1.8

org.netbeans.swing.tabcontrol.plaf
Class WinVistaViewTabDisplayerUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by org.netbeans.swing.tabcontrol.TabDisplayerUI
          extended by org.netbeans.swing.tabcontrol.plaf.AbstractViewTabDisplayerUI
              extended by org.netbeans.swing.tabcontrol.plaf.WinVistaViewTabDisplayerUI

public final class WinVistaViewTabDisplayerUI
extends AbstractViewTabDisplayerUI

Win Vista-like user interface of view type tabs.


Field Summary
 
Fields inherited from class org.netbeans.swing.tabcontrol.plaf.AbstractViewTabDisplayerUI
controller, tabState
 
Fields inherited from class org.netbeans.swing.tabcontrol.TabDisplayerUI
displayer, selectionModel
 
Method Summary
protected  org.netbeans.swing.tabcontrol.plaf.AbstractViewTabDisplayerUI.Controller createController()
           
static ComponentUI createUI(JComponent c)
           
 Icon getButtonIcon(int buttonId, int buttonState)
           
 Dimension getPreferredSize(JComponent c)
           
protected  Font getTxtFont()
          Override to bold font
 void installUI(JComponent c)
           
protected  void paintTabBackground(Graphics g, int index, int x, int y, int width, int height)
           
protected  void paintTabBorder(Graphics g, int index, int x, int y, int width, int height)
           
protected  void paintTabContent(Graphics g, int index, String text, int x, int y, int width, int height)
           
 void postTabAction(TabActionEvent e)
           
 
Methods inherited from class org.netbeans.swing.tabcontrol.plaf.AbstractViewTabDisplayerUI
cancelRequestAttention, createImageOfTab, createRepaintPolicy, createSelectionModel, dropIndexOfPoint, getControlButtons, getController, getDataModel, getDisplayer, getExactTabIndication, getInsertTabIndication, getLayoutModel, getSelectionModel, getTabRect, getTxtFontMetrics, installControlButtons, isActive, isAttention, isFocused, isSelected, paint, registerShortcuts, requestAttention, tabForCoordinate, uninstallUI, unregisterShortcuts
 
Methods inherited from class org.netbeans.swing.tabcontrol.TabDisplayerUI
makeTabVisible, shouldPerformAction
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent c)
Overrides:
installUI in class AbstractViewTabDisplayerUI

createController

protected org.netbeans.swing.tabcontrol.plaf.AbstractViewTabDisplayerUI.Controller createController()
Overrides:
createController in class AbstractViewTabDisplayerUI

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class ComponentUI

paintTabContent

protected void paintTabContent(Graphics g,
                               int index,
                               String text,
                               int x,
                               int y,
                               int width,
                               int height)
Specified by:
paintTabContent in class AbstractViewTabDisplayerUI

paintTabBorder

protected void paintTabBorder(Graphics g,
                              int index,
                              int x,
                              int y,
                              int width,
                              int height)
Specified by:
paintTabBorder in class AbstractViewTabDisplayerUI

paintTabBackground

protected void paintTabBackground(Graphics g,
                                  int index,
                                  int x,
                                  int y,
                                  int width,
                                  int height)
Specified by:
paintTabBackground in class AbstractViewTabDisplayerUI

getTxtFont

protected Font getTxtFont()
Override to bold font

Overrides:
getTxtFont in class AbstractViewTabDisplayerUI

getButtonIcon

public Icon getButtonIcon(int buttonId,
                          int buttonState)
Specified by:
getButtonIcon in class TabDisplayerUI

postTabAction

public void postTabAction(TabActionEvent e)
Overrides:
postTabAction in class TabDisplayerUI

org.netbeans.swing.tabcontrol 1.8

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.