|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.cell.renderers.JCScaledImageCellRenderer
The JCScaledImageCellRenderer
class defines a
JCCellRenderer
object that paints Image
objects in a table cell.
Field Summary |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
JCScaledImageCellRenderer()
|
Method Summary | |
void |
draw(Graphics gc,
com.klg.jclass.cell.JCCellInfo cellInfo,
Object o,
boolean selected)
Draws the image. |
Point |
getAlignmentOffset(com.klg.jclass.cell.JCCellInfo cellInfo,
Object o)
Computes the alignment offset. |
Dimension |
getPreferredSize(Graphics gc,
com.klg.jclass.cell.JCCellInfo info,
Object o)
Returns the size of the cell required to display the image. |
boolean |
imageUpdate(Image img,
int flags,
int x,
int y,
int width,
int height)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCScaledImageCellRenderer()
Method Detail |
public void draw(Graphics gc, com.klg.jclass.cell.JCCellInfo cellInfo, Object o, boolean selected)
draw
in interface JCLightCellRenderer
cellInfo
- gc
- o
- selected
- public Point getAlignmentOffset(com.klg.jclass.cell.JCCellInfo cellInfo, Object o)
cellInfo
- o
-
public Dimension getPreferredSize(Graphics gc, com.klg.jclass.cell.JCCellInfo info, Object o)
getPreferredSize
in interface JCLightCellRenderer
gc
- info
- o
-
public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height)
imageUpdate
in interface ImageObserver
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |