public class SwimmingObject extends java.lang.Object
Constructor and Description |
---|
SwimmingObject(java.lang.Object object) |
SwimmingObject(java.lang.Object object,
javax.swing.ImageIcon icon) |
SwimmingObject(java.lang.Object object,
java.lang.String name) |
SwimmingObject(java.lang.Object object,
java.lang.String name,
javax.swing.ImageIcon icon) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreationDate() |
javax.swing.ImageIcon |
getIcon() |
int |
getId() |
java.lang.String |
getName() |
java.lang.Object |
getObject() |
java.lang.String |
getObjectClassName() |
java.lang.String |
getObjectSimpleClassName() |
static java.util.ArrayList<java.lang.String> |
getObjectTypes(java.util.ArrayList<SwimmingObject> objects) |
public SwimmingObject(java.lang.Object object, java.lang.String name, javax.swing.ImageIcon icon)
public SwimmingObject(java.lang.Object object, java.lang.String name)
public SwimmingObject(java.lang.Object object, javax.swing.ImageIcon icon)
public SwimmingObject(java.lang.Object object)
public static java.util.ArrayList<java.lang.String> getObjectTypes(java.util.ArrayList<SwimmingObject> objects)
public java.lang.Object getObject()
public java.lang.String getName()
public java.lang.String getObjectClassName()
public java.lang.String getObjectSimpleClassName()
public javax.swing.ImageIcon getIcon()
public java.util.Date getCreationDate()
public int getId()