Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.common.ems
Class TextFormating

java.lang.Object
  |
  +--oracle.panama.messaging.common.ems.EMSService
        |
        +--oracle.panama.messaging.common.ems.TextFormating
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class TextFormating
extends EMSService

EMS service: text formating.

Author:
jxiang
See Also:
EMSService, Serialized Form

Field Summary
static byte ALIGNMENT_CENTER
           
static byte ALIGNMENT_LANGUAGE_DEPENDENT
           
static byte ALIGNMENT_LEFT
           
static byte ALIGNMENT_RIGHT
           
static byte FONT_LARGE
           
static byte FONT_NORMAL
           
static byte FONT_SMALL
           
static byte STYLE_BOLD
           
static byte STYLE_ITALIC
           
static byte STYLE_STRIKETHROUGH
           
static byte STYLE_UNDERLINED
           

 

Constructor Summary
TextFormating()
           

 

Method Summary
 byte[] getBytes()
           
 int getLength()
           
 void setFormat(byte format)
           
 void setLength(int len)
           
 int size()
           

 

Methods inherited from class oracle.panama.messaging.common.ems.EMSService
compareTo, getData, getPosition, setPosition

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

ALIGNMENT_LEFT

public static final byte ALIGNMENT_LEFT
See Also:
Constant Field Values

ALIGNMENT_CENTER

public static final byte ALIGNMENT_CENTER
See Also:
Constant Field Values

ALIGNMENT_RIGHT

public static final byte ALIGNMENT_RIGHT
See Also:
Constant Field Values

ALIGNMENT_LANGUAGE_DEPENDENT

public static final byte ALIGNMENT_LANGUAGE_DEPENDENT
See Also:
Constant Field Values

FONT_NORMAL

public static final byte FONT_NORMAL
See Also:
Constant Field Values

FONT_LARGE

public static final byte FONT_LARGE
See Also:
Constant Field Values

FONT_SMALL

public static final byte FONT_SMALL
See Also:
Constant Field Values

STYLE_BOLD

public static final byte STYLE_BOLD
See Also:
Constant Field Values

STYLE_ITALIC

public static final byte STYLE_ITALIC
See Also:
Constant Field Values

STYLE_UNDERLINED

public static final byte STYLE_UNDERLINED
See Also:
Constant Field Values

STYLE_STRIKETHROUGH

public static final byte STYLE_STRIKETHROUGH
See Also:
Constant Field Values
Constructor Detail

TextFormating

public TextFormating()
Method Detail

setLength

public void setLength(int len)
Overrides:
setLength in class EMSService

setFormat

public void setFormat(byte format)

size

public int size()
Overrides:
size in class EMSService

getLength

public int getLength()
Overrides:
getLength in class EMSService

getBytes

public byte[] getBytes()
Overrides:
getBytes in class EMSService

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.