public static enum ScrollEvent.HorizontalTextScrollUnits extends Enum<ScrollEvent.HorizontalTextScrollUnits>
列挙型定数と説明 |
---|
CHARACTERS
テキストベースの水平スクロール量はスクロールする文字数です。
|
NONE
テキストベースの水平スクロール・データは使用できません(基礎となるプラットフォームによって提供されません)。
|
修飾子と型 | メソッドと説明 |
---|---|
static ScrollEvent.HorizontalTextScrollUnits |
valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。
|
static ScrollEvent.HorizontalTextScrollUnits[] |
values()
この列挙型の定数を含む配列を、宣言されている順序で返します。
|
public static final ScrollEvent.HorizontalTextScrollUnits NONE
public static final ScrollEvent.HorizontalTextScrollUnits CHARACTERS
public static ScrollEvent.HorizontalTextScrollUnits[] values()
for (ScrollEvent.HorizontalTextScrollUnits c : ScrollEvent.HorizontalTextScrollUnits.values()) System.out.println(c);
public static ScrollEvent.HorizontalTextScrollUnits valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- 指定された名前を持つ定数をこの列挙型が持っていない場合NullPointerException
- 引数がnullの場合Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.