java.lang.Object
javax.swing.plaf.ComponentUI
com.imagero.gui.flowin.plaf.TitleBarUI
- Direct Known Subclasses:
- BasicTitleBarUI
- public class TitleBarUI
- extends javax.swing.plaf.ComponentUI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
private static TitleBarUI instance
maxIcon
protected javax.swing.Icon maxIcon
minIcon
protected javax.swing.Icon minIcon
restoreIcon
protected javax.swing.Icon restoreIcon
closeIcon
protected javax.swing.Icon closeIcon
dockIcon
protected javax.swing.Icon dockIcon
undockIcon
protected javax.swing.Icon undockIcon
paletteCloseIcon
protected javax.swing.Icon paletteCloseIcon
systemIcon
protected javax.swing.Icon systemIcon
maxIconOver
protected javax.swing.Icon maxIconOver
minIconOver
protected javax.swing.Icon minIconOver
restoreIconOver
protected javax.swing.Icon restoreIconOver
closeIconOver
protected javax.swing.Icon closeIconOver
dockIconOver
protected javax.swing.Icon dockIconOver
undockIconOver
protected javax.swing.Icon undockIconOver
paletteCloseIconOver
protected javax.swing.Icon paletteCloseIconOver
systemIconOver
protected javax.swing.Icon systemIconOver
maxIconPressed
protected javax.swing.Icon maxIconPressed
minIconPressed
protected javax.swing.Icon minIconPressed
restoreIconPressed
protected javax.swing.Icon restoreIconPressed
closeIconPressed
protected javax.swing.Icon closeIconPressed
dockIconPressed
protected javax.swing.Icon dockIconPressed
undockIconPressed
protected javax.swing.Icon undockIconPressed
paletteCloseIconPressed
protected javax.swing.Icon paletteCloseIconPressed
systemIconPressed
protected javax.swing.Icon systemIconPressed
TitleBarUI
public TitleBarUI()
createUI
public static TitleBarUI createUI()
installUI
public void installUI(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.ComponentUI
- Sets up the specified component so it conforms the the design
guidelines of the implemented look and feel. When the look and
feel changes, a
ComponentUI delegate is created.
The delegate object then receives an installUI
message.
This method should perform the following tasks:
- Set visual properties such as borders, fonts, colors, or
icons. However, no change should be performed for those
properties whose values have been directly set by the client
application. To allow the distinction, LookAndFeels are expected
to use values that implement the javax.swing.plaf.UIResource marker
interface, such as javax.swing.plaf.BorderUIResource or javax.swing.plaf.ColorUIResource.
- If necessary, install a java.awt.LayoutManager.
- Embed custom sub-components. For instance, the UI delegate
for a javax.swing.JSplitPane might install a special
component for the divider.
- Register event listeners.
- Set up properties related to keyborad navigation, such as
mnemonics or focus traversal policies.
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.ComponentUI
- Puts the specified component into the state it had before
ComponentUI.installUI(javax.swing.JComponent)>
ComponentUI.installUI(javax.swing.JComponent) 55 was called.
installDefaults
protected void installDefaults(com.imagero.gui.flowin.TitleBar tb)
createGlueLabel
protected javax.swing.JLabel createGlueLabel(com.imagero.gui.flowin.TitleBar tb)
createSystemButton
protected javax.swing.AbstractButton createSystemButton(com.imagero.gui.flowin.TitleBar tb,
javax.swing.Icon icon)
createButton
protected javax.swing.AbstractButton createButton(com.imagero.gui.flowin.TitleBar tb,
javax.swing.Icon icon,
javax.swing.Icon overIcon,
javax.swing.Icon pressedIcon,
java.lang.String command)
createIcons
protected void createIcons()
createIcon
private javax.swing.Icon createIcon(com.imagero.res.ResourceReader reader,
com.imagero.res.Resource res,
java.lang.String description)
getMaxIcon
public javax.swing.Icon getMaxIcon()
getMaxRolloverIcon
public javax.swing.Icon getMaxRolloverIcon()
getMaxPressedIcon
public javax.swing.Icon getMaxPressedIcon()
getMinIcon
public javax.swing.Icon getMinIcon()
getMinRolloverIcon
public javax.swing.Icon getMinRolloverIcon()
getMinPressedIcon
public javax.swing.Icon getMinPressedIcon()
getCloseIcon
public javax.swing.Icon getCloseIcon()
getCloseRolloverIcon
public javax.swing.Icon getCloseRolloverIcon()
getClosePressedIcon
public javax.swing.Icon getClosePressedIcon()
getPaletteCloseIcon
public javax.swing.Icon getPaletteCloseIcon()
getSystemIcon
public javax.swing.Icon getSystemIcon(com.imagero.gui.flowin.TitleBar tb)
getPressedSystemIcon
public javax.swing.Icon getPressedSystemIcon(com.imagero.gui.flowin.TitleBar tb)
getRestoreIcon
public javax.swing.Icon getRestoreIcon()
getRestoreRolloverIcon
public javax.swing.Icon getRestoreRolloverIcon()
getRestorePressedIcon
public javax.swing.Icon getRestorePressedIcon()
getDockIcon
public javax.swing.Icon getDockIcon()
getDockRolloverIcon
public javax.swing.Icon getDockRolloverIcon()
getDockPressedIcon
public javax.swing.Icon getDockPressedIcon()
getUndockIcon
public javax.swing.Icon getUndockIcon()
getUndockRolloverIcon
public javax.swing.Icon getUndockRolloverIcon()
getUndockPressedIcon
public javax.swing.Icon getUndockPressedIcon()