public class Imprint
extends java.lang.Object
修飾子とタイプ | フィールドと説明 |
---|---|
static int |
CIRCULAR
丸型の印影を表します。
|
static int |
OPAQUE
印影の背景が不透明であることを表します。
|
static int |
RECTANGULAR
角形の印影を表します。
|
static int |
TRANSLUCENT_FOREGROUND
印影の背景が透明で印影は半透明であることを表します。
|
static int |
TRANSPARENT
印影の背景が透明であることを表します。
|
コンストラクタと説明 |
---|
Imprint()
Imprint オブジェクトを生成し、デフォルトの値で初期化します。
|
Imprint(int shape,
int background,
TimeFaceFormat timeFaceFormat,
boolean linkableAttached)
Imprint オブジェクトを生成し、指定した値で初期化します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getBackground()
印影の背景を返します。
|
int |
getShape()
印影の形状を返します。
|
TimeFaceFormat |
getTimeFaceFormat()
印影内に表示される時刻文字列の形式を返します。
|
boolean |
isLinkableAttached()
印影にリンカブルを付加するかどうかを返します。
|
public static final int CIRCULAR
public static final int RECTANGULAR
public static final int OPAQUE
![]() | → | ![]() |
public static final int TRANSPARENT
![]() | → | ![]() |
public static final int TRANSLUCENT_FOREGROUND
![]() | → | ![]() |
public Imprint()
このコンストラクタを使用して作成した Imprint オブジェクトは次の値で初期化されます。
shape (印影の形状): | CIRCULAR (丸型) | ||
background (印影の背景): | OPAQUE (不透明) | ||
timeFaceFormat (時刻文字列の形式): | TimeFaceFormat オブジェクト | date (日付番号): | 1 (%Y/%m/%d ) |
time (時刻番号): | 1 (%H:%M ) | ||
linkableAttached (リンカブル): | false (無し) |
この Imprint オブジェクトを使用すると次の印影を生成します。
public Imprint(int shape, int background, TimeFaceFormat timeFaceFormat, boolean linkableAttached)
shape
- 印影の形状background
- 印影の背景timeFaceFormat
- 印影内に表示される時刻文字列の形式linkableAttached
- 印影にリンカブルを付加するかどうか。付加する場合は true。付加しない場合は false。java.lang.IllegalArgumentException
- shape が CIRCULAR、または RECTANGULAR のどちらでもない場合java.lang.IllegalArgumentException
- background が OPAQUE、TRANSPARENT、または TRANSLUCENT_FOREGROUND のどれでもない場合java.lang.NullPointerException
- timeFaceFormat が null の場合public int getShape()
public int getBackground()
public TimeFaceFormat getTimeFaceFormat()
public boolean isLinkableAttached()
リンカブルは印影の下に下線付きで表示され、次の URL に関連付けられます。
http://www.e-timing.ne.jp/tsa/index_product_info.html
丸型の印影にリンカブルを付けると次のようになります。
角形の印影にリンカブルを付けると次のようになります。
Copyright(C) 2005-2023 AMANO Corporation. All Rights Reserved.