oracle.panama.messaging.common.mms
Class MMSRegion
java.lang.Object
|
+--oracle.panama.messaging.common.mms.MMSRegion
- public class MMSRegion
- extends java.lang.Object
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 |
POSITIONING_RELATIVE
public static final int POSITIONING_RELATIVE
-
- See Also:
- Constant Field Values
POSITIONING_ABSOLUTE
public static final int POSITIONING_ABSOLUTE
-
- See Also:
- Constant Field Values
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.
getLeft
public java.lang.String getLeft()
getTop
public java.lang.String getTop()
getWidth
public java.lang.String getWidth()
getHeight
public java.lang.String getHeight()
getZIndex
public java.lang.String getZIndex()
files
public java.util.Vector files()
getFit
public java.lang.String getFit()
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.
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.
removeFile
public boolean removeFile(java.lang.String fullPathName)
- Remove a formerly added file from the region.
main
public static void main(java.lang.String[] args)
Copyright © 2003 Oracle Corporation. All Rights Reserved.