Searched defs:tabIndex (Results 1 - 23 of 23) sorted by relevance

/openjdk7/jdk/test/javax/swing/JTabbedPane/6670274/
H A Dbug6670274.java82 public View getTextViewForTab(int tabIndex) { argument
83 return super.getTextViewForTab(tabIndex);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneContrastUI.java50 protected void paintTitle(final Graphics2D g2d, final Font font, final FontMetrics metrics, final Rectangle textRect, final int tabIndex, final String title) { argument
51 final View v = getTextViewForTab(tabIndex);
59 final Color color = tabPane.getForegroundAt(tabIndex);
62 if (tabPane.getSelectedIndex() == tabIndex) {
63 boolean pressed = isPressedAt(tabIndex);
64 boolean enabled = tabPane.isEnabled() && tabPane.isEnabledAt(tabIndex);
H A DAquaTabbedPaneUI.java221 protected int getTabLabelShiftX(final int tabPlacement, final int tabIndex, final boolean isSelected) { argument
222 final Rectangle tabRect = (tabIndex >= 0 ? rects[tabIndex] : visibleTabState.getRightScrollTabRect());
237 protected int getTabLabelShiftY(final int tabPlacement, final int tabIndex, final boolean isSelected) { argument
249 protected Icon getIconForScrollTab(final int tabPlacement, final int tabIndex, final boolean enabled) { argument
254 int direction = tabIndex == -1 ? EAST : WEST;
269 protected void paintContents(final Graphics g, final int tabPlacement, final int tabIndex, final Rectangle tabRect, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) { argument
276 if (isScrollTabIndex(tabIndex)) {
279 icon = getIconForScrollTab(tabPlacement, tabIndex, true);
281 component = getTabComponentAt(tabIndex);
336 paintTitle(final Graphics2D g2d, final Font font, final FontMetrics metrics, final Rectangle textRect, final int tabIndex, final String title) argument
408 paintTabNormal(final Graphics g, final int tabPlacement, final int tabIndex, final boolean active, final boolean frameActive, final boolean isLeftToRight) argument
612 getIconForTab(final int tabIndex) argument
727 getTabInsets(final int tabPlacement, final int tabIndex) argument
736 calculateTabHeight(final int tabPlacement, final int tabIndex, final int fontHeight) argument
[all...]
H A DAquaTabbedPaneCopyFromBasicUI.java807 protected void paintTab(final Graphics g, final int tabPlacement, final Rectangle[] rects, final int tabIndex, final Rectangle iconRect, final Rectangle textRect) { argument
808 final Rectangle tabRect = rects[tabIndex];
810 final boolean isSelected = selectedIndex == tabIndex;
813 paintTabBackground(g, tabPlacement, tabIndex, tabRect.x, tabRect.y, tabRect.width, tabRect.height, isSelected);
816 paintTabBorder(g, tabPlacement, tabIndex, tabRect.x, tabRect.y, tabRect.width, tabRect.height, isSelected);
818 final String title = tabPane.getTitleAt(tabIndex);
821 final Icon icon = getIconForTab(tabIndex);
823 layoutLabel(tabPlacement, metrics, tabIndex, title, icon, tabRect, iconRect, textRect, isSelected);
825 if (tabPane.getTabComponentAt(tabIndex) == null) {
828 if (scrollableTabLayoutEnabled() && tabScroller.croppedEdge.isParamsSet() && tabScroller.croppedEdge.getTabIndex() == tabIndex
962 layoutLabel(final int tabPlacement, final FontMetrics metrics, final int tabIndex, final String title, final Icon icon, final Rectangle tabRect, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) argument
982 paintIcon(final Graphics g, final int tabPlacement, final int tabIndex, final Icon icon, final Rectangle iconRect, final boolean isSelected) argument
988 paintText(final Graphics g, final int tabPlacement, final Font font, final FontMetrics metrics, final int tabIndex, final String title, final Rectangle textRect, final boolean isSelected) argument
1021 getTabLabelShiftX(final int tabPlacement, final int tabIndex, final boolean isSelected) argument
1039 getTabLabelShiftY(final int tabPlacement, final int tabIndex, final boolean isSelected) argument
1058 paintFocusIndicator(final Graphics g, final int tabPlacement, final Rectangle[] rects, final int tabIndex, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) argument
1098 paintTabBorder(final Graphics g, final int tabPlacement, final int tabIndex, final int x, final int y, final int w, final int h, final boolean isSelected) argument
1155 paintTabBackground(final Graphics g, final int tabPlacement, final int tabIndex, final int x, final int y, final int w, final int h, boolean isSelected) argument
1418 getTabBounds(final int tabIndex, final Rectangle dest) argument
1528 getRunForTab(final int tabCount, final int tabIndex) argument
1566 getIconForTab(final int tabIndex) argument
1581 getTextViewForTab(final int tabIndex) argument
1588 calculateTabHeight(final int tabPlacement, final int tabIndex, final int fontHeight) argument
1624 calculateTabWidth(final int tabPlacement, final int tabIndex, final FontMetrics metrics) argument
1670 getTabInsets(final int tabPlacement, final int tabIndex) argument
1809 selectAdjacentRunTab(final int tabPlacement, final int tabIndex, final int offset) argument
1882 getTabRunOffset(final int tabPlacement, final int tabCount, final int tabIndex, final boolean forward) argument
3631 private int tabIndex; field in class:AquaTabbedPaneCopyFromBasicUI.CroppedEdge
3639 setParams(final int tabIndex, final int cropline, final int cropx, final int cropy) argument
[all...]
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLButtonElement.java81 public void setTabIndex(int tabIndex); argument
H A DHTMLAreaElement.java98 public void setTabIndex(int tabIndex); argument
H A DHTMLSelectElement.java124 public void setTabIndex(int tabIndex); argument
H A DHTMLTextAreaElement.java110 public void setTabIndex(int tabIndex); argument
H A DHTMLAnchorElement.java115 public void setTabIndex(int tabIndex); argument
H A DHTMLInputElement.java172 public void setTabIndex(int tabIndex); argument
H A DHTMLObjectElement.java151 public void setTabIndex(int tabIndex); argument
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifTabbedPaneUI.java158 int tabPlacement, int tabIndex,
161 g.setColor(isSelected? tabPane.getBackgroundAt(tabIndex) : unselectedTabBackground);
184 int tabPlacement, int tabIndex,
235 Rectangle[] rects, int tabIndex,
238 Rectangle tabRect = rects[tabIndex];
157 paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected ) argument
183 paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) argument
234 paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) argument
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsTabbedPaneUI.java157 protected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, argument
160 super.paintTabBackground(g, tabPlacement, tabIndex, x, y, w, h, isSelected);
164 protected void paintTabBorder(Graphics g, int tabPlacement, int tabIndex, argument
171 int tabRun = getRunForTab(tabCount, tabIndex);
172 if (tabRuns[tabRun] == tabIndex) {
174 } else if (tabCount > 1 && lastTabInRun(tabCount, tabRun) == tabIndex) {
191 } else if (tabIndex == getRolloverTab()) {
197 super.paintTabBorder(g, tabPlacement, tabIndex, x, y, w, h, isSelected);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalTabbedPaneUI.java97 int tabIndex, int x, int y, int w, int h,
104 paintLeftTabBorder(tabIndex, g, x, y, w, h, bottom, right, isSelected);
107 paintBottomTabBorder(tabIndex, g, x, y, w, h, bottom, right, isSelected);
110 paintRightTabBorder(tabIndex, g, x, y, w, h, bottom, right, isSelected);
114 paintTopTabBorder(tabIndex, g, x, y, w, h, bottom, right, isSelected);
119 protected void paintTopTabBorder( int tabIndex, Graphics g, argument
123 int currentRun = getRunForTab( tabPane.getTabCount(), tabIndex );
135 if (shouldFillGap( currentRun, tabIndex, x, y ) ) {
173 if ( tabIndex==lastIndex ) {
178 if (ocean && tabIndex
96 paintTabBorder( Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) argument
289 shouldFillGap( int currentRun, int tabIndex, int x, int y ) argument
352 paintLeftTabBorder( int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected ) argument
469 paintBottomTabBorder( int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected ) argument
626 paintRightTabBorder( int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected ) argument
727 paintTabBackground( Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected ) argument
781 getTabLabelShiftX( int tabPlacement, int tabIndex, boolean isSelected ) argument
789 getTabLabelShiftY( int tabPlacement, int tabIndex, boolean isSelected ) argument
851 paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTabbedPaneUI.java303 int tabIndex = tabForCoordinate(tabPane, e.getX(), e.getY());
304 if (tabIndex >= 0 && tabPane.isEnabledAt(tabIndex)) {
305 if (tabIndex == tabPane.getSelectedIndex()) {
339 protected int getTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected) { argument
341 return super.getTabLabelShiftX(tabPlacement, tabIndex, isSelected);
351 protected int getTabLabelShiftY(int tabPlacement, int tabIndex, boolean isSelected) { argument
353 return super.getTabLabelShiftY(tabPlacement, tabIndex, isSelected);
589 int tabPlacement, Rectangle[] rects, int tabIndex,
591 Rectangle tabRect = rects[tabIndex];
588 paintTab(SynthContext ss, Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect) argument
656 layoutLabel(SynthContext ss, int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected ) argument
683 paintText(SynthContext ss, Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) argument
772 calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics) argument
819 getTabInsets(int tabPlacement, int tabIndex) argument
[all...]
H A DImagePainter.java776 int tabIndex) {
782 int tabIndex, int orientation) {
788 int tabIndex) {
794 int tabIndex, int orientation) {
774 paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) argument
780 paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) argument
786 paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) argument
792 paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) argument
H A DParsedSynthStyle.java1038 int w, int h, int tabIndex) {
1041 x, y, w, h, tabIndex);
1047 int w, int h, int tabIndex,
1051 x, y, w, h, tabIndex,
1058 int tabIndex) {
1061 x, y, w, h, tabIndex);
1067 int tabIndex, int orientation) {
1070 x, y, w, h, tabIndex,
1944 Graphics g, int x, int y, int w, int h, int tabIndex,
1947 paintTabbedPaneTabBackground(context, g, x, y, w, h, tabIndex,
1036 paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) argument
1045 paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) argument
1056 paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) argument
1065 paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) argument
1943 paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int direction) argument
1957 paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int direction) argument
[all...]
H A DSynthPainter.java1751 * @param tabIndex Index of tab being painted.
1755 int tabIndex) {
1769 * @param tabIndex Index of tab being painted.
1778 int tabIndex, int orientation) {
1779 paintTabbedPaneTabBackground(context, g, x, y, w, h, tabIndex);
1792 * @param tabIndex Index of tab being painted.
1796 int tabIndex) {
1810 * @param tabIndex Index of tab being painted.
1819 int tabIndex, int orientation) {
1820 paintTabbedPaneTabBorder(context, g, x, y, w, h, tabIndex);
1753 paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) argument
1776 paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) argument
1794 paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) argument
1817 paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKPainter.java874 int tabIndex) {
884 id, gtkState, placement, tabIndex)) {
887 id, gtkState, placement, tabIndex);
889 ShadowType.OUT, "tab", x, y, w, h, side, tabIndex);
871 paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) argument
H A DGTKEngine.java432 int x, int y, int w, int h, PositionType placement, int tabIndex) {
430 paintExtension(Graphics g, SynthContext context, Region id, int state, ShadowType shadowType, String detail, int x, int y, int w, int h, PositionType placement, int tabIndex) argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DSynthPainterImpl.java2071 * @param tabIndex Index of tab being painted.
2075 int tabIndex) {
2090 * @param tabIndex Index of tab being painted.
2099 int tabIndex, int orientation) {
2131 * @param tabIndex Index of tab being painted.
2135 int tabIndex) {
2150 * @param tabIndex Index of tab being painted.
2159 int tabIndex, int orientation) {
2073 paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) argument
2097 paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) argument
2133 paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex) argument
2157 paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) argument
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTabbedPane.java1234 * @param tabIndex the index of the tab that the mnemonic refers to
1238 * (<code>tabIndex</code> &lt; 0 ||
1239 * <code>tabIndex</code> &gt;= tab count)
1243 public int getMnemonicAt(int tabIndex) { argument
1244 checkIndex(tabIndex);
1246 Page page = pages.get(tabIndex);
1255 * @param tabIndex the index of the tab that the mnemonic refers to
1259 * (<code>tabIndex</code> &lt; 0 ||
1260 * <code>tabIndex</code> &gt;= tab count)
1264 public int getDisplayedMnemonicIndexAt(int tabIndex) { argument
1622 setDisplayedMnemonicIndexAt(int tabIndex, int mnemonicIndex) argument
1662 setMnemonicAt(int tabIndex, int mnemonic) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTabbedPaneUI.java848 Rectangle[] rects, int tabIndex,
850 Rectangle tabRect = rects[tabIndex];
852 boolean isSelected = selectedIndex == tabIndex;
855 paintTabBackground(g, tabPlacement, tabIndex, tabRect.x, tabRect.y,
859 paintTabBorder(g, tabPlacement, tabIndex, tabRect.x, tabRect.y,
862 String title = tabPane.getTitleAt(tabIndex);
865 Icon icon = getIconForTab(tabIndex);
867 layoutLabel(tabPlacement, metrics, tabIndex, title, icon,
870 if (tabPane.getTabComponentAt(tabIndex) == null) {
874 tabScroller.croppedEdge.getTabIndex() == tabIndex
847 paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect) argument
1015 layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected ) argument
1048 paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected ) argument
1056 paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) argument
1100 getTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected) argument
1118 getTabLabelShiftY(int tabPlacement, int tabIndex, boolean isSelected) argument
1135 paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) argument
1178 paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected ) argument
1238 paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected ) argument
1533 getTabBounds(int tabIndex, Rectangle dest) argument
1650 getRunForTab(int tabCount, int tabIndex) argument
1688 getIconForTab(int tabIndex) argument
1704 getTextViewForTab(int tabIndex) argument
1711 calculateTabHeight(int tabPlacement, int tabIndex, int fontHeight) argument
1747 calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics) argument
1799 getTabInsets(int tabPlacement, int tabIndex) argument
1941 selectAdjacentRunTab(int tabPlacement, int tabIndex, int offset) argument
2019 getTabRunOffset(int tabPlacement, int tabCount, int tabIndex, boolean forward) argument
3866 private int tabIndex; field in class:BasicTabbedPaneUI.CroppedEdge
3874 setParams(int tabIndex, int cropline, int cropx, int cropy) argument
[all...]

Completed in 163 milliseconds