|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.wpi.cs.cs509.clipboard.Item
A Typed Information on the clipboard.
| Field Summary | |
protected java.lang.Object |
obj
The instance of this Item. |
protected IDataType |
type
The type of this Item. |
| Constructor Summary | |
Item(DataType type,
java.lang.Object obj)
Construct an Item for this type and object. |
|
Item(Item i)
Duplicates the given item. |
|
| Method Summary | |
java.lang.Object |
getObject()
Return object associated with this Item |
IDataType |
getType()
Return type associated with this Item |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected IDataType type
protected java.lang.Object obj
| Constructor Detail |
public Item(DataType type,
java.lang.Object obj)
type - edu.wpi.cs.cs509.graph.clipboard.DataType
java.lang.Exception - if type or obj is null.public Item(Item i)
i - edu.wpi.cs.cs509.graph.clipboard.Item| Method Detail |
public java.lang.Object getObject()
getObject in interface IItempublic IDataType getType()
getType in interface IItem
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||