|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--xinca.data.Slide
A vector of strokes.
Copyright (c) 2002 ICMC-USP.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
Constructor Summary | |
Slide()
Constructor |
|
Slide(java.awt.Image img)
Constructor |
|
Slide(int slideID)
Constructor |
|
Slide(int slideID,
java.awt.Image img)
Constructor |
|
Slide(int slideID,
long creation_time)
Constructor |
|
Slide(int slideID,
long creation_time,
java.awt.Image img)
Constructor |
Method Summary | |
void |
addElement(java.lang.Object object)
Adds an object |
long |
getCreationTime()
Gets the creation time of the Slide |
long |
getDeletionTime()
Gets the deletion time of the Slide |
java.awt.Image |
getImage()
Gets the deletion time of the Slide |
int |
getSlideID()
Gets the ID of the Slide |
boolean |
hasBackground()
Indicates the existence of background image |
boolean |
removeElement(java.lang.Object object)
Removes an object |
void |
setCreationTime(long creation_time)
Sets the creation time of the Slide |
void |
setDeletionTime(long deletion_time)
Sets the deletion time of the Slide |
void |
setImage(java.awt.Image img)
Sets the background image of the Slide |
void |
setSlideID(int slideID)
Sets the Slide's ID |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Constructor Detail |
public Slide()
public Slide(int slideID)
slideID
- is the new slide's IDpublic Slide(java.awt.Image img)
img
- is the new slide's background imagepublic Slide(int slideID, java.awt.Image img)
slideID
- is the new slide's IDimg
- is the new slide's background imagepublic Slide(int slideID, long creation_time)
slideID
- is the new slide's IDcreation_time
- is time the Slide was createdpublic Slide(int slideID, long creation_time, java.awt.Image img)
slideID
- is the new slide's IDcreation_time
- is time the Slide was createdimg
- is the new slide's background imageMethod Detail |
public void addElement(java.lang.Object object)
addElement
in class java.util.Vector
object
- is the Object to add (it must be an instance of Stroke)public boolean removeElement(java.lang.Object object)
removeElement
in class java.util.Vector
object
- is the Object to remove
true
if successful, and false
otherwisepublic int getSlideID()
public long getCreationTime()
public long getDeletionTime()
public java.awt.Image getImage()
public void setSlideID(int slideID)
slideID
- is the slide's new IDpublic void setCreationTime(long creation_time)
creation_time
- is the time the Slide was createdpublic void setDeletionTime(long deletion_time)
deletion_time
- is the time the Slide was deletedpublic void setImage(java.awt.Image img)
img
- is the background imagepublic boolean hasBackground()
true
if the slide has an image, and false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |