Package de.mid.innovator.m2msdk.ui
Class LookNFeel
java.lang.Object
de.mid.innovator.m2msdk.ui.LookNFeel
Class managing look and feel of user interface.
- Version:
- 10.1.1
- Author:
- jmback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFont()intgetFontSize(Font iFont, String sValue) Get length in pixel of a string in the given font.intGet number of lines for a string in given font with given width.voidvoidreset()void
-
Constructor Details
-
LookNFeel
- Throws:
M2MException
-
-
Method Details
-
reset
public void reset() -
initialize
public void initialize() -
getTitleFont
-
getFont
-
getCellFont
-
getPopupFont
-
getFontSize
Get length in pixel of a string in the given font.- Parameters:
iFont- used font for displaysValue- string to display- Returns:
- length in pixel
-
getLines
Get number of lines for a string in given font with given width.- Parameters:
iFont- fontsValue- StringiWidth- Width of display- Returns:
- number of lines
-
setFont
-
getSelectionForeground
-
getSelectionBackground
-
getForeground
-
getBackground
-
getInactiveForeground
-
getInactiveBackground
-
getHighlight
-
getKeyword
-
getConstant
-