com.imagero.gui.flowin.plaf
Class WindowsTitleBarUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended bycom.imagero.gui.flowin.plaf.TitleBarUI
          extended bycom.imagero.gui.flowin.plaf.BasicTitleBarUI
              extended bycom.imagero.gui.flowin.plaf.WindowsTitleBarUI

public class WindowsTitleBarUI
extends BasicTitleBarUI


Field Summary
 
Fields inherited from class com.imagero.gui.flowin.plaf.TitleBarUI
closeIcon, closeIconOver, closeIconPressed, dockIcon, dockIconOver, dockIconPressed, maxIcon, maxIconOver, maxIconPressed, minIcon, minIconOver, minIconPressed, paletteCloseIcon, paletteCloseIconOver, paletteCloseIconPressed, restoreIcon, restoreIconOver, restoreIconPressed, systemIcon, systemIconOver, systemIconPressed, undockIcon, undockIconOver, undockIconPressed
 
Constructor Summary
WindowsTitleBarUI()
           
 
Method Summary
protected  javax.swing.JLabel createGlueLabel(TitleBar tb)
           
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Returns an instance of the UI delegate for the specified component.
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
          Paints the specified component appropriate for the look and feel.
 
Methods inherited from class com.imagero.gui.flowin.plaf.BasicTitleBarUI
getPreferredSize
 
Methods inherited from class com.imagero.gui.flowin.plaf.TitleBarUI
createButton, createIcons, createSystemButton, createUI, getCloseIcon, getClosePressedIcon, getCloseRolloverIcon, getDockIcon, getDockPressedIcon, getDockRolloverIcon, getMaxIcon, getMaxPressedIcon, getMaxRolloverIcon, getMinIcon, getMinPressedIcon, getMinRolloverIcon, getPaletteCloseIcon, getPressedSystemIcon, getRestoreIcon, getRestorePressedIcon, getRestoreRolloverIcon, getSystemIcon, getUndockIcon, getUndockPressedIcon, getUndockRolloverIcon, installDefaults, installUI, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsTitleBarUI

public WindowsTitleBarUI()
Method Detail

createGlueLabel

protected javax.swing.JLabel createGlueLabel(TitleBar tb)
Overrides:
createGlueLabel in class TitleBarUI

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Description copied from class: javax.swing.plaf.ComponentUI
Returns an instance of the UI delegate for the specified component. Each subclass must provide its own static createUI method that returns an instance of that UI delegate subclass. If the UI delegate subclass is stateless, it may return an instance that is shared by multiple components. If the UI delegate is stateful, then it should return a new instance per component. The default implementation of this method throws an error, as it should never be invoked.


paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
Description copied from class: javax.swing.plaf.ComponentUI
Paints the specified component appropriate for the look and feel. This method is invoked from the ComponentUI.update method when the specified component is being painted. Subclasses should override this method and use the specified Graphics object to render the content of the component.

Parameters:
g - the Graphics context in which to paint
c - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)