Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.common.mms
Class MMSRegion

java.lang.Object
  extended byoracle.panama.messaging.common.mms.MMSRegion


public class MMSRegion
extends java.lang.Object

Field Summary
static int POSITIONING_ABSOLUTE
static int POSITIONING_RELATIVE

Constructor Summary
MMSRegion(int left, int top, int width, int height, int zIndex, int positioning, java.lang.String fit)
Construct a new MMSRegion object.

Method Summary
void addImage(java.lang.String fullPathName, int duration)
Add an image file into the region.
void addRington(java.lang.String fullPathName, int duration)
Add a rington file into the region.
void addText(java.lang.String fullPathName, int duration)
Add a text file into the region.
java.util.Vector files()
java.lang.String getFit()
java.lang.String getHeight()
java.lang.String getLeft()
java.lang.String getTop()
java.lang.String getWidth()
java.lang.String getZIndex()
static void main(java.lang.String[] args)
boolean removeFile(java.lang.String fullPathName)
Remove a formerly added file from the region.

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

Field Detail

POSITIONING_ABSOLUTE

public static final int POSITIONING_ABSOLUTE
See Also:
Constant Field Values

POSITIONING_RELATIVE

public static final int POSITIONING_RELATIVE
See Also:
Constant Field Values

Constructor Detail

MMSRegion

public MMSRegion(int left,
                 int top,
                 int width,
                 int height,
                 int zIndex,
                 int positioning,
                 java.lang.String fit)
Construct a new MMSRegion object. Positioning could be either absolute or relative. Absolute positioning sets the location of the region based on pixels. The upper left conner is (0,0). Relative positioning sets the location of region based on the percentage of width and height of root layout.

Method Detail

addImage

public void addImage(java.lang.String fullPathName,
                     int duration)
Add an image file into the region.
Parameters:
duration - The duration of the file to be displayed in seconds.

addRington

public void addRington(java.lang.String fullPathName,
                       int duration)
Add a rington file into the region.
Parameters:
duration - The duration of the file to be displayed in seconds.

addText

public void addText(java.lang.String fullPathName,
                    int duration)
Add a text file into the region.
Parameters:
duration - The duration of the file to be displayed in seconds.

files

public java.util.Vector files()

getFit

public java.lang.String getFit()

getHeight

public java.lang.String getHeight()

getLeft

public java.lang.String getLeft()

getTop

public java.lang.String getTop()

getWidth

public java.lang.String getWidth()

getZIndex

public java.lang.String getZIndex()

main

public static void main(java.lang.String[] args)

removeFile

public boolean removeFile(java.lang.String fullPathName)
Remove a formerly added file from the region.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.