|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectmokit.ui.MktFont
public class MktFont
フォントに関連する機能を提供します。
フィールドの概要 | |
---|---|
static int |
FONT_LARGE
ラージサイズフォント(30dot) |
static int |
FONT_MEDIUM
ミディアムサイズフォント(24dot) |
static int |
FONT_SMALL
スモールサイズフォント(16dot) |
static int |
FONT_TINY
タイニーサイズフォント(12dot) |
コンストラクタの概要 | |
---|---|
MktFont()
|
メソッドの概要 | |
---|---|
static int[] |
getFontSize(java.lang.String str)
指定した文字列の幅と高さを取得します。 |
static int |
getFontType()
現在アクティブなフォントタイプを取得します。 |
static void |
setFont(int fontType)
フォントをセットします。 |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static int FONT_TINY
public static int FONT_SMALL
public static int FONT_MEDIUM
public static int FONT_LARGE
コンストラクタの詳細 |
---|
public MktFont()
メソッドの詳細 |
---|
public static void setFont(int fontType)
fontType
- フォントタイプ(フォントサイズをdotで指定)public static int[] getFontSize(java.lang.String str)
str
- 対象文字列
public static int getFontType()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |