public class PictureCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Picture | get(int index) | |
Gets the |
Method Summary | ||
---|---|---|
int | add(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn, java.io.InputStream stream) | |
Adds a picture to the collection.
|
||
int | add(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn, java.lang.String fileName) | |
Adds a picture to the collection.
|
||
int | add(int upperLeftRow, int upperLeftColumn, java.io.InputStream stream) | |
Adds a picture to the collection.
|
||
int | add(int upperLeftRow, int upperLeftColumn, java.io.InputStream stream, int widthScale, int heightScale) | |
Adds a picture to the collection.
|
||
int | add(int upperLeftRow, int upperLeftColumn, java.lang.String fileName) | |
Adds a picture to the collection.
|
||
int | add(int upperLeftRow, int upperLeftColumn, java.lang.String fileName, int widthScale, int heightScale) | |
Adds a picture to the collection.
|
||
int | add(java.lang.Object value) | |
Reserved for internal use. |
||
void | clear() | |
Clear all pictures.
|
||
boolean | contains(java.lang.Object value) | |
Reserved for internal use. |
||
int | indexOf(java.lang.Object value) | |
Reserved for internal use. |
||
java.util.Iterator | iterator() | |
void | removeAt(int index) | |
Remove shapes at the specific index
|
public int getCount()
public Picture get(int index)
index
- The zero based index of the element.public int add(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn, java.io.InputStream stream)
upperLeftRow
- Upper left row index.upperLeftColumn
- Upper left column index.lowerRightRow
- Lower right row indexlowerRightColumn
- Lower right column indexstream
- Stream object which contains the image data.public int add(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn, java.lang.String fileName) throws java.lang.Exception
upperLeftRow
- Upper left row index.upperLeftColumn
- Upper left column index.lowerRightRow
- Lower right row indexlowerRightColumn
- Lower right column indexfileName
- Image filename.public int add(int upperLeftRow, int upperLeftColumn, java.io.InputStream stream)
upperLeftRow
- Upper left row index.upperLeftColumn
- Upper left column index.stream
- Stream object which contains the image data.public int add(int upperLeftRow, int upperLeftColumn, java.lang.String fileName) throws java.lang.Exception
upperLeftRow
- Upper left row index.upperLeftColumn
- Upper left column index.fileName
- Image filename.public int add(int upperLeftRow, int upperLeftColumn, java.io.InputStream stream, int widthScale, int heightScale)
upperLeftRow
- Upper left row index.upperLeftColumn
- Upper left column index.stream
- Stream object which contains the image data.widthScale
- Scale of image width, a percentage.heightScale
- Scale of image height, a percentage.public int add(int upperLeftRow, int upperLeftColumn, java.lang.String fileName, int widthScale, int heightScale) throws java.lang.Exception
upperLeftRow
- Upper left row index.upperLeftColumn
- Upper left column index.fileName
- Image filename.widthScale
- Scale of image width, a percentage.heightScale
- Scale of image height, a percentage.public void clear()
public void removeAt(int index)
public java.util.Iterator iterator()
public boolean contains(java.lang.Object value)
public int add(java.lang.Object value)
public int indexOf(java.lang.Object value)