|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A tiled view is a type of container view that displays tiles, or
repeated sets, of its child views. TiledViews are commonly used to display
tables of data, though there is no specific layout implied by this interface.
Tiled views typically maintain a current tile position, which is used to
implicitly qualify those ContainerView
methods that do not take
tile position infomation. Tiled views that do not support a current position
may handle such invocations as they see fit.
Fields inherited from interface com.iplanet.jato.view.View |
QUALIFIED_VIEW_NAME_SEPARATOR |
Method Summary | |
View |
getChild(java.lang.String name,
int tile)
Returns the named child in the specified tile. |
int |
getMaxDisplayTiles()
Returns the maximum number of tiles this view can contain. |
int |
getNumTiles()
Returns the current number of tiles in this view. |
int |
getTileIndex()
Returns the index of the current tile. |
boolean |
nextTile()
Moves the current tile position to the next available tile. |
void |
resetTileIndex()
Sets the current tile position to the default position (normally, to the first tile). |
void |
setMaxDisplayTiles(int value)
Sets the maximum number of tiles this view can contain. |
void |
setTileIndex(int value)
Sets the index of the current tile. |
Methods inherited from interface com.iplanet.jato.view.ContainerView |
beginChildDisplay, beginDisplay, endChildDisplay, endDisplay, getChild, getChildNames, getChildType, getDefaultModel, getDisplayField, getDisplayFieldValue, getNumChildren, mapRequestParameters, resetChildren, setDisplayFieldValue |
Methods inherited from interface com.iplanet.jato.view.View |
getName, getParent, getQualifiedName, setParent |
Method Detail |
public View getChild(java.lang.String name, int tile) throws ModelControlException
name
- The logical, non-qualified name of the child viewtile
- The tile number from which to retrieve the child view
IllegalArgumentException
if the child or tile parameter
does not contain a legal value.ModelControlException
- Thrown if manipulation of a model fails during this operationpublic int getNumTiles()
getMaxDisplayTiles()
.public int getTileIndex() throws ModelControlException
ModelControlException
- Thrown if manipulation of a model fails during this operationpublic void setTileIndex(int value) throws ModelControlException
value
- The new tile indexModelControlException
- Thrown if manipulation of a model fails during this operationpublic void resetTileIndex() throws ModelControlException
ModelControlException
- Thrown if manipulation of a model fails during this operationpublic int getMaxDisplayTiles()
getNumTiles()
.public void setMaxDisplayTiles(int value)
getNumTiles()
. Not all views support this operation. The
behavior of the view if the current tile position is greater than
the supplied max tile value is implementation dependent.value
- The max number of possible tiles for this viewpublic boolean nextTile() throws ModelControlException
ModelControlException
- Thrown if manipulation of a model fails during this operation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |