|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.dbarnes.sgme.Item
public abstract class Item
Base class for the major components of a Map.
| Constructor Summary | |
|---|---|
Item()
|
|
| Method Summary | |
|---|---|
void |
clearAttributes()
Clears the list of custom attributes. |
java.lang.String |
getAttribute(java.lang.String key)
Returns a custom attribute. |
java.util.Iterator<java.lang.String> |
getAttributeNames()
Returns an iterator containing the names of all the custom attributes. |
int |
getId()
Returns the identifier for this Item. |
abstract java.awt.Image |
getImage()
Returns the image which represents this Item in the graphical user interface. |
java.lang.String |
getName()
Returns the name for this Item. |
void |
setAttribute(java.lang.String key,
java.lang.String value)
Sets a custom attribute. |
void |
setId(int id)
Sets the identifier for this Item. |
void |
setName(java.lang.String name)
Sets the name for this Item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Item()
| Method Detail |
|---|
public abstract java.awt.Image getImage()
public int getId()
public void setId(int id)
public java.lang.String getName()
public void setName(java.lang.String name)
public void clearAttributes()
public void setAttribute(java.lang.String key,
java.lang.String value)
public java.lang.String getAttribute(java.lang.String key)
public java.util.Iterator<java.lang.String> getAttributeNames()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||