|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.painter.BulletPainter
public class BulletPainter
A painter object than paints a bullet icon for the bullet list. It's used internally to implement the ReportSheet.addBullet() method. Since the addBullet() applies special logic to the bullet by adding a hanging indent to the bullet, it should be used under most circumstances.
| Constructor Summary | |
|---|---|
BulletPainter()
Create a default bullet painter. |
|
BulletPainter(Image icon)
Create a bullet painter with specified icon. |
|
| Method Summary | |
|---|---|
Dimension |
getPreferredSize()
Return the preferred size of this painter. |
Size |
getSize()
Get the actual size of this bullet. |
boolean |
isScalable()
The bullet should be scaled. |
void |
paint(Graphics g,
int x,
int y,
int w,
int h)
Paint contents at the specified location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BulletPainter()
public BulletPainter(Image icon)
icon - image for bullet.| Method Detail |
|---|
public Dimension getPreferredSize()
getPreferredSize in interface Painterpublic Size getSize()
getSize in interface ScaledPainterpublic boolean isScalable()
isScalable in interface Painter
public void paint(Graphics g,
int x,
int y,
int w,
int h)
paint in interface Painterg - graphical context.x - x coordinate of the left edge of the paint area.y - y coordinate of the upper edge of the paint area.w - area width.h - area height.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||