public interface VisibleComponent extends CanvasComponent
Modifier and Type | Method and Description |
---|---|
boolean |
isVisible()
Test the visibility flag of this object.
|
void |
paint(java.awt.Graphics2D graphics2D)
Paint this object onto a 2D graphics object.
|
void |
paint(java.awt.Graphics2D graphics2D,
java.awt.geom.Rectangle2D region)
Paint this object onto a 2D graphics object, within the given
region.
|
void |
setVisible(boolean flag)
Set the visibility flag of this object.
|
getParent, getTransformContext, repaint, repaint
boolean isVisible()
void paint(java.awt.Graphics2D graphics2D)
graphics2D
- The 2D graphics object that this object
it to be painted upon.void paint(java.awt.Graphics2D graphics2D, java.awt.geom.Rectangle2D region)
graphics2D
- The 2D graphics object that this object
it to be painted upon.region
- The region.void setVisible(boolean flag)
flag
- True if this object is to be visible.