Class LookNFeel

java.lang.Object
de.mid.innovator.m2msdk.ui.LookNFeel

public class LookNFeel extends Object
Class managing look and feel of user interface.
Version:
10.1.1
Author:
jmback
  • Constructor Details

  • Method Details

    • reset

      public void reset()
    • initialize

      public void initialize()
    • getTitleFont

      public Font getTitleFont()
    • getFont

      public Font getFont()
    • getCellFont

      public Font getCellFont()
    • getPopupFont

      public Font getPopupFont()
    • getFontSize

      public int getFontSize(Font iFont, String sValue)
      Get length in pixel of a string in the given font.
      Parameters:
      iFont - used font for display
      sValue - string to display
      Returns:
      length in pixel
    • getLines

      public int getLines(Font iFont, String sValue, int iWidth)
      Get number of lines for a string in given font with given width.
      Parameters:
      iFont - font
      sValue - String
      iWidth - Width of display
      Returns:
      number of lines
    • setFont

      public void setFont(Container cont)
    • getSelectionForeground

      public Color getSelectionForeground()
    • getSelectionBackground

      public Color getSelectionBackground()
    • getForeground

      public Color getForeground()
    • getBackground

      public Color getBackground()
    • getInactiveForeground

      public Color getInactiveForeground()
    • getInactiveBackground

      public Color getInactiveBackground()
    • getHighlight

      public Color getHighlight()
    • getKeyword

      public Color getKeyword()
    • getConstant

      public Color getConstant()