common.gui.blame
Class BasicBlamePaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
common.gui.blame.BlamePaneUI
common.gui.blame.BasicBlamePaneUI
- All Implemented Interfaces:
- java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener, javax.swing.event.ChangeListener
public class BasicBlamePaneUI
- extends BlamePaneUI
- implements javax.swing.event.ChangeListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
UI for the BlamePane to be displayed left of the right scroll bar of the
main text area.
| Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicBlamePaneUI
public BasicBlamePaneUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI in class javax.swing.plaf.ComponentUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI in class javax.swing.plaf.ComponentUI
installDefaults
public void installDefaults()
installComponents
public void installComponents()
installListeners
public void installListeners()
uninstallDefaults
public void uninstallDefaults()
uninstallComponents
public void uninstallComponents()
uninstallListeners
public void uninstallListeners()
createLayoutManager
protected java.awt.LayoutManager createLayoutManager()
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent event)
- Specified by:
stateChanged in interface javax.swing.event.ChangeListener
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- On mouse click on the BlamePane, move the cursor in the text area to the
corresponding line. This makes line highlight (if turned on) line up
nicely with the appropriate line in the BlamePane.
- Specified by:
mouseClicked in interface java.awt.event.MouseListener
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered in interface java.awt.event.MouseListener
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited in interface java.awt.event.MouseListener
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed in interface java.awt.event.MouseListener
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased in interface java.awt.event.MouseListener
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
- Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener