org.noos.xing.mydoggy.plaf.ui.look
Class ToolWindowTitleBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.noos.xing.mydoggy.plaf.ui.look.ToolWindowTitleBarUI
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, Cleaner
public class ToolWindowTitleBarUI
- extends PanelUI
- implements Cleaner, PropertyChangeListener
- Author:
- Angelo De Caro
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toolWindow
protected org.noos.xing.mydoggy.ToolWindow toolWindow
descriptor
protected ToolWindowDescriptor descriptor
animBackStart
protected MutableColor animBackStart
animBackEnd
protected MutableColor animBackEnd
animTextColor
protected MutableColor animTextColor
toolWindowTitleBar
protected ToolWindowTitleBar toolWindowTitleBar
toolWindowTitleBarLayout
protected ExtendedTableLayout toolWindowTitleBarLayout
titleBarMouseAdapter
protected MouseListener titleBarMouseAdapter
animation
protected ToolWindowTitleBarUI.GradientAnimation animation
flashingTimer
protected Timer flashingTimer
flasingDuration
protected int flasingDuration
flashingState
protected boolean flashingState
flashingAnimation
protected AbstractAnimation flashingAnimation
removeNotifyDragListener
protected RemoveNotifyDragListener removeNotifyDragListener
popupUpdaterList
protected List<PopupUpdater> popupUpdaterList
ToolWindowTitleBarUI
public ToolWindowTitleBarUI()
createUI
public static ComponentUI createUI(JComponent c)
cleanup
public void cleanup()
- Specified by:
cleanup in interface Cleaner
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange in interface PropertyChangeListener
installUI
public void installUI(JComponent c)
- Overrides:
installUI in class ComponentUI
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
uninstallUI in class ComponentUI
paint
public void paint(Graphics g,
JComponent c)
- Overrides:
paint in class ComponentUI
installDefaults
protected void installDefaults(JComponent c)
uninstallDefaults
protected void uninstallDefaults(JComponent c)
installListeners
protected void installListeners(JComponent c)
uninstallListeners
protected void uninstallListeners(JComponent c)
installComponents
protected void installComponents()
setIdOnTitleBarVisible
protected void setIdOnTitleBarVisible(boolean visible)
updateToolWindowTitleBar
protected void updateToolWindowTitleBar(Graphics g,
JComponent c,
Color backgroundStart,
Color backgroundEnd,
Color idBackgroundColor,
Color idColor)
getTitleWidth
protected int getTitleWidth(Graphics g)
Copyright © 2012. All Rights Reserved.