|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vlsolutions.swing.tabbedpane.JTabbedPaneSmartIconManager
public class JTabbedPaneSmartIconManager
This class is the interface between a JTabbedPane and a smart icon.
As JTabbedPanes cannot use any JComponents as tab selectors (the access if protected and we just have a label, an icon and a tooltip), we have to rely on tricks to bypass them.
This class is used (with a mouse listener) to forward events into the smart icon. which is responsible for faking an enhanced tab selector (including label and optional buttons).
Constructor Summary | |
---|---|
JTabbedPaneSmartIconManager(javax.swing.JTabbedPane tabbedPane)
Constructs a new tabbedPane manager for a given JTabbedPane |
Method Summary | |
---|---|
void |
mouseClicked(java.awt.event.MouseEvent e)
MouseListener implementation, not used. |
void |
mouseDragged(java.awt.event.MouseEvent e)
MouseMotionListener implementation, not used. |
void |
mouseEntered(java.awt.event.MouseEvent e)
MouseListener implementation, not used. |
void |
mouseExited(java.awt.event.MouseEvent e)
MouseListener implementation, use to track mouse behaviour inside the tab selector bounds and forward them to the appropriate smart icon. |
void |
mouseMoved(java.awt.event.MouseEvent e)
MouseListener implementation, use to track mouse behaviour inside the tab selector bounds and forward them to the appropriate smart icon. |
void |
mousePressed(java.awt.event.MouseEvent e)
MouseListener implementation, use to track mouse behaviour inside the tab selector bounds and forward them to the appropriate smart icon. |
void |
mouseReleased(java.awt.event.MouseEvent e)
MouseListener implementation, use to track mouse behaviour inside the tab selector bounds and forward them to the appropriate smart icon. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTabbedPaneSmartIconManager(javax.swing.JTabbedPane tabbedPane)
Method Detail |
---|
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |