The parentX, parentY, width and height parameters form a Rectangle in this Raster's coordinate space, indicating the area of pixels to be shared. An error will be thrown if this Rectangle is not contained with the bounds of the current Raster.
The new Raster may additionally be translated to a different coordinate system for the plane than that used by the current Raster. The childMinX and childMinY parameters give the new (x, y) coordinate of the upper-left pixel of the returned Raster; the coordinate (childMinX, childMinY) in the new Raster will map to the same pixel as the coordinate (parentX, parentY) in the current Raster.
The new Raster may be defined to contain only a subset of the bands of the current Raster, possibly reordered, by means of the bandList parameter. If bandList is null, it is taken to include all of the bands of the current Raster in their current order.
To create a new Raster that contains a subregion of the current Raster, but shares its coordinate system and bands, this method should be called with childMinX equal to parentX, childMinY equal to parentY, and bandList equal to null.
@param parentX The X coordinate of the upper-left cornerin this Raster's coordinates
@param parentY The Y coordinate of the upper-left cornerin this Raster's coordinates
@param width Width of the region starting at (parentX, parentY)
@param height Height of the region starting at (parentX, parentY).
@param childMinX The X coordinate of the upper-left cornerof the returned Raster
@param childMinY The Y coordinate of the upper-left cornerof the returned Raster
@param bandList Array of band indices, or null to use all bands
@return a new Raster
.
@exception RasterFormatException if the specified subregion is outsideof the raster bounds.
@throws RasterFormatException if width
orheight
is less than or equal to zero, or computing any of parentX + width
, parentY + height
, childMinX + width
, or childMinY + height
results in integer overflow
The standard HierarchyView implementation will not set the data field on new group nodes (only the title field) and at least an empty string on leaf nodes. Therefore simple HierarchyNode implementations may use a null data field as an indication for a group node (as the BasicHierarchyNode implementation does).
@param sCreateOption One of the strings returned by the methodgetChildCreateOptions() @param sTitle The title of the new child node @return The new child object that has been created @throws NodeAccessException If accessing the node hierarchy fails @see #getChildCreateOptions() @see #insertChild(HierarchyNode,int)The parentX, parentY, width and height parameters form a Rectangle in this Raster's coordinate space, indicating the area of pixels to be shared. An error will be thrown if this Rectangle is not contained with the bounds of the current Raster.
The new Raster may additionally be translated to a different coordinate system for the plane than that used by the current Raster. The childMinX and childMinY parameters give the new (x, y) coordinate of the upper-left pixel of the returned Raster; the coordinate (childMinX, childMinY) in the new Raster will map to the same pixel as the coordinate (parentX, parentY) in the current Raster.
The new Raster may be defined to contain only a subset of the bands of the current Raster, possibly reordered, by means of the bandList parameter. If bandList is null, it is taken to include all of the bands of the current Raster in their current order.
To create a new Raster that contains a subregion of the current Raster, but shares its coordinate system and bands, this method should be called with childMinX equal to parentX, childMinY equal to parentY, and bandList equal to null.
@param parentX The X coordinate of the upper-left corner in this Raster's coordinates
@param parentY The Y coordinate of the upper-left corner in this Raster's coordinates
@param width Width of the region starting at (parentX, parentY)
@param height Height of the region starting at (parentX, parentY).
@param childMinX The X coordinate of the upper-left corner of the returned Raster
@param childMinY The Y coordinate of the upper-left corner of the returned Raster
@param bandList Array of band indices, or null to use all bands
@return a new Raster
.
@exception RasterFormatException if the specified subregion is outsideof the raster bounds.
@throws RasterFormatException if width
orheight
is less than or equal to zero, or computing any of parentX + width
, parentY + height
, childMinX + width
, or childMinY + height
results in integer overflow
The getChild
and getChildren
methods are used to retrieve children of a given type.
Persistor
with the given name, as a child of this Persistor
.
@return the created child Persistor
.
@throws IllegalArgumentException if name
is null
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|