psdi.util

Class MaximoSwingLookAndFeel

  • java.lang.Object
    • javax.swing.LookAndFeel
      • javax.swing.plaf.basic.BasicLookAndFeel
        • javax.swing.plaf.metal.MetalLookAndFeel
          • psdi.util.MaximoSwingLookAndFeel
  • All Implemented Interfaces:
    java.io.Serializable


    public class MaximoSwingLookAndFeel
    extends javax.swing.plaf.metal.MetalLookAndFeel
    The look and feel to use with standalone Maximo Swing-based utilities. This attempts to somewhat approximate the standard Maximo/MXServer application look and feel.

    In your Swing application, the following should be the first commands in main:

    UIManager.setLookAndFeel("psdi.util.MaximoSwingLookAndFeel");
    MetalLookAndFeel.setCurrentTheme(new MaximoSwingTheme());

    See Also:
    MaximoSwingTheme, Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getDescription() 
      java.lang.String getID() 
      java.lang.String getName() 
      javax.swing.border.TitledBorder getTitledBorder(java.lang.String title)
      Maximo method for building a titled border.
      protected void initComponentDefaults(javax.swing.UIDefaults table)
      To specify additional defaults, see this method in MetalLookAndFeel and BasicLookAndFeel for the names of the other parameters.
      protected void initSystemColorDefaults(javax.swing.UIDefaults table) 
      • Methods inherited from class javax.swing.plaf.metal.MetalLookAndFeel

        createDefaultTheme, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getControlTextFont, getCurrentTheme, getDefaults, getDesktopColor, getDisabledIcon, getDisabledSelectedIcon, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getLayoutStyle, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getMenuTextFont, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSubTextFont, getSupportsWindowDecorations, getSystemTextColor, getSystemTextFont, getTextHighlightColor, getUserTextColor, getUserTextFont, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleFont, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground, initClassDefaults, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setCurrentTheme
      • Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel

        createAudioAction, getAudioActionMap, initialize, loadSystemColors, playSound, uninitialize
      • Methods inherited from class javax.swing.LookAndFeel

        getDesktopPropertyValue, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorder
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MaximoSwingLookAndFeel

        public MaximoSwingLookAndFeel()
    • Method Detail

      • getName

        public java.lang.String getName()
        Overrides:
        getName in class javax.swing.plaf.metal.MetalLookAndFeel
      • getID

        public java.lang.String getID()
        Overrides:
        getID in class javax.swing.plaf.metal.MetalLookAndFeel
      • getDescription

        public java.lang.String getDescription()
        Overrides:
        getDescription in class javax.swing.plaf.metal.MetalLookAndFeel
      • getTitledBorder

        public javax.swing.border.TitledBorder getTitledBorder(java.lang.String title)
        Maximo method for building a titled border. The top line is a thick blue line with a title in white letters. Left and right are nothing. Bottom is a thin blue line.
      • initSystemColorDefaults

        protected void initSystemColorDefaults(javax.swing.UIDefaults table)
        Overrides:
        initSystemColorDefaults in class javax.swing.plaf.metal.MetalLookAndFeel
      • initComponentDefaults

        protected void initComponentDefaults(javax.swing.UIDefaults table)
        To specify additional defaults, see this method in MetalLookAndFeel and BasicLookAndFeel for the names of the other parameters.
        Overrides:
        initComponentDefaults in class javax.swing.plaf.metal.MetalLookAndFeel