|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.opnav.ItemIdentifier
A data entity which represents an item in a list of system objects.
An ItemIdentifier
uniquely identifies an item in a list
relative to its parent container.
ListManager
,
ActionsManager
,
PropertiesManager
,
DropTargetManager
Constructor Summary | |
ItemIdentifier()
Constructs an item identifier. |
|
ItemIdentifier(int index)
Constructs an item identifier having the specified index. |
Method Summary | |
java.lang.Object |
getContextInfo()
THIS METHOD IS CURRENTLY NOT SUPPORTED Retrieve an object that was stored into the context of this ItemIdentifier. |
int |
getIndex()
Returns the item index. |
java.lang.String |
getName()
Returns the item name. |
java.lang.Object |
getOpNavItem()
Retrieve an OpNavItem object that was stored into this ItemIdentifier. |
java.lang.String |
getType()
Returns the item type. |
void |
setContextInfo(java.lang.Object info)
THIS METHOD IS CURRENTLY NOT SUPPORTED Save a user defined object into the context of this ItemIdentifier. |
void |
setIndex(int index)
Sets the item index. |
void |
setName(java.lang.String name)
Sets the item name. |
void |
setType(java.lang.String type)
Sets the item type. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ItemIdentifier()
public ItemIdentifier(int index)
index
- the zero-based index of the object in a list of system objects.Method Detail |
public java.lang.String getName()
setName(java.lang.String)
public void setName(java.lang.String name)
name
- the name of the list object in a form suitable for displaying to the user.getName()
public java.lang.String getType()
setType(java.lang.String)
public void setType(java.lang.String type)
name
- the unique type string defined for objects of this type.getType()
public int getIndex()
setIndex(int)
public void setIndex(int index)
index
- the zero-based index of the object in a list of system objects.getIndex()
public void setContextInfo(java.lang.Object info)
info
- A user defined object that will be saved into the context of this itemIdentifiergetContextInfo
public java.lang.Object getContextInfo()
setContextInfo
public java.lang.Object getOpNavItem()
setOpNavItem
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |