Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.paradoxpoint.libitina.gui
Class JTabbedPaneHelper  view JTabbedPaneHelper download JTabbedPaneHelper.java

java.lang.Object
  extended bycom.paradoxpoint.libitina.gui.JTabbedPaneHelper

public final class JTabbedPaneHelper
extends java.lang.Object

Allows selection and index retrieve in JTabbedPanes based on tab title


Constructor Summary
JTabbedPaneHelper()
           
 
Method Summary
static int getTitleIndex(javax.swing.JTabbedPane pane, java.lang.String title, boolean ignoreCase)
          Returns the index of the tab with the title in the given pane
static void setSelectedTabTitle(javax.swing.JTabbedPane pane, java.lang.String title, boolean ignoreCase)
          Selects the tab with the given title in the pane
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTabbedPaneHelper

public JTabbedPaneHelper()
Method Detail

getTitleIndex

public static int getTitleIndex(javax.swing.JTabbedPane pane,
                                java.lang.String title,
                                boolean ignoreCase)
Returns the index of the tab with the title in the given pane


setSelectedTabTitle

public static void setSelectedTabTitle(javax.swing.JTabbedPane pane,
                                       java.lang.String title,
                                       boolean ignoreCase)
Selects the tab with the given title in the pane