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

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

public class ContentRepresentativeAnchorUI
extends MetalLabelUI
implements Cleaner

Author:
Angelo De Caro

Nested Class Summary
 class ContentRepresentativeAnchorUI.GradientAnimation
           
 class ContentRepresentativeAnchorUI.RepresentativeAnchorMouseAdapter
           
 
Field Summary
protected  ContentRepresentativeAnchorUI.RepresentativeAnchorMouseAdapter adapter
           
protected  ContentRepresentativeAnchor contentRepresentativeAnchor
           
protected  DockableDescriptor descriptor
           
protected  org.noos.xing.mydoggy.Dockable dockable
           
protected  AbstractAnimation flashingAnimation
           
protected  MutableColor flashingAnimBackEnd
           
protected  MutableColor flashingAnimBackStart
           
protected  boolean flashingState
           
protected  Timer flashingTimer
           
protected  int flasingDuration
           
protected  LineBorder labelBorder
           
protected  RemoveNotifyDragListener removeNotifyDragListener
           
 
Fields inherited from class javax.swing.plaf.metal.MetalLabelUI
metalLabelUI
 
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI
labelUI
 
Constructor Summary
ContentRepresentativeAnchorUI()
           
 
Method Summary
 void cleanup()
           
static ComponentUI createUI(JComponent c)
           
protected  void installDefaults(JLabel c)
           
protected  void installListeners(JLabel c)
           
 void installUI(JComponent c)
           
 void propertyChange(PropertyChangeEvent e)
           
protected  void uninstallListeners(JLabel c)
           
 void uninstallUI(JComponent c)
           
 void update(Graphics g, JComponent c)
           
protected  void updateAnchor(Graphics g, JComponent c, Color backgroundStart, Color backgroundEnd, boolean active, boolean flashing)
           
 
Methods inherited from class javax.swing.plaf.metal.MetalLabelUI
paintDisabledText
 
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installKeyboardActions, layoutCL, paint, paintEnabledText, 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

contentRepresentativeAnchor

protected ContentRepresentativeAnchor contentRepresentativeAnchor

labelBorder

protected LineBorder labelBorder

descriptor

protected DockableDescriptor descriptor

dockable

protected org.noos.xing.mydoggy.Dockable dockable

adapter

protected ContentRepresentativeAnchorUI.RepresentativeAnchorMouseAdapter adapter

flashingTimer

protected Timer flashingTimer

flasingDuration

protected int flasingDuration

flashingState

protected boolean flashingState

flashingAnimBackStart

protected MutableColor flashingAnimBackStart

flashingAnimBackEnd

protected MutableColor flashingAnimBackEnd

flashingAnimation

protected AbstractAnimation flashingAnimation

removeNotifyDragListener

protected RemoveNotifyDragListener removeNotifyDragListener
Constructor Detail

ContentRepresentativeAnchorUI

public ContentRepresentativeAnchorUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

propertyChange

public void propertyChange(PropertyChangeEvent e)
Specified by:
propertyChange in interface PropertyChangeListener
Overrides:
propertyChange in class BasicLabelUI

cleanup

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

installUI

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

uninstallUI

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

update

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

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

updateAnchor

protected void updateAnchor(Graphics g,
                            JComponent c,
                            Color backgroundStart,
                            Color backgroundEnd,
                            boolean active,
                            boolean flashing)


Copyright © 2012. All Rights Reserved.