public class BandDecoration extends Decoration
Note that the target rectangle is not assessed as part of the equality conditions for this object; it is considered to be an annotation of the icon, completely determined by its existing characteristics.
Constructor and Description |
---|
BandDecoration(javax.swing.Icon icon,
int gx,
int gy,
java.awt.Rectangle targetRect)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
getTargetRectangle()
Returns the target rectangle for this object.
|
equals, getIcon, getPosX, getPosY, hashCode, paintDecoration, toString
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.