public interface P2DBackgroundInterface extends FwkInterface
Modifier and Type | Method and Description |
---|---|
FwkAppearanceInterface |
getAppearance()
Get the appearance of the background.
|
P2DBoundingBoxInterface |
getBoundingBox()
Retrieve the bounding box the component.
|
java.awt.Color |
getColor()
Gets this graphics context's current color to the specified color.
|
float |
getTransparency()
Get the transparency of the current color (range 0 .. 1.0).
|
boolean |
getVisible()
Retrieves the visibility of the background.
|
boolean |
isVisible()
Returns a boolean whether the object is visible.
|
void |
paint(java.awt.Graphics2D g)
Paint the background.
|
void |
setAppearance(FwkAppearanceInterface ap)
Set the appearance of the background.
|
void |
setBoundingBox(P2DBoundingBoxInterface bb)
Set the the bounding box of the component.
|
void |
setColor(java.awt.Color c)
Sets this graphics context's current color to the specified color.
|
void |
setTransparency(float t)
Set the transparency.
|
void |
setVisible(boolean flag)
Sets the visibility of the background.
|
getVersion, release
void paint(java.awt.Graphics2D g)
g
- The graphics context.FwkAppearanceInterface getAppearance()
void setAppearance(FwkAppearanceInterface ap)
ap
- The appearance of the background.P2DBoundingBoxInterface getBoundingBox()
void setBoundingBox(P2DBoundingBoxInterface bb)
bb
- The new bounding box of the component.boolean isVisible()
void setVisible(boolean flag)
flag
- The flag that indicates the visiblity of the background.boolean getVisible()
void setColor(java.awt.Color c)
c
- the color.Color
java.awt.Color getColor()
Color
void setTransparency(float t)
t
- The transparency.float getTransparency()