|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.event.MouseAdapter
com.isti.util.gui.TabCloseIcon.TabCloseIconMouseListener
The mouse listener for all tab close icons.
| Constructor Summary | |
protected |
TabCloseIcon.TabCloseIconMouseListener()
|
| Method Summary | |
protected void |
addMenuItem(javax.swing.JPopupMenu pop,
javax.swing.JMenuItem mi)
Adds the menu item to the popup menu. |
protected void |
addMenuItems(javax.swing.JPopupMenu pop,
java.lang.String curTitle)
Adds the menu item to the popup menu. |
void |
checkAddListenerToComp(java.awt.Component compObj)
Checks if this listener was previously added to the given component and adds it if not. |
protected boolean |
getTabInfo(java.awt.event.MouseEvent e)
Get the tab information. |
protected void |
maybeShowPopup(java.awt.event.MouseEvent e)
Show the popup if the event is a popup trigger. |
void |
mousePressed(java.awt.event.MouseEvent e)
Invoked when a mouse button has been pressed on a component. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Invoked when a mouse button has been released on a component. |
| Methods inherited from class java.awt.event.MouseAdapter |
mouseClicked, mouseEntered, mouseExited |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected TabCloseIcon.TabCloseIconMouseListener()
| Method Detail |
public void mousePressed(java.awt.event.MouseEvent e)
e - the MouseEvent.public void mouseReleased(java.awt.event.MouseEvent e)
e - the MouseEvent.public void checkAddListenerToComp(java.awt.Component compObj)
compObj - Component object to use.
protected void addMenuItem(javax.swing.JPopupMenu pop,
javax.swing.JMenuItem mi)
pop - the popup menu.mi - the menu item.
protected void addMenuItems(javax.swing.JPopupMenu pop,
java.lang.String curTitle)
pop - the popup menu.curTitle - the current title.protected boolean getTabInfo(java.awt.event.MouseEvent e)
e - the MouseEvent.
protected void maybeShowPopup(java.awt.event.MouseEvent e)
e - the MouseEvent.getCurrentInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||