Code example for WebSettings.TextSize

Methods: ordinal

0
    public TextSize getMessageViewContent() {
        return messageViewContent;
    } 
 
    public int getMessageViewContentAsInt() { 
        switch (messageViewContent) {
        case SMALLEST:
            return 1; 
        case SMALLER:
            return 2; 
        default: 
        case NORMAL:
            return 3; 
        case LARGER:
            return 4; 
        case LARGEST:
            return 5; 
        } 
    } 
 
    public void setMessageViewContent(int size) {