org.noos.xing.mydoggy.plaf.ui.look
Class ToolWindowTabTitleUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.LabelUI
          extended by javax.swing.plaf.basic.BasicLabelUI
              extended by org.noos.xing.mydoggy.plaf.ui.look.ToolWindowTabTitleUI
All Implemented Interfaces:
MouseListener, PropertyChangeListener, EventListener, Cleaner

public class ToolWindowTabTitleUI
extends BasicLabelUI
implements MouseListener, Cleaner

Author:
Angelo De Caro (angelo.decaro@gmail.com)

Field Summary
protected  boolean inside
           
protected  boolean pressed
           
protected  org.noos.xing.mydoggy.ToolWindowTab tab
           
protected  org.noos.xing.mydoggy.ToolWindow toolWindow
           
protected  ToolWindowTabTitle toolWindowTabTitle
           
 
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI
labelUI
 
Constructor Summary
ToolWindowTabTitleUI()
           
 
Method Summary
 void cleanup()
           
static ComponentUI createUI(JComponent c)
           
protected  void installDefaults(JLabel c)
           
protected  void installListeners(JLabel c)
           
 void installUI(JComponent c)
           
 void mouseClicked(MouseEvent e)
           
 void mouseEntered(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
protected  void paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)
           
protected  void uninstallListeners(JLabel c)
           
 void uninstallUI(JComponent c)
           
 void update(Graphics g, JComponent c)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installKeyboardActions, layoutCL, paint, paintDisabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tab

protected org.noos.xing.mydoggy.ToolWindowTab tab

toolWindow

protected org.noos.xing.mydoggy.ToolWindow toolWindow

toolWindowTabTitle

protected ToolWindowTabTitle toolWindowTabTitle

pressed

protected boolean pressed

inside

protected boolean inside
Constructor Detail

ToolWindowTabTitleUI

public ToolWindowTabTitleUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

cleanup

public void cleanup()
Specified by:
cleanup in interface Cleaner

mousePressed

public void mousePressed(MouseEvent e)
Specified by:
mousePressed in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent e)
Specified by:
mouseReleased in interface MouseListener

mouseEntered

public void mouseEntered(MouseEvent e)
Specified by:
mouseEntered in interface MouseListener

mouseExited

public void mouseExited(MouseEvent e)
Specified by:
mouseExited in interface MouseListener

mouseClicked

public void mouseClicked(MouseEvent e)
Specified by:
mouseClicked in interface MouseListener

installUI

public void installUI(JComponent c)
Overrides:
installUI in class BasicLabelUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class BasicLabelUI

installDefaults

protected void installDefaults(JLabel c)
Overrides:
installDefaults in class BasicLabelUI

installListeners

protected void installListeners(JLabel c)
Overrides:
installListeners in class BasicLabelUI

uninstallListeners

protected void uninstallListeners(JLabel c)
Overrides:
uninstallListeners in class BasicLabelUI

update

public void update(Graphics g,
                   JComponent c)
Overrides:
update in class ComponentUI

paintEnabledText

protected void paintEnabledText(JLabel l,
                                Graphics g,
                                String s,
                                int textX,
                                int textY)
Overrides:
paintEnabledText in class BasicLabelUI


Copyright © 2012. All Rights Reserved.