com.imagero.gui.flowin.plaf
Class MotifTitleBarUI

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.MotifTitleBarUI

public class MotifTitleBarUI
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
MotifTitleBarUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Returns an instance of the UI delegate for the specified component.
 java.awt.Color getBaseColor(TitleBar tb)
           
 javax.swing.Icon getPressedSystemIcon(TitleBar tb)
           
 javax.swing.Icon getSystemIcon(TitleBar tb)
           
 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, createGlueLabel, createIcons, createSystemButton, createUI, getCloseIcon, getClosePressedIcon, getCloseRolloverIcon, getDockIcon, getDockPressedIcon, getDockRolloverIcon, getMaxIcon, getMaxPressedIcon, getMaxRolloverIcon, getMinIcon, getMinPressedIcon, getMinRolloverIcon, getPaletteCloseIcon, getRestoreIcon, getRestorePressedIcon, getRestoreRolloverIcon, 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

MotifTitleBarUI

public MotifTitleBarUI()
Method Detail

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.


getBaseColor

public java.awt.Color getBaseColor(TitleBar tb)

getPressedSystemIcon

public javax.swing.Icon getPressedSystemIcon(TitleBar tb)
Overrides:
getPressedSystemIcon in class TitleBarUI

getSystemIcon

public javax.swing.Icon getSystemIcon(TitleBar tb)
Overrides:
getSystemIcon in class TitleBarUI

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)