com.sapportals.portal.navigation
Class NavigationNodes
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
com.sapportals.portal.navigation.NavigationNodes
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable, Collection, List, RandomAccess
public class NavigationNodes
- extends ArrayList
The class that implements an array list implementation for maintaining
navigation node instances. Ensures that each element in the array is a
navigation node.
- See Also:
- Serialized Form
|
Method Summary |
boolean |
add(INavigationNode node)
Adds a navigation node. |
void |
add(int index,
Object element)
Adds a navigation node to the specified location. |
boolean |
add(Object element)
Adds a navigation node. |
List |
getNamesList()
Gets a list of navigation node names. |
| Methods inherited from class java.util.ArrayList |
addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
NavigationNodes
public NavigationNodes()
add
public boolean add(Object element)
- Adds a navigation node. Overrides the add method to ensure only
INavigationNode elements are added.
- Specified by:
add in interface Collection- Specified by:
add in interface List- Overrides:
add in class ArrayList
- Parameters:
element - a navigation node to add
- Returns:
true if the add operation succeeded,
false if the operation failed
add
public void add(int index,
Object element)
- Adds a navigation node to the specified location. Overrides the add
method to ensure only
INavigationNode elements are added.
- Specified by:
add in interface List- Overrides:
add in class ArrayList
- Parameters:
index - a location to add the navigation nodeelement - a navigation node to add
add
public boolean add(INavigationNode node)
- Adds a navigation node.
- Parameters:
node - a navigation node
- Returns:
true if the add operation succeeded,
false if the operation failed
getNamesList
public List getNamesList()
- Gets a list of navigation node names.
- Returns:
- a list of navigation node names
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/navigation/api
|
api
|
EP-PIN
|
Copyright 2015 SAP AG Complete Copyright Notice