net.simplace.ui.tabview.FWTabViewPane

TabbedPane with quick-dispose buttons and rollover effects. CAUTION: Only supports TOP tabplacement !


public final class FWTabViewPane extends javax.swing.JTabbedPane implements
java.awt.event.MouseMotionListener, java.awt.event.MouseListener {
// Public Constructors
public FWTabViewPane(boolean aQuickDisposeEnabled);
public FWTabViewPane(boolean aQuickDisposeEnabled, boolean aIgnoreFirstTab);

// Constants
public static final int BUTTON_UNASSIGNED;
public static final int BUTTON_DEFAULT;
public static final int BUTTON_ROLLOVER;
public static final int BUTTON_PRESSED;
// Protected Instance Variables
protected EventListenerList iListenerList;

// Public Instance Methods
public Color getBackgroundAt(int aIndex); // Overrides
javax.swing.JTabbedPane


(non-Javadoc)
public Color getForegroundAt(int aIndex); // Overrides
javax.swing.JTabbedPane


(non-Javadoc)
public int getActiveTabIndex();


returns index of the active Tab
public int getButtonState();


returns Button state
public void mouseMoved(MouseEvent aMouseEvent); // From
java.awt.event.MouseMotionListener


(non-Javadoc)
public void mouseDragged(MouseEvent aMouseEvent);
// From java.awt.event.MouseMotionListener


(non-Javadoc)
public void mouseExited(MouseEvent aMouseEvent); // From
java.awt.event.MouseListener


(non-Javadoc)
public void mouseReleased(MouseEvent aMouseEvent); // From
java.awt.event.MouseListener


(non-Javadoc)
public void mousePressed(MouseEvent aMouseEvent); // From
java.awt.event.MouseListener


(non-Javadoc)
public void mouseClicked(MouseEvent aMouseEvent); // From
java.awt.event.MouseListener


(non-Javadoc)
public void mouseEntered(MouseEvent aMouseEvent); // From
java.awt.event.MouseListener


(non-Javadoc)
public void addTab(String aTitle, Component component);
// Overrides javax.swing.JTabbedPane


Overrinding super
public void addTab(String aTitle, Icon icon, Component component);
// Overrides javax.swing.JTabbedPane


Overrinding super
public void addTab(String aTitle, Icon icon, Component component, String tip);
// Overrides javax.swing.JTabbedPane


Overrinding super
public void insertTab(String aTitle, Icon aIcon, Component aComponent,
String aTip, int aIndex); // Overrides javax.swing.JTabbedPane

public void addActionListener(ActionListener aActionListener);

Adds a Listener to track tab actions.
public void removeActionListener(ActionListener aActionListener);

Removes the given Listener from the list.
public boolean hasFocus(); // Defines java.awt.Component

Always show the focus border on the selected tab.
public boolean isIgnoreFirstTab();


returns Returns the ignoreFirstTab.

// Protected Instance Methods
protected void fireActionPerformed(String aActionCommand);

Process the listeners last to first, notifying those that are interested in this event


}



Hierarchy: java.lang.Object - java.awt.Component (java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable) - java.awt.Container - javax.swing.JComponent (java.io.Serializable, javax.swing.TransferHandler.HasGetTransferHandler) - javax.swing.JTabbedPane (java.io.Serializable, javax.accessibility.Accessible, javax.swing.SwingConstants) - FWTabViewPane (java.awt.event.MouseMotionListener, java.awt.event.MouseListener)



Passed to: FWTabButtonComponent.FWTabButtonComponent()



Type of: FWTabView.iTabbedPane