Most visited

Recently visited

Added in API level 1
Deprecated since API level 14

WebSettings.TextSize

public static final enum WebSettings.TextSize
extends Enum<WebSettings.TextSize>

java.lang.Object
   ↳ java.lang.Enum<android.webkit.WebSettings.TextSize>
     ↳ android.webkit.WebSettings.TextSize


此枚举在API级别14中已被弃用。
改为使用setTextZoom(int)getTextZoom()

用于指定文本大小的枚举。

Summary

Enum values

WebSettings.TextSize  LARGER

 

WebSettings.TextSize  LARGEST

 

WebSettings.TextSize  NORMAL

 

WebSettings.TextSize  SMALLER

 

WebSettings.TextSize  SMALLEST

 

Public methods

static WebSettings.TextSize valueOf(String name)
static final TextSize[] values()

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

LARGER

Added in API level 1
WebSettings.TextSize LARGER

LARGEST

Added in API level 1
WebSettings.TextSize LARGEST

NORMAL

Added in API level 1
WebSettings.TextSize NORMAL

SMALLER

Added in API level 1
WebSettings.TextSize SMALLER

SMALLEST

Added in API level 1
WebSettings.TextSize SMALLEST

Public methods

valueOf

Added in API level 1
WebSettings.TextSize valueOf (String name)

Parameters
name String
Returns
WebSettings.TextSize

values

Added in API level 1
TextSize[] values ()

Returns
TextSize[]

Hooray!