|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
com.imagero.gui.flowin.plaf.TitleBarUI
com.imagero.gui.flowin.plaf.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 | |
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 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 |
public BasicTitleBarUI()
| Method Detail |
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
javax.swing.plaf.ComponentUIcreateUI
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.
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
javax.swing.plaf.ComponentUInull 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.
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 componentsJComponent.getPreferredSize(),
LayoutManager.preferredLayoutSize(java.awt.Container)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||