public class PictureTable
extends java.lang.Object
Constructor and Description |
---|
PictureTable()
default constructor
|
Modifier and Type | Method and Description |
---|---|
Picture |
get(java.lang.Integer picture_id)
get a picture from the table
|
java.util.Enumeration<java.lang.Integer> |
getIdEnumeration()
get an enumeration of the pciture identifiers in the table
|
java.util.Hashtable<java.lang.Integer,Picture> |
getPictures() |
void |
put(java.lang.Integer picture_id,
Picture picture)
add or replace a picture
|
void |
setPictures(java.util.Hashtable<java.lang.Integer,Picture> pictures) |
int |
size()
get the number of pictures in the table
|
public java.util.Hashtable<java.lang.Integer,Picture> getPictures()
public void setPictures(java.util.Hashtable<java.lang.Integer,Picture> pictures)
public Picture get(java.lang.Integer picture_id)
public java.util.Enumeration<java.lang.Integer> getIdEnumeration()
public void put(java.lang.Integer picture_id, Picture picture)
public int size()