com.imagero.gui.flowin.plaf
Class BasicTitleBarUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended bycom.imagero.gui.flowin.plaf.TitleBarUI
          extended bycom.imagero.gui.flowin.plaf.BasicTitleBarUI
Direct Known Subclasses:
MetalTitleBarUI, MotifTitleBarUI, WindowsTitleBarUI

public class BasicTitleBarUI
extends TitleBarUI


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
BasicTitleBarUI()
           
 
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.Dimension getPreferredSize(javax.swing.JComponent c)
          Returns the specified component's preferred size appropriate for the look and feel.
 
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, getPressedSystemIcon, getRestoreIcon, getRestorePressedIcon, getRestoreRolloverIcon, getSystemIcon, getUndockIcon, getUndockPressedIcon, getUndockRolloverIcon, installDefaults, installUI, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicTitleBarUI

public BasicTitleBarUI()
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.


getPreferredSize

public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
Description copied from class: javax.swing.plaf.ComponentUI
Returns the specified component's preferred size appropriate for the look and feel. If null is returned, the preferred size will be calculated by the component's layout manager instead (this is the preferred approach for any component with a specific layout manager installed). The default implementation of this method returns null.

Parameters:
c - the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
JComponent.getPreferredSize(), LayoutManager.preferredLayoutSize(java.awt.Container)