|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hdcookbook.grin.mosaic.MosaicPart
public class MosaicPart
A part of a mosaic. When a small image is put into a mosaic, it is represented as a part. A part knows the name of the original image, its placement on the mosaic, and the mosaic it's placed in.
Constructor Summary | |
---|---|
MosaicPart(ManagedImage image,
Mosaic mosaic,
int maxWidth,
int maxHeight)
|
Method Summary | |
---|---|
ManagedImage |
getImage()
|
Mosaic |
getMosaic()
Get the mosaic we're contained within. |
java.lang.String |
getName()
Get the name of the original image for this part |
java.awt.Rectangle |
getPlacement()
Get the area where the original image was placed within the mosaic. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MosaicPart(ManagedImage image, Mosaic mosaic, int maxWidth, int maxHeight)
Method Detail |
---|
public java.lang.String getName()
public java.awt.Rectangle getPlacement()
public ManagedImage getImage()
public Mosaic getMosaic()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |