Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.common.ems
Class VariablePicture

java.lang.Object
  extended byoracle.panama.messaging.common.ems.EMSService
      extended byoracle.panama.messaging.common.ems.VariablePicture

All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class VariablePicture
extends EMSService

EMS service: variable picture.

See Also:
EMSService, Serialized Form

Constructor Summary
VariablePicture()

Method Summary
byte[] getBytes()
Gets the header part of variable picture service.
byte[] getData()
Gets the data part of variable picture service.
void setHeight(byte height)
Sets the height of the picture
void setPicture(byte[] pixels)
Sets the picture data.
void setWidth(byte width)
Sets width of the picture
int size()
Gets the size of the Variable picture service.

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

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

Constructor Detail

VariablePicture

public VariablePicture()

Method Detail

getBytes

public byte[] getBytes()
Gets the header part of variable picture service.
Overrides:
getBytes in class EMSService
Returns:
header part of the service as byte array.

getData

public byte[] getData()
Gets the data part of variable picture service.
Overrides:
getData in class EMSService
Returns:
data part of the service as byte array.

setHeight

public void setHeight(byte height)
Sets the height of the picture
Parameters:
height - of the picture.

setPicture

public void setPicture(byte[] pixels)
Sets the picture data.
Parameters:
pixels - representing the picture data.

setWidth

public void setWidth(byte width)
Sets width of the picture
Parameters:
width - of the picture.

size

public int size()
Gets the size of the Variable picture service.
Overrides:
size in class EMSService
Returns:

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.