@Deprecated public interface IltChildrenModel
IltDefaultDataSource
Modifier and Type | Method and Description |
---|---|
void |
addChildrenModelListener(IltChildrenModelListener listener)
Deprecated.
Registers a listener for notification once the child model's contents
changes.
|
IltStateHolder |
getChild(int index)
Deprecated.
Returns a child object, given by its index.
|
int |
getChildCount()
Deprecated.
Returns the current number of child objects in the set.
|
Object |
getChildRelation(int index)
Deprecated.
Returns an object describing additional properties of the relation
between the container and a particular subordinate object.
|
int |
getIndexOfChild(IltStateHolder childObject)
Deprecated.
Returns the index of a given child object.
|
Enumeration |
getOutsideLinks()
Deprecated.
Returns an enumeration of the links connecting an object inside the
container with an object outside the container.
|
void |
removeChildrenModelListener(IltChildrenModelListener listener)
Deprecated.
Deregisters a listener.
|
int getChildCount()
IltStateHolder getChild(int index)
index
- an integer >= 0, less than getChildCount()
Object getChildRelation(int index)
This method can return null
; this is equivalent to an object
without any properties.
index
- an integer >= 0, less than getChildCount()
IltChildInitializer
,
IlpShelfItemPosition
int getIndexOfChild(IltStateHolder childObject)
Enumeration getOutsideLinks()
This function provides the ability to display links ending at an object inside the container as if it were ending at the container itself, when the container is not expanded.
There are three ways to implement this function:
IltAbstractLink
void addChildrenModelListener(IltChildrenModelListener listener)
Note that implementations of this interface which provide static child models (i.e. those which cannot add or remove child objects) can ignore the listeners.
void removeChildrenModelListener(IltChildrenModelListener listener)
listener
- a listener that has previously been registered© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.